Sharad Maheshwari Profile picture
Jan 6 10 tweets 3 min read
How ROS2 is different from ROS1, a thread 🧵
@rosorg @OpenRoboticsOrg
#robotics #ros #ros2
(1/8) DDS Middleware -

ROS1 has its own middleware. ROS2 ditched the middle and now uses Data Distribution Service(DDS), a third-party middleware that is a reliable industry standard. Image
(2/8) No Rosmaster -
Rosmaster is a service facilitating two nodes to find each other (if they wish to communicate).In ROS1, each node needs to know the presence of rosmaster

ROS2 did away with rosmaster, and nodes can find each other directly.
(3/8) Shared codebase for Cpp and Python -
ROS has support for two languages, Cpp and Python and the underlying implementation differs in places.

ROS2 has the same shares C implementation. This common codebase is exposed through ROS Client Libraries APIs in C++ and Python. Image
(4/8) Multiple ROS nodes in a process -
ROS1 does not allow multiple ROS nodes in one process. That changes in ROS2
(5/8) Python build requirement -
Change python files in ROS1 doesn't require you to build the project. ROS2 needs you to build the project again
(6/8) Action Services
Action Services weren't a part of core ROS1 libraries (but actionlib). ROS2 core libraries have action servers
(7/8) Windows support
ROS2 is supported by Windows! Well, I sincerely hope you're using Linux though 😛
(8/8) Changed launch infrastructure
ROS1 primarily uses XML-based launch files. ROS2 has a python launch system supporting ordering constraints
I tweet about my learning, experiments, and experiences in Robotics and Startups.
Cheers!

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Sharad Maheshwari

Sharad Maheshwari Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(