question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

rename 'ros2' command to 'ros'

See original GitHub issue

Feature request

Consider dropping the 2 from ROS command-line executables and rename the ros2 to simply ros for a simpler CLI syntax.

Feature description

The ROS2 command-line tool unnecessarily carries the version number 2. The version number can be dropped as there are no other conflicting ros executables in ROS1.

E.g.: ros2 topic listros topic list ros2 runros run

Implementation considerations

An implementation only needs to consider renaming all references to ros2 scripts. The most amount of work has to be done for updating the documentation about the ROS2 CLI.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
clalancettecommented, Aug 4, 2020

Can you explain more what the perceived benefits of a rename are? To me, this seems like it would result in a lot of work, possible confusion with the ROS 1 command-line tools (which are still supported), and a long period of transition. So there would need to be a really strong benefit to convince me.

0reactions
ivanpaunocommented, Aug 27, 2020

It has been discussed in today’s triage meeting, as previously commente, renaming ros2 command as ros would case confusion in all platforms where ros2 coexists with ros.

In a future release where ros2 is the only ros version in the platform, this decision can be reconsidered.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Remapping Names - ROS 2 Design
Remapping names allows reusing the same node executable in different parts of the system. A robot that has multiple sensors of the same...
Read more >
Passing ROS arguments to nodes via the command-line
Names within a node (e.g. topics/services) can be remapped using the syntax -r <old name>:=<new name> . The name/namespace of the node itself...
Read more >
ROS Topic Remap [Example] - The Robotics Back-End
In this tutorial I'll show you how to remap a ROS topic. Remapping a topic means that you'll change the topic name at...
Read more >
Proper way to rename packages
Hello, I have been joining this program on and off for the past few years. At some point an extra section was added...
Read more >
Can we rename joint_state_controller · Issue #110 - GitHub
renaming , but joint_state_publisher is an existing node, and seeing as we ... Edit: just remembered: gavanderhoorn in Ros_control in ROS2 wishlist.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found