Questions tagged [ros2-launch]

The tag has no usage guidance.

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

cartographer for ros2 rolling?

I'm working through a ros2 turtlebot3 tutorial to get familiar with the cartographer package. However the example I've been following was done on an older version of ros2, HUMBLE, and my ros2 is ...
Walt's user avatar
  • 1
0 votes
1 answer
24 views

Gazebo ignition spawn_entity equivalent

When designing simulations in Gazebo Classic it was possible to spawn robots in the simulation with the launch file spawn_entity from the gazebo_ros pkg. Is there any equivalent in to that in Gazebo ...
pdaranda661's user avatar
0 votes
0 answers
11 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
0 votes
2 answers
170 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
  • 25
0 votes
1 answer
20 views

Awkward shell outputs for launching many nodes using a configuration file

I'm launching multiple nodes of unknown count using a configuration file that I provide to the backend launcher. So far, I appear to have no issues accomplishing this. However, calling ...
juxyper's user avatar
0 votes
0 answers
16 views

[bt_navigator_navigate_to_pose_rclcpp_node.rclcpp_action]: unknown result response, ignoring

Operating System: Ubuntu 22.04 LTS and Humble DDS implementation: FastDDS Client library (if applicable): rclcpp Suddenly, I am getting this error. To replicate: I have used two different ways: <...
GPrathap's user avatar
  • 137
0 votes
0 answers
41 views

No Gazebo GUI error with gazebo_ros command

Gazebo GUI didn't work when i used the "ros2 launch gazebo_ros gazebo.launch.py" command, It did appear with the "gazebo" command. Does anyone know how to fix this? I have tried to ...
Nguyễn Đức Thịnh's user avatar
0 votes
1 answer
24 views

Recursive launchfile call falling to execute

I'm working on a launchfile that recursively calls itself N times, depending on a parameter. However whenever I try to run it no nodes are initialized, could you help me find the error ? Thanks a lot <...
Lavnir's user avatar
  • 1
0 votes
0 answers
28 views

How can I disable automatic "--ros-args" arguments on my launch file?

I am trying to use smach_viewer package for my Ros2 application. I am trying to add a launch file to call this code However I get the following error about --ros-args ...
Oben Sustam's user avatar
0 votes
1 answer
35 views

urdf_tutorial no such file or directory

I am using the urdf_tutorial. I cannot create an urdf file inside urdf folder, so I create the urdf file in the home directory. When I want to launch the urdf file, I get an error that no such file or ...
Msr09's user avatar
  • 1
0 votes
2 answers
82 views

Sharing a Singleton Instance Across Multiple Nodes in the Same Process in ROS 2

I am working on a robotic system using ROS 2, where I have implemented a singleton class in C++ to handle CAN interface communications. This singleton is used by two nodes; ...
Robotawi's user avatar
  • 480
0 votes
1 answer
65 views

Trouble launching display.launch.py file

I'm using ROS 2 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
0 answers
15 views

ros2 python launcher passing through an integer number to another ros2 python launcher

i have a ros2 python launcher file with an integer variable named 'drone_id'... i want to write another ros2 python launcher which only open my main python launcher multiple times and every time pass ...
arash mokhtari sherkat's user avatar
0 votes
1 answer
92 views

Could not echo /map topic using Nav2_map_server

I am using ROS2-foxy with ubuntu 20.04 LTS and wanted to load a map using the map_server from Nav2_map server. i found this old thread from ROS answers regarding this (https://answers.ros.org/question/...
nitish's user avatar
  • 86
0 votes
1 answer
259 views

ROS2 systemd service launch to ROS topic

We are trying to launch a ROS2 subscriber node and publisher node on boot. We are using a systemd service file to launch our launch.py file. When running ...
Suchitha's user avatar
1 vote
2 answers
75 views

How to load a ComposableNode based on a condition?

I am on ROS2 Humble. My launch file looks the following ...
ASH's user avatar
  • 21
0 votes
0 answers
80 views

xacro: Substitution args not supported: cannot import name 'Log' from 'rosgraph_msgs.msg' in ubutnu desktop 22.04

I am very new to ROS2 and have only been practising for a few days so i am having a really tough time trying to find the solution. I am on a dual boot PC with Windows 11 and Ubuntu 22.04, and i am ...
Akshit's user avatar
  • 1
1 vote
1 answer
35 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
0 answers
16 views

Error while launching URDF in RVIZ: "junk after document element"

I have followed the Nav2 tutorial for setting up my URDF, but this error had me stuck on section1 for days. Knowingly, I'm using the URDF and mesh files from an open repository https://github.com/...
quark epsi's user avatar
0 votes
1 answer
33 views

Crazyflie: Connecting, logging and parameters-->Add logging config

I would like to define stateEstimate.vx, stateEstimate.vy, and stateEstimate.vz variables to ...
nejattukenmez's user avatar
0 votes
1 answer
112 views

display.launch.py --share on ROS 2 tutorials is not working - Windows 11

I have installed ROS 2 (Humble Hawksbill) on windows 11 and trying to follow URDF tutorial. When I run the folllwing command: ...
Ros wizard's user avatar
0 votes
0 answers
63 views

ros2-rviz2 environment for crazyflie simulation

I's would like to use rviz2 environment to simulate cf2. I followed the ros2 tutorial in cf2 ros2 tutorial. However, I have not seen crazyflie structure on rviz. I added the terminal output and rviz ...
nejattukenmez's user avatar
0 votes
0 answers
33 views

ROS2 launch: No way to get log displayed in console?

I'm using ROS2 humble under Windows. I have a very simple publisher and subscriber: Publisher: ...
jpo38's user avatar
  • 111
0 votes
1 answer
68 views

ROS2 launch: subscriber not receiving data

I'm using ROS2 humble under Windows. I have a very simple PyQt based publisher and subscriber: Publisher: ...
jpo38's user avatar
  • 111
0 votes
0 answers
25 views

Error ("Bodynode mass zero negative") while running other sim engines in Gazebo

While launching a world through Gazebo while using 'dart' sim engine, I see the following error : [gzserver-1] Warning [BodyNode.cpp:498] [BodyNode] A negative or zero mass [0] is set to BodyNode [...
uber_robo's user avatar
2 votes
1 answer
396 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