ROS2 & ROS1 CLI Commands
The following are some common ROS1 and ROS2 CLI commands:
ROS1 | ROS2 | Function |
rosrun | ros2 run | Running a node |
rosnode | ros2 node | Information about node |
rostopic | ros2 topic | Command for ROS topic |
roslaunch | ros2 launch | Command to launch a launch file |
rosservice | ros2 service | Command for ROS servide |
rospack | ros2 pkg | Information about package |