Questions tagged [yaml]
The yaml tag has no summary.
117 questions
0 votes
0 answers
7 views
Can I define a global parameter in .yaml for multiple ROS2 nodes? [duplicate]
These nodes need to receibe the same parameter and it must have the same value. Is there any way to declare only once in the .yaml file instead of once per node? <...
0 votes
1 answer
61 views
Running node with YAML file gives me error: rclpy._rclpy_pybind11.UnknownROSArgsError
I run a node from the terminal with --ros-args -p number:=7 -p timer_period:= 1.0 and all is working fine, but when I try to run the same node with a YAML file I get an error - "rclpy....
1 vote
1 answer
114 views
gazebo_ros_control: Error: Error opening YAML file, at ./src/parser.c:270, at ./src/rcl/arguments.c:406
I have some problem with loading parameter file to gazebo_ros2_control. I mean: ...
0 votes
1 answer
82 views
Check if parameters are correctly loaded from a yaml file
In ROS1 I was checking if I was able to load parameters from a yaml file correctly with the hasParam function that was provided in the C++ api. The following code looks like this: ...
0 votes
2 answers
214 views
Error when trying to parse robot_description in YAML format
I've tried to follow the Articulated Robotics tutorial on ros2_control (in the real world) but I'm stuck when launching the package. Apparently, it's trying to parse the robot_description parameter ...
0 votes
1 answer
355 views
gzserver process has died followed by spawn_entity is frozen when calling service /spawn_entity
I am running ROS2 Humble and am unable to launch my robot arm when using the yaml file in my robot description files. When I launch my gazebo.launch.py file, first I get an error telling me: "...
0 votes
1 answer
95 views
How to specify commandline arguments to node in ROS2 yaml launch file?
I'm trying to launch rviz2 with a custom .rviz file. There doesn't seem to be documentation anywhere about how to pass this in. There's answers on on how to do it for .py launch files, but not for ....
0 votes
3 answers
655 views
Unable to initialize controller_manager and spawn controllers in ROS 2 Humble using ros2_control
I am currently facing an issue with initializing the controller_manager and spawning controllers for my robot in ROS 2 Humble. I have set up my robot's URDF and YAML configuration files, but I am ...
0 votes
1 answer
57 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 : ...
0 votes
2 answers
141 views
Failed processing YAML file - Nav2 Bringup
The get the error when i launch the nav2 bringup_launch.py using the following cmd: ros2 launch nav2_bringup bringup_launch.py params_file:=/workspaces/irobot_workspace/src/create_robot/...
0 votes
2 answers
139 views
YAML-standard parameter specification not one of the allowed types
I'm having a problem regarding code migration from ROS Noetic to ROS Foxy. The problem is related to parameter access from scripts. I'm using Python nodes for my code. Originally these sorts of YAML ...
0 votes
1 answer
192 views
ros2 launch foo.yaml with composable nodes and setting log level
I'm using a launch.yaml like this: ...
0 votes
2 answers
887 views
ROS2/Gazebo/ros2_control: Class gazebo_ros2_control/GazeboSystem does not exist
please excuse if i did not find the correct Thread with a similar problem. After multiple days searching for an answer i decided to post my concrete question. My setup: Ubuntu 20.04.6 LTS ROS2 Foxy ...
0 votes
1 answer
82 views
how to use XmlRpc::XmlRpcValue receive data in order
i'm using XmlRpc::XmlRpcValue to receive data from .yaml file, but it seems that the received data order is different from the order in .yaml file. here is my .yaml ...
0 votes
0 answers
70 views
ros2 nav2 waypoint error - foxy
I'm using Nav2 on ROS2 foxy. After mapping, whever I set goal_pose nav2 makes correct waypoint. But near the corner, the waypoint is suddenly changed too close to move. So that every time the robot ...