Skip to main content

ROS2 For ROS1 Users

  • Chapter
  • First Online:
Robot Operating System (ROS)

Part of the book series: Studies in Computational Intelligence ((SCI,volume 895))

Abstract

This tutorial chapter takes a look at changes and features introduced in ROS2, from the ROS1 user perspective. For this chapter, the Melodic and Dashing ROS distributions are used, as the latest Long-Term-Support (LTS) releases for ROS1 and ROS1 respectively. Starting with how to configure a ROS2 environment and install new packages, ROS1 users should understand that the main rationale behind the newest version of the Robot Operating System stays the same. Continuing with topics, services and actions, terms widely known to ROS1 users, the reader is introduced to the newly added communication protocol in ROS2. The following sections highlight differences in command line tools, source code and compilation procedure, as well as workspace and package structures. The basic procedure on using ROS1 nodes on a ROS2 setup is presented. Additionally, all known simulation and visualisation tools are discussed. Finally, a quick reference chapter summarises some important information in a table, and links to the complementary git repository [6] of this chapter.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 129.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 199.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. R. Planning, MoveIt2 Dashing github repository (2019). https://github.com/ros-planning/moveit2

  2. O. Robotics, ROS2 Dashing installation wiki (2019). https://index.ros.org/doc/ros2/Installation/Dashing/

  3. ROS2. ros1\(\_\)bridge repository (2019). https://github.com/ros2/ros1_bridge

  4. ROS2. rVizGazebo github repository (2019). https://github.com/ros2/rviz

  5. R. Simulation, Gazebo github repository (2019). https://github.com/ros-simulation/gazebo_ros_pkgs

  6. G. Stavrinos, Tutorial Chapter github repository (2019). https://github.com/gstavrinos/ros2-for-ros1-users

  7. D. Thomas, ROS1 Roadmap ROS Discourse (2019). https://discourse.ros.org/t/planning-future-ros-1-distribution-s/6538

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to George Stavrinos .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Stavrinos, G. (2021). ROS2 For ROS1 Users. In: Koubaa, A. (eds) Robot Operating System (ROS). Studies in Computational Intelligence, vol 895. Springer, Cham. https://doi.org/10.1007/978-3-030-45956-7_2

Download citation

Publish with us

Policies and ethics