[ros2cli] How can I get launch files?
Can I get a list of all launch files (an equivalent to what ros2 pkg executables
does for all executables)?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Can I get a list of all launch files (an equivalent to what ros2 pkg executables
does for all executables)?
As of the Bouncy release, the closest functionality to what you are looking for is that a list of launch files that are in a specific package will tab-complete once ros2 launch <package_name>
has already been typed. There isn't currently an equivalent to ros2 pkg executables
(the functionality is there but it's currently only used for argument auto-complete), nor is there currently a way to list all packages that have launch files (see this tracking issue).
:+1: to dhood's answer.
One clarification: the functionality is not currently there as the current solution relies on crawling the file system and would not recognize any launchfile not named *.launch.py
hence the issue referenced above to be able to register them explicitly in the index.
I thought there will probably be some list
sub command for ros2 launch
as well. In some cases it is more convenient to have "command based" instead of "interactive" stdout output (e.g. for automation purposes). In case it get's relevant for me I'll checkout the issues again. Thx.
Asked: 2018-07-10 01:09:33 -0500
Seen: 163 times
Last updated: Jul 10 '18
how to organize data transfer between nodes on multiple PCs on ROS2
ROS2 Foxy composable node: Failed to load component due to undefined symbol
simulation with bag play data get different results
ROS vs ROS 2.0 vs ROS industrial
Why image not recieved using ROS2 functions in the node?
Catkin_Make problem with ubuntu 20
rclcpp api changes, removal of rclcpp::executor::Executor
start rviz2 failed in the docker container for jetson agx xavier