Skip to main content

Questions tagged [launch-file]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
6 views

Integrating UR16e Robot in Unity3d with ROS2

I am working on a project that involves Unity3d with UR16e robot model and integrating with ROS2. I am using ROS2 Humble inside a docker container. I followed the ROS-Unity tutorials to get a hang of ...
confused-robocist's user avatar
0 votes
1 answer
15 views

Saving map using Map_Saver at the end of launch file

In my class I have been given a launch file that launches RVIZ, Gazeboo, NAV2 etc. It is my task to launch a node that has my robot drive in a square that is 1m by 1m. As the robot is driving it is ...
John Spicer's user avatar
0 votes
1 answer
25 views

use 'param' instead of 'args' in yaml launch-file?

I'm writing a launch file to start tf2_ros nodes. I'm using elements like : ...
SebL's user avatar
  • 51
0 votes
0 answers
4 views

Set different values of the same parameter for different instances of the same node

It is my first post so correct me if I'm doing something wrong :) I created two instances of the same node: ...
fabio's user avatar
  • 1
0 votes
0 answers
11 views

How to pass parameters to sdf file from launch file similar to XACROS?

I am converting a model in XACROS/URDF to SDF and launching the model with launch file in roslaunch. I was able to convert the model. However to run the model I need to pass the parameters to the ...
vbalaji21's user avatar
1 vote
0 answers
12 views

Why do we have to return the launch arguments at the end of the launch description in ros2 launch file?

If I understand correctly, we use the LaunchConfiguration function to define local variables in the launch file. To be able to set them externally, we have to use the DeclareLaunchArgument function. ...
Bogdán Havjár's user avatar
0 votes
0 answers
11 views

How to process a parameter in a launch file, to feed it as an argument to a another node being launched

party developed node that uses an argument on startup (and no parameters). I have a launch file that loads an YAML and uses it to feed the parameters to several nodes being launched. One of the ...
hugo's user avatar
  • 1
0 votes
1 answer
355 views

ros2 launch file syntax error - XacroException: No such file or directory: + - InvalidFrontendLaunchFileError:

I have an issue when trying to execute a python launch file. Whenever I execute the file I get the following error: ...
HDJG's user avatar
  • 11
0 votes
1 answer
67 views

ROS2 - modify py launchfile without rebuilding package

In ROS1 we could modify XML launchfile and roslaunch them directly without catkin_make rebuilding, in ROS2 it seems if I modify python launchfile, I need to rebuild the package otherwise ...
Martin's user avatar
  • 198
0 votes
0 answers
22 views

Run process on launch file when sigint is received

I am doing mapping using ROS2 and slam_toolbox. My robot has a toggle button to start mapping/localization. The button launches either a mapping or a localization launch.py file with the right nodes, ...
janonespe's user avatar
0 votes
0 answers
56 views

How can I shut down an included launch file?

Hello I need assistance on a specific issue, that I can't find a solution. Required Info: Operating System: Ubuntu 22.04 Installation type: binaries Version: ROS2 Humble Context: I have a launch file ...
Everdream's user avatar
0 votes
0 answers
40 views

Launch file hierarchy: IncludeLaunchDescription prioritization

I was correctly launching two launch files (let's say A and B) by means of a third launch file (C). Then I decided to impose that the nodes of launch files B should be started after the nodes of ...
AleCavalliPolito's user avatar
1 vote
1 answer
59 views

ROS2 default values ignored when including launch file in other launch

I am using ROS2 Humble and Ubuntu 22.04. My aim is to create one launch file which could run multiple launch files and nodes like nav2 and rtabmap and some others. The problem is that default ...
Marabir's user avatar
  • 26
0 votes
1 answer
355 views

ROS2: Adding parameters to YAML launch file

How do I use a YAML launch file to pass parameters to a node? The tutorial covers passing parameters using a python launch file but not YAML.
FourierFlux's user avatar
0 votes
0 answers
131 views

Camera node does not publish compressed image when launched in a composable container

I'm working on a launch file to launch the v4l2_camera node. I first launched it as a normal node, which worked as expected - it publishes a raw image, and also uses the image transport plugins to ...
adityakamath's user avatar
0 votes
0 answers
112 views

How do you actually print the description that a Python ROS launch file describes?

Launch files in ROS 2 written in Python are actually generating a launch description that something else uses to launch the system, as opposed to launching things themselves (see here). It would be ...
Cadmus's user avatar
  • 5
1 vote
1 answer
45 views

Including multiple of the same YAML launch files in a Python launch file

I would like to launch multiple of the same yaml launch files from a Python launch file with slightly different parameters for each one. Reading the official ROS2 documentations and also looking at ...
Peter Woo's user avatar
0 votes
1 answer
70 views

Launching Gazebo simulation and using nav2 for path planning, using ros2

...
Kavinesh S's user avatar
0 votes
0 answers
31 views

Why does `launch_test` result show "Ran 0 tests in 0.000 s" after running a test?

I am not the original poster, but I would like to continue the discussion about this question asked on answers.ros.org. I am trying to write an integration test to test the ROS API of a node I am ...
LastStarDust's user avatar
0 votes
1 answer
182 views

ROS2 control launch freeze

I have just gotten my first diffdrive hardware interface to run, connected to a RPi Pico running Micro-ROS. My launch file is pretty much identical to the demo: ROS2 Control diffbot demo launch file , ...
G. Debailly's user avatar
1 vote
1 answer
518 views

How to get launch parameter (LaunchConfiguration) value in string?

I just want to have a log message with the parameter value, and I can't find how to. ...
SebL's user avatar
  • 51
2 votes
1 answer
813 views

Getting the value of LaunchArgument inside python Launch file

I've came across an interesting issue. Is it possible to get the value of the LaunchArgument inside the python launch file? Take the following scenario: ...
Stanislav Svědiroh's user avatar
0 votes
0 answers
168 views

How to pass to URDF to robot_state_publisher in YAML launch file?

I am writing a simple YAML launch file to launch my URDF. With robot_state_publisher publishing the robot description to rviz2. But how do i pass the output of ...
uber_robo's user avatar
0 votes
2 answers
847 views

process has died [pid 8941, exit code 127, cmd 'gzserver -slibgazebo_ros_init.so

I am launching gazebo with ros2 launch gazebo_ros gazebo.launch.py Gazebo is not launched and is showing the following error: ...
Mubashir's user avatar
0 votes
0 answers
76 views

How to launch custom urdf in ros2

I have a package in ros2 named my_bot and an urdf file in urdf folder my_bot.urdf how can I spawn the robot into Gazebo using a <...
Mubashir's user avatar
0 votes
0 answers
319 views

MoveIt, no acceleration limit was defined

I created my own robot model in URDF and used the MoveIt Setup Assistant to create the MoveIt configuration and launch file. Planning and executing a motion with Rviz works except when using a ...
Jeroen's user avatar
  • 1
0 votes
1 answer
1k views

How to remap topics after launching from the same launch file

I am trying to run two intel RealSense D455 cameras in sync to pull the pointcloud2 data. How can I remap the topics to prevent them both from streaming to the same topic? Here is what I have: ...
Joshua Greineder's user avatar
0 votes
1 answer
47 views

Gazebo didn’t launch with urdf

Running on vm, I created a simple launch file to launch Gazebo with the robot urdf, an error was shown. launch file Content: ...
Rafmg8's user avatar
  • 11
0 votes
1 answer
13 views

[ROS2] node names relation between launch file and executable

Hi there, this might be a basic question but thus far I haven't found specifics in the docs or tutorials. What is the actual relation between node names specified within the launch file and the ...
user avatar
0 votes
1 answer
109 views

rosbag2 - how to save bags in a place of my choice?

Hello, I would like to know how to use rosbag2 (CLI, launch file, SequentialWriter) with option to choose where rosbag2 will be saved. with CLI: ...
ljaniec's user avatar
  • 1,563
0 votes
1 answer
28 views

Which ROS2 launch is preferable python or xml?

As of ROS2 Eloquent we can use xml or yaml for writing launch files. Previous versions of ROS2 used python with the roslaunch API. So my question is which of these methods is currently recommended or ...
user avatar
0 votes
1 answer
251 views

ROS2 add parameter to c++ and launch file

So I'm a novice when it comes to ROS2, but have some experience with ROS1. I've been trying to convert an existing project from ROS kinetic to ROS eloquent. In this project I've made a node in c++ ...
user avatar
0 votes
1 answer
20 views

Why do ros programs often have difficulty stopping cleanly

Hello List, I am working with different ros versions, mostly kinetic and melodic. But my question pertains to all versions. Often it is difficult to stop ros programs, typing control-C often is not ...
user avatar
0 votes
1 answer
91 views

Parallel execution of same ROS nodes

Hi all, What I am trying to achieve is: I have one ROS node which is publishing one info on a topic and another subscriber node subscribed on that topic to process the info. I am launching both of ...
user avatar
0 votes
1 answer
5 views

Pointgrey camera driver parameter limits cfg file

I am trying to set the frame rate on my Point Grey Chameleon 3. The dynamic reconfigure has a max value of 100. This is set in the PointGrey.cfg file. However, the camera itself is capable of higher ...
user avatar
0 votes
1 answer
121 views

Rosbag in Roslaunch, save rosbag to specific directory

Hey I wanted to use robsbag record in a roslaunch file like: ...
user avatar
0 votes
2 answers
10 views

Changing tf_prefix for turtlebot

I know that similar questions were already asked here but I still haven't found an answer to my question. I would like to create a system of several turtlebots with different names (e.g. "pinky&...
user avatar
0 votes
1 answer
5 views

Can't run rtabmap from roslaunch

I installed rtabmap with $ sudo apt-get install ros-indigo-rtabmap-ros but I'm not able to launch it as expected: ...
user avatar
0 votes
1 answer
2 views

rqt_graph in UsingRqtconsleRoslaunch tutorial not working

I'm currently in the process of going through the tutorials so I can get a better understanding of ROS. I'm currently on tutorial 8 in the beginning tutorials The problem I'm getting is at the last ...
user avatar
0 votes
2 answers
6 views

Alternatives for (not working) nested substitution arguments for roslaunch

I´m currently changing the launch file setup on a project and would like to do something like ...
Stefan Kohlbrecher's user avatar
0 votes
1 answer
2 views

rosmake mypackage

Hi dear all, I got some problems when I want to compile my package(mytele). I want to create a new package named mytele, and it is copy from turtlebot_teleop turtlebot_key.cpp. I am sure that the copy ...
user avatar
0 votes
1 answer
1 view

Package Dependency Rules?

Hi all, I read in this document p05-ros-navigacija.pdf Create Package with its dependency, then launch folder with launch file to load TurtleBot in simple office environment. Then when run ...
user avatar
0 votes
1 answer
2 views

command line arguments in launch file

Hi, I am using pcd_to_pointcloud from perception_pcl and want to remap the output using a launch file. The problem is that it requires a pcd file as a command line argument which I do not get to work ...
user avatar
0 votes
2 answers
162 views

Record with rosbag from launch file

I want to use rosbag record in my launch file with the parameters linking to a ros package. Normally, you can get a package path in a launch file by using ${find mypackage}, but this does not work in ...
user avatar
0 votes
2 answers
3 views

Execute Pyhton file - Output terminal

Hi. How can I display something from a Phyton file on the terminal? I start the launch file with the node from the pyhton file, but I do not get back the informations on the terminal. For example when ...
user avatar
0 votes
1 answer
14 views

R2D2 Tutorial, Using urdf with robot_state_publisher

Hi all, I am trying to follow the r2d2 tutorial (http://www.ros.org/wiki/urdf/Tutorials/Using%20urdf%20with%20robot_state_publisher). I ran roscreate-pkg r2d2 I added dependencies to roscpp rospy ...
user avatar
0 votes
2 answers
72 views

How to use substitution args in a yaml file?

I have a yaml file that is used by many launch files. I centralized most of the parameters in the yaml file, but those with substitution arguments do not get properly evaluated. Instead, they get ...
user avatar