Skip to main content

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
5 views

Trouble running gazebo simulation on ROS2 Humble

Here is what my Launch file looks like: ...
Kwasi's user avatar
  • 1
0 votes
0 answers
34 views

How to execute non-ROS Python code in launch files?

I have an application where I'm happily using *.launch.py files BUT I would love to run non-ros (no node, no launch, etc) to populate some arguments of the downstream launch actions. Overall this ...
Ignacio Vizzo's user avatar
0 votes
0 answers
3 views

Why is my Leddar Vu 8 sensor dies on roslaunch?

I have Leddar Vu 8 usb model. I installed the LeddarSDK as given in https://leddartech.com/app/uploads/dlm_uploads/2021/08/Install-Guide_SDK-Using-LeddarTech-Sensors-in-Linux_V1.0_EN-2.pdf My specs: ...
Srini Vasan's user avatar
0 votes
0 answers
10 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
5 views

Profile NodeJS node from roslaunch

I'm currently facing an issue when trying to profile a NodeJS node launched from a launch file. It's declared like that in the .launch : ...
Louis Emard's user avatar
0 votes
0 answers
9 views

parsing errors when launching two robots from the same urd.xacro file

I'm trying to launch two panda robots from the same urdf file but I'm stuck as is giving me parsing errors when I launch two robots together. If I try to launch one it works but not with two (I ...
mikel lasa's user avatar
0 votes
1 answer
23 views

Launch two urdfs under same spawner giving issues with different descriptions

I'm trying to launch two robots (panda and iiwa) under the same urdf spawner node. Both robots have a different robot description that I pass to the node as a parameter. My issue is that for some ...
mikel lasa's user avatar
0 votes
0 answers
30 views

"Cannot find any instance of Webots"

you guys are my last straw :) I just started using ROS2 together with Webots. I downloaded ros-humble-webots-ros2 and Webots2023b and launched my scipt with ...
g. h.'s user avatar
  • 1
0 votes
1 answer
19 views

ROS-NOETIC Program works when executing by rosrun but don't work when using roslaunch

I have a weird problem. I've created script for catching the rospy.log and publishing it into topic and saving to files.txt. It works fine while I'm launching it by rosrun. When ,launch file was ...
Wojciech Blacha's user avatar
0 votes
1 answer
15 views

no transform from xxx to xxx after installing conda

the previous package I created can be used smoothly.However,after installing conda and pytorch,the robot description cannot be put on screen correctly.The early verison of robot description in rviz ...
yz x's user avatar
  • 3
0 votes
1 answer
28 views

How can I launched urdf, sdf models and walls in the same gazebo world?

As the title mentioned, I made models with urdf files, find some public sdf models, and use the build editor in gazebo to generate walls. However I couldn't find a way to launch them other than ...
brian2lee's user avatar
  • 119
0 votes
0 answers
15 views

Python Multi-Robot ROS 1 environment: defining multiple robots in class form (each with their own ROS node) and accessing their class objects?

I'm interested in building a multi-robot learning environment using a simulator such as Gym for the environment and ROS 1 for handling communication between robots. I'd like to set up my environment ...
tt32440bzsr's user avatar
0 votes
0 answers
18 views

Ros PX4 Gazebo - some ready-made models do not start and give an error

I created the new model according to the instructions. Error on startup. I also get the same error if I run some of the list of available models. For example:models iris, plane, plane_catapult, boat - ...
Andrey Kulachenko's user avatar
0 votes
2 answers
345 views

"No module named roslaunch" for ROS 2

I am getting error No module named roslaunch when executing a ROS 2 launch file. I know this question is already asked here but it dose not seems to solve my ...
Pratham's user avatar
  • 35
0 votes
1 answer
94 views

How to spawn robot in Gazebo from robot_description topic?

I am trying to launch a Gazebo simulator and spawn a model in the simulator form the /robot_description topic. This already worked sometimes but now I get the ...
aladin6060's user avatar
0 votes
2 answers
57 views

Why "generate_launch_description" is called two times when I start a launch file from another launch file

When I use the ros launch files I observed a phenomenon that, if I use launch file A to call launch file B, then the function of launchfile B "generate_launch_description" will be called two ...
xiao yu ge's user avatar
0 votes
1 answer
62 views

How to keep Gazebo open and load new changes to it from URDF file?

I have a launch file for gazebo that works fine in terms of loading the robot into the world. But the problem I have is that I have to keep ending Gazebo in terminal by using CTRL + C and then wait ...
Balen's user avatar
  • 29
0 votes
0 answers
35 views

When launching world and robot models, initial attempts succeed, but subsequent launches fail

The first one or two launches of this launch file work without issues, but subsequent launches fail. I am generating two robots in a world, specifically a ridgeback and a turtlebot3 waffle. I suspect (...
就走吧's user avatar
0 votes
2 answers
173 views

Can not open gazebo with roslaunch gazebo_ros empty_world.launch

I am using ros noetic and gazebo 11.14.0 I tried to open the gazebo with ros roslaunch gazebo_ros empty_world.launch but got the following error: ...
Mubashir's user avatar
0 votes
1 answer
353 views

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

Ubuntu 22.04, ROS 2 Humble Hi, I am following the official tutorial to pass arguments to a cpp node via a python launch file https://docs.ros.org/en/humble/How-To-Guides/Launch-file-different-formats....
Azmyin Md. Kamal's user avatar
0 votes
1 answer
106 views

fusion 360 to gazebo in ROS2 [duplicate]

i am using ubuntu 22.04 humble. i had made a model in fusion 360 and would like to make a gazebo simulation from it. i have tried the extension by https://github.com/dheena2k2/fusion2urdf-ros2. i ...
aman noufel's user avatar
0 votes
1 answer
65 views

ros2 launch foo.yaml with composable nodes and setting log level

I'm using a launch.yaml like this: ...
Ken Y-N's user avatar
  • 143
0 votes
0 answers
67 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
46 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
119 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
105 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
127 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
96 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
37 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
19 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
96 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
234 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
28 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
25 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
107 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
55 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
785 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
55 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
258 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
36 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
225 views

robot does not spawn in ros2

I am trying to spawn custom urdf in ros2. I have following launch file ...
Mubashir's user avatar
0 votes
0 answers
70 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
108 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
138 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: ...
Mubashir's user avatar
1 vote
0 answers
618 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
518 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
209 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
127 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
1k 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
3k 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

1
2 3 4 5
20