Skip to main content

Questions tagged [launch]

The tag has no usage guidance.

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

ROS2 launch issue when using .desktop file

I am having an odd problem and hoping someone can assist. I am using Ubuntu desktop 22.04 and ROS2 humble. I have a TOF camera that I am setting up for a project. Currently I have the camera drivers ...
TheFujiGuy462's user avatar
0 votes
1 answer
13 views

Is it possible to log different levels into console vs log file?

Is it possible to create a launch file so that I only see INFO and about on the console, but all DEBUG messages go into the log file? Thanks!
AYN's user avatar
  • 3
1 vote
1 answer
22 views

Error while trying to run a launch file "Caught exception when trying to load file of format [yaml]: Expected only one root"

Error message: ...
TheNeanderthal's user avatar
0 votes
0 answers
57 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
1 vote
0 answers
13 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
16 views

is VMware the reason for my gazebo not responding issues?

i installed gazebo through a tutorial from articulated robotics, it was sudo apt install ros-humble-gazebo-ros-pkgs. i used the command ros2 launch gazebo_ros gazebo.launch.py. it was working for ...
Tarun Gattu's user avatar
0 votes
2 answers
117 views

Trouble launching moveit2 configurations

Hi I am using ROS2 humble with moveit2. I created a configuration with setup_assistant of moveit2. However, when I try to launch the demo launch file created by it. It gaves me the error: [ERROR] [...
Doğukan YILMAZ's user avatar
0 votes
0 answers
83 views

ros2 emit change state event to lifecyle node which are started individually in different processes not robust

i'am working on ros2 lifecycle node and launch system, I have follow issue: I want to run multiple lifecycle nodes through LaunchService in different process due to some reason. However I noticed that ...
wuisky's user avatar
  • 1
0 votes
1 answer
90 views

"spawn_entity.py" executable not found

i have created a workspace in ros2 humble in Ubuntu 22.04 and i am trying to spawn the robot in gazebo empty world using the following command: ros2 run gazebo_ros launch spawn_entity.py -topic ...
Yukta Dodia's user avatar
1 vote
3 answers
548 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
  • 45
1 vote
1 answer
289 views

ROS2 Launch file is not found

I am trying to get my ROS2 project into working order. Here are the details of my setup: Building in docker based on osrf/ros:humble-desktop-full my package is laid out like this ...
KopiousKarp's user avatar
0 votes
0 answers
13 views

DAE world dosnt load in gazebo

I am struggling to load my dae world in gazebo using a launch file. I have a dae file containing an apartment called apartment.dae. I have a simple world file ...
Elias's user avatar
  • 11
0 votes
1 answer
31 views

Launch_arguments doensn't work

I'm trying to run a LiDar driver from my robot bringup launch file, I ofcourse need to give the launch file arguments: hostname and frame id, when running this from CLI it works fine and when I'm ...
Coen H's user avatar
  • 31
0 votes
0 answers
15 views

Unable to launch the node with admin access on Windows

My setup: Windows 11 ROS2 IRON patch release 3 VS studio 2019 When I execute the launch file on the terminal with admin access, it hangs and shows the following info: ...
Yernar's user avatar
  • 1
0 votes
0 answers
40 views

Launch rest of launch file after one process exits

I have a ros2 launch file script that instantiates nodes and also calls other launch files. I want to add the launch of another process and only instantiate the other nodes and launch files when this ...
atab's user avatar
  • 1
1 vote
1 answer
65 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
0 answers
21 views

How do I disable ros2 launch log handlers?

When I execute my ros2 run command, I get a console log like ...
rms's user avatar
  • 1
0 votes
2 answers
484 views

ROS2 parameters file and launch argument override

I am using ROS2 foxy. I would like to launch a node with a set of default parameters in a .yaml file and add support for launch argument to override such parameters. Default parameters: ...
SystemSigma_'s user avatar