Skip to main content
Share Your Experience: Take the 2024 Developer Survey
5 votes
Accepted

roslaunch not found

Even though you have added source /opt/ros/kinetic/setup.bash to your .bashrc, the fact you get a "command not found" error ...
xperroni's user avatar
  • 1,363
5 votes
Accepted

SetuptoolsDeprecationWarning in ros2 Humble

I'm pretty familiar with this issue, and we're not quite ready to move to the new APIs that the setuptools folks are deprecating the current workflows in favor of. This post has a robust, if somewhat ...
cottsay's user avatar
  • 116
3 votes
Accepted

How to execute a script at shutdown of a launch process

I can reproduce this. I don't have advice about the root cause, but it looks like you can provide a callable to the on_shutdown= argument which might work for your ...
danzimmerman's user avatar
2 votes
Accepted

How to pass parameters to included launch description?

Well I ended up with passing on the launch files as individual launch configs: ...
WouterOddBot's user avatar
2 votes

SetuptoolsDeprecationWarning in ros2 Humble

It is a warning message, which affects Humble. The problem is the newest version of setuptools. Look here for a possible solution. Basically you should downgrade setuptools to 58.2.0. Personally I ...
Wilhelm's user avatar
  • 700
2 votes

roslaunch not found

You may also just try running sudo apt install ros-<your-distribution>-roslaunch I was repeatedly running ...
Bharat Gupta's user avatar
2 votes
Accepted

How to add parameters to a node via a yaml file using a python launch file in ROS2?

So answering my own question, To make the parameters available to the node, they first need to be declared inside the node. Hence, the node should be something like: ...
S07's user avatar
  • 21
2 votes

How to use int or double as input to "arg" in ROS launch file

As there is no C++ code mentioned in the question, I wonder if I understood your requirements correctly. However, I never faced issues with integers or double datatypes with the ROS launch file. Below ...
ravi's user avatar
  • 1,376
2 votes

Gazebo launces empty with ros, Model not loaded

Just needed to add version to sdf tag and it works! <sdf version="1.7">
Mahmud8248's user avatar
2 votes
Accepted

ROS2 Humble: How to pass arguments to python launch files from command-line?

I think the problem is the trailing comma on your launch arg declaration: ...
danzimmerman's user avatar
1 vote
Accepted

can not mirror the nav2_bringup package

Pull your config file from the humble branch, not the main branch (which targets Rolling). Your issue is API updates made to more recent distributions are not in Humble. Mirror from the humble branch ...
Steve Macenski's user avatar
1 vote
Accepted

rosparam param="source_list"

This xml tag has nothing to do with ros publish/subscribe. ros1 provides a simple key/value property database called the "parameter server". For this tag, ...
Mike973's user avatar
  • 946
1 vote

Start gazebo headless mode based on launch config argument

Track down headless in Nav2 for an example of how it works. It's worth reading the Launch architecture readme file to get some context about how to work with ...
Steve Macenski's user avatar
1 vote
Accepted

Controlling Arduino device from ROS node

You can use rosserial for sending commands over the Serial port to your Arduino. |0000|0000|0000|0000|0000| as |ID|Motor_1|Motor_2|Motor_3|Motor_4| This is called a dataframe. If you do end up using ...
ssarkar's user avatar
  • 586
1 vote

robot does not spawn in ros2

The robot_state_publisher node is missing in the launch file. The spawn_entity.py node is waiting for a ...
Gaurav Gupta's user avatar
1 vote
Accepted

Multiple ROS 2 Composable Nodes in a single launch file

Welcome to Robotics Stack Exchange! Is it possible to launch multiple ros2 Composable Nodes in a single launch file so that they run in parallel? Yes, there seem to be the following two ways: ...
ravi's user avatar
  • 1,376
1 vote
Accepted

ROS2: Including xml launch files in a python launch file

In order to include a python launch file, you need to use the following import statement: ...
ravi's user avatar
  • 1,376
1 vote

ROS2 Launch - How to Concatenate LaunchConfiguration with String

@shonigman's answer to his own question does not work for me any longer in Humble. What does work is: ...
AndyZe's user avatar
  • 873
1 vote
Accepted

Specify log level on ROS2 node in Launch file

You have to split up the arguments, like this: arguments=['--ros-args', '--log-level', 'DEBUG'], This is how it's usually done with anything that interacts with <...
christophebedard's user avatar
1 vote

Remotely Launch Nodes in ROS2

As far as I can tell, this is still a work in progress, but has been on the backlog to get merged into the documentation. Lots of discussion here, and it seems the change to the documentation is ...
shonigmann's user avatar
1 vote

roslaunch: is neither a launch file in package

I had a similar issue. I had a typo: instead of package.launch I named the file package_launch. After renaming it worked :-)
Joern Boegeholz's user avatar
1 vote
Accepted

roslaunch: is neither a launch file in package

Things to check Is the package compiled with catkin_make or catkin build and was that successful? Can you find it in ...
Loy's user avatar
  • 105
1 vote
Accepted

No stdout logging output in ROS2 using launch

This turned out to be connected with the known issue of subprocesses from launch having their stdout streams buffered (https://github.com/ros2/launch/issues/188). There is a ...
phobon's user avatar
  • 270
1 vote

Is it possible to launch a launch file from python?

Please use the search first in the future, this has been asked multiple times already. That sounds harsh, and we do want to help you, but with almost 35000 questions on this site it gets increasingly ...
gvdhoorn-rse's user avatar
  • 39.1k
1 vote
Accepted

array/list as command line argument in roslaunch file

You can achieve what you want with passing points as string of arrays to the launch file. For roslaunch args, see reference My approach would be something like this: ...
abrzozowski's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible