Questions tagged [roslaunch]

roslaunch is a tool for easily launching multiple ROS nodes locally and remotely via SSH, as well as setting parameters on the Parameter Server.

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

Build error when using ament_python ROS 2 package

After adding following line to the setup.py: ...
Filip Zorić's user avatar
0 votes
1 answer
37 views

can't see visuals in rviz

if someone can help me , i am only seeing the frames and joint of my robot but i cant see the visuals
user37337's user avatar
0 votes
0 answers
17 views

ROS2 Libex directory error

I get such an error: [ERROR] [launch]: Caught exception in launch (see debug for traceback): package 'action_right' found at '/home/leyla/checkout/tutorialros2/colcon_ws/src/action_right/install/...
Jarvis pjotrlake07 Elliot's user avatar
0 votes
0 answers
18 views

can't spawn 2 turtlebot4 in Gazebo ignition

I am using ros2 humble with gazebo fortress on my Ubuntu 22.04, I am trying to spawn 2 turtlebot4 in my own world, I managed to spawn 1 turtlebot4 in my world but when I try to spawn a second one, I ...
abdo Salm's user avatar
  • 113
0 votes
0 answers
32 views

New to ROS humble, getting error when executing 'ros launch'

I have ros installed in a VM and so far i did communication and package tutorials without problems. However, when I executed ...
alv123's user avatar
  • 1
0 votes
0 answers
29 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
33 views

Gazebo launces empty with ros, Model not loaded

I am new to ROS and Gazebo. I am trying to open gazebo with 3 models using ROS launch. My launch file: ...
Mahmud8248's user avatar
0 votes
0 answers
11 views

Conflict when installing robot_upstart

I'm facing an issue with installing the robot_upstart package. whenever i run sudo apt-get install ros-noetic-robot-upstart,i get an error that says ...
user37064's user avatar
0 votes
0 answers
30 views

Trying to use namespace in launch file for launching rviz2 but the model is not spawn

I'm trying to use namespace to spawn robot in rviz2 nodes in multiple times, however the spawned rviz2 show only TF but no 3d model of the robot. The error is here. ...
THA's user avatar
  • 3
1 vote
2 answers
112 views

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

I am trying to use the following as input values to an arg command in my roslaunch file as follows: ...
hunterlineage's user avatar
0 votes
0 answers
16 views

Bag File Produced via launch file has 0 duration

I am writing bag file via rosbag. I have implemented a bagwriter class with singleton pattern for writing in bagfile ...
Muhammad Hamza Sajjad Abbasi's user avatar
0 votes
0 answers
18 views

ROS VS Code Debugger unrecognized remap tag in <include> tag

I am using ROS extension for VS Code and I have organized my launch files based on Roslaunch tips for large projects. I have 2 main launch files, one that I launch from the linux terminal, and one via ...
hunterlineage's user avatar
0 votes
1 answer
47 views

can not mirror the nav2_bringup package

I want to make some modifications to the nav2_bringup package. Therefore, I just copied the nav2_bringup package put it in the workspace and ran the Turtlebot 3 simulator. The following error occurred....
GPrathap's user avatar
  • 137
0 votes
1 answer
48 views

Issue with Rostopic Name Length Affecting Node Communication

I've been encountering a rather puzzling issue related to the length of a Rostopic name in my ROS (Robot Operating System) setup, and I'm hoping someone can shed some light on it. Here's the situation:...
jubago's user avatar
  • 3
0 votes
1 answer
137 views

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

I have tried all the solutions I've seen on forums but none seems to work, I've spent already several days on this and really hope someone can spot my mistake rapidly. I have the following launch file ...
S07's user avatar
  • 21
0 votes
1 answer
27 views

rosparam param="source_list"

I don't know what <rosparam param="source_list"> means and barely found a clear description of it, especially on the official website. Here is the ...
KKKmelody's user avatar
1 vote
2 answers
68 views

How to pass parameters to included launch description?

I have two launch files: a main launch file, and a sub launch file. The main launch file invokes the sub launch file with ...
WouterOddBot's user avatar
0 votes
1 answer
31 views

Controlling Arduino device from ROS node

How can a motor control node (which will subscribe to the cmd_vel topic) be linked to my robot hardware? My first idea is to communicate via byte signal like |0000|0000|0000|0000|0000| as |ID|...
keke kurwa's user avatar
0 votes
1 answer
91 views

robot does not spawn in ros2

I am trying to spawn custom urdf in ros2. I have following launch file ...
Mubahsir's user avatar
0 votes
0 answers
24 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 <...
Mubahsir's user avatar
0 votes
0 answers
63 views

[ROS2]can't load parameters from yaml file when migrating ros1 to ros2

I'm trying to migrate VINS-Mono(https://github.com/HKUST-Aerial-Robotics/VINS-Mono) to ROS2 version, and now there's a problem with reading parameters. I just modified the ROS1 code of reading ...
Muu's user avatar
  • 1
0 votes
1 answer
65 views

ImportError: cannot import name 'GazeboRosPaths' from 'scripts'

I am trying to run ros2 launch gazebo_ros gazebo.launch.py on ROS 2 Foxy. Unfortunately, I came across the following error: ...
Mubahsir's user avatar
1 vote
0 answers
257 views

Debug ROS2 launch using gdb with launch-prefix

ROS2 version: humble System: ubuntu 20.04 When I cross-compile and successfully build the ROS project, I copy the "install" directory to the development board and execute ...
Ricky Yel's user avatar
0 votes
2 answers
184 views

Multiple ROS 2 Composable Nodes in a single launch file

I have multiple composable nodes that I need to run in parallel using a single launch file, as it is a pipeline consisting of various components. Is it possible to do that in ROS 2? or should I use ...
Mostafa_Hegazy's user avatar
0 votes
1 answer
106 views

cannot launch node of type + can't locate node in package

I run into some problems trying to run a ROS Kinetic package https://github.com/romarcg/traversability_estimation with nvidia docker. I started the docker with: ...
chen's user avatar
  • 1
1 vote
1 answer
66 views

ROS2 How to know if GUI is available in launch file

In the launch file, I am calling the package RVIZ to visualise some data in my package. However, when using roslaunch via SSH command, it fails because the GUI is ...
Dark Patate's user avatar
1 vote
1 answer
464 views

ros2 launch file was not found in the share directory

Using python in ROS2 and launching with: ros2 launch package_name launch_file_name.launch.py I get file 'launch_file_name.launch.py' was not found in the share ...
Rexcirus's user avatar
  • 248
0 votes
1 answer
557 views

Caught exception in launch (see debug for traceback): Unable to parse the value of parameter robot_description as yaml

Hello, I am currently trying to run my TurtleBot2 on ROS2 Humble (using Ubuntu 22.04), but have troubles to import my modified URDF files. The bringup launch file worked for the preset URDF files but ...
user avatar
0 votes
1 answer
15 views

ros2 remapping wildcard

Hello, I try to remap a set of topic using the '**' wildcard as explain in http://design.ros2.org/articles/static_remapping.html#replacement-part-of-a-rule I got the error : ...
SebL's user avatar
  • 31
0 votes
1 answer
67 views

How to get argument from launch-file not used in a Node?

Hi, I read a lot of questions about arguments and launch files and did not find something related to my case (maybe this one https://answers.ros.org/question/375591/how-to-get-argument-values-in-ros2/,...
SebL's user avatar
  • 31
4 votes
1 answer
272 views

How to execute a script at shutdown of a launch process

I am trying to execute a bash script when my robotic simulation is shut down (to tear down the network configuration necessary for the simulation). I use ROS2 launch system to do so and I planned on ...
TheotimeBlg's user avatar
0 votes
0 answers
62 views

How to launch any launch.py file in ros2 humble?

My question is a little bit different. I am following this video and this GitHub repository. Problem: How can I launch turltebot3_dqn_stage4.launch.py file instead ...
Munionics's user avatar
0 votes
1 answer
167 views

Start gazebo headless mode based on launch config argument

I was trying to start a simulation in ingition gazebo based on a condition. condition launch argument : headless_mode (bool) -> default : False ...
Jishnu's user avatar
  • 81
0 votes
1 answer
31 views

How to start 'gz sim' from a yaml launch file?

Hello, I'd like to start 'gz sim' from my yaml launch-file, I read here that it's easy in python with the ExecuteProcess class. But when I tried to use ...
SebL's user avatar
  • 31
0 votes
2 answers
77 views

xacro processing in ROS 2 YAML launch files (or XML)?

I'm trying to use YAML launch files for a Gazebo simulation project I'm working on, but it doesn't seem like there's a lot of documentation beyond the basics here. I need to process a robot ...
danzimmerman's user avatar
0 votes
1 answer
5 views

Exception in Launch: Invalid Token in File

Hi, There is some error in launch file, could someone help me with this. rsp.launch.py: ...
user avatar
0 votes
1 answer
177 views

ROS ssh launch issue

So I have a setup where I want to launch my ROS nodes via a launch file, which in turn will ssh into a udoo board and the launch the necessary files for hardware communication. The launch file works ...
Pran-7's user avatar
  • 13
0 votes
1 answer
8 views

ROS melodic launching on a remote machine with robot upstart

Hey! So I have a setup where I want to launch my ROS nodes via a launch file, which in turn will ssh into a udoo board and the launch the necessary files for hardware communication. The launch file ...
user avatar
0 votes
2 answers
1 view

Please tell me the meaning of the description in the launch file

I couldn't understand the meaning of the following description(value) in the launch file. I couldn't understand a description that combines eval, if and else. ...
user avatar
3 votes
4 answers
1k views

SetuptoolsDeprecationWarning in ros2 Humble

I was trying to follow this tutorial in the official documentation of ros2 Humble for Integrating launch files into ROS 2 packages and ran in to the below given error after doing trying to perform a ...
Jishnu's user avatar
  • 81
0 votes
1 answer
5 views

roslaunch: suppress summary

I'm doing a project where I'm using roslaunch to run our software stack through several regression tests and each time I call roslaunch it prints out a summary with all the parameters loaded (there ...
user avatar
0 votes
1 answer
4 views

Why need launchfiles a copyright?

After copy and paste working source files from an ubuntu humble to ubuntu foxy the launch didn't work. So I did colcon test colcon test-result --verbose the long ...
user avatar
0 votes
1 answer
6 views

pass agruments/parameters to included launch file in yaml

How would you pass arguments / parameters to an included launch file? The following doesn't work and gives the following error: ...
user avatar
0 votes
2 answers
59 views

how to specify launch argument type in ros2 launch command?

I have a ROS2 node which takes a 'username' string argument. I can normally run the node like this: ros2 launch my_pkg launch.py username:=XXX In my case, my ...
user avatar
0 votes
1 answer
3 views

How to set parameters names for python nodes in roslaunch

I am trying to automate a rosrun into a roslaunch. My command is shown below: ...
user avatar
0 votes
1 answer
38 views

ROS2: Including xml launch files in a python launch file

Is there a way in ROS2 to launch an xml launch file from a python launch file? I am currently making a python launch file for my application, which needs me to run rosbridge_server, which provides a ....
user avatar
0 votes
1 answer
63 views

Use value of LaunchConfiguration in ROS2 launch file like a variable

Hello, I want to add two strings together, passed as LaunchConfiguration in my launch file. I have found many answers on that regarding a boolean and to use conditions instead, but is there something ...
user avatar
0 votes
1 answer
1 view

remote launch differences

When a launch file is launched on a remote machine, is anything different about that remote process? The tag allows you to set the user, so I would assume the groups and permissions are the same on ...
user avatar
0 votes
1 answer
7 views

ROS2 python launch, how to forward launch arguments to xacro models

Hi I like to use LaunchArgument to process my xacro file, which contains my robot model for gazebo and the robot_description for my robot_state_publisher. ...
user avatar
0 votes
1 answer
29 views

ROS2 python launch: Using argument to create file name for a launch_argument

Hi! I like to launch gazebo with different environments (world files). But I only want to give as argument the world file name and not the full path. The full path should be created by launch file. ...
user avatar

1
2 3 4 5
19