Skip to main content

Questions tagged [yaml]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
25 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 : ...
SebL's user avatar
  • 51
0 votes
1 answer
30 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/...
Student's user avatar
  • 23
0 votes
2 answers
62 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 ...
juxyper's user avatar
0 votes
1 answer
90 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
2 answers
380 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 ...
Spezies31's user avatar
0 votes
1 answer
45 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 ...
joe qiu's user avatar
0 votes
0 answers
54 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 ...
ybbaek's user avatar
  • 1
0 votes
0 answers
170 views

How to pass to URDF to robot_state_publisher in YAML launch file?

I am writing a simple YAML launch file to launch my URDF. With robot_state_publisher publishing the robot description to rviz2. But how do i pass the output of ...
uber_robo's user avatar
0 votes
0 answers
62 views

ros2 domain bridge: how to write yaml config file in python script?

I'm trying to write the yaml config file for the ROS2 domain bridge from a python script. At the end it should like this: ...
user17579347's user avatar
0 votes
0 answers
118 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
72 views

Loading 2 yaml's to same parameter namespace

I want to load 2 sets of parameters from 2 different yamls to the same namespace from a launch file, like this: YAML1: - id: foo1 waypoints: - type: foo1 ...
AndyZe's user avatar
  • 873
0 votes
1 answer
84 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
  • 51
0 votes
2 answers
246 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
139 views

parameter management in ROS2

Hi all, I want to pass a bunch of parameters to certain C++ class which is indirectly called in a ros2 node: Some parameters can be modified in runtime via HMI or other ways? Since ros2 can only load ...
user avatar
0 votes
1 answer
55 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
1 answer
122 views

Unable to change Nav2 BT tree

Hi! I want to change the BT Nav2 is using, but it seems it doesn't change when I change it in the yaml file. I am using Ros2 Foxy, so here it is my bt_navigator configuration, where I define the xml ...
user avatar
0 votes
1 answer
219 views

[ROS2] Any idea on how to pass parameters (YAML) to a Xacro file via launch python script?

In my launch python script I can load and pass parameters from a .yaml file into my code without any problem: ...
user avatar
0 votes
1 answer
213 views

Reading from yaml file in xacro?

Hi I am trying to read the parameters in a yaml file to my URDF using xacro. I understand that the values will be imported as a dictionary. I am able to retrieve the values when the yaml file has a ...
user avatar
0 votes
1 answer
120 views

ros2 launch: How to select parameters yaml file depending on parameter?

I want to use a parameter (ns) to select the yaml file to load for parameters. I have a hard time finding how to do it... Is there a better way to do it? I want to do something like: ...
user avatar
0 votes
1 answer
120 views

How do I convert odom and pose information to grid location on occupancygrid map

I am also using the occupancygrid.msgs type found in the topic /map to get the costmap information found in member ...
user avatar
0 votes
1 answer
134 views

ERROR: rosrun rqt_tf_tree rqt_tf_tree

I was trying to visualize the tf tree of a running system using: $ rosrun rqt_tf_tree rqt_tf_tree but this came up: ...
user avatar
0 votes
1 answer
115 views

[ROS2 Foxy] loading static transform broadcaster arguments from config file

In one of my launch files I have a number of tf2 static transform publisher calls like ...
user avatar
0 votes
1 answer
16 views

how to increase resolution of map in yaml file

Hello, I am using rtabmap to get map of environment. For saving 2D projection of map I type: rosrun map_server map_saver -f map ...
user avatar
0 votes
1 answer
81 views

Get ros params from parameter server

I have 2 ROS nodes running sequentially from a script. Node1 sets some params in the parameter server which are to be used by node2. But node2 starts after node1 is killed. Currently I have a yaml ...
user avatar
0 votes
1 answer
143 views

rosrun still use python2.7 instead of 3.8 inside noetic

I want to use rosrun or roslaunch to run some python node in ros noetic. Although the examples I tested worked in kinetic under ubuntu 16.04, they no longer work in noetic under ubuntu 20.04. The ...
user avatar
0 votes
1 answer
57 views

How are YAML files used in ROS?

I searched and couldn't find. I would like to know what are YAML files for in ROS and how to use them? Examples or tutorials would be great. I have read about the YAML format used in command lines and ...
user avatar
0 votes
1 answer
201 views

ROS2 slam toolbox localization mode config example

I could not find an example .yaml config file on how to run slam toolbox in localization mode with a pre-generated map. I tried a lot of different ways. I ended up with the following file: ...
befaro's user avatar
  • 32
0 votes
1 answer
223 views

ROS2 parameter in launch file with node namespace

From the following answer by @dhood it says that since Crystal modifications for the nodes name/namespace in launch files will also be taken into account for the parameter YAML file: https://answers....
befaro's user avatar
  • 32
0 votes
1 answer
59 views

extract double values with XmlRpc::XmlRpcValue from yaml file

Hi, I want to extract some lists with double values. Because it is a nested array, it is not readable with NodeHandle getParam? ...
user avatar
0 votes
1 answer
25 views

how to disable parameters loaded from yaml from being displayed in terminal?

When you load parameters from YAML in a roslaunch file , they get displayed in terminal, since I am having lot of variables it is getting difficult to debug. Is there anyway to prevent them from being ...
user avatar
0 votes
1 answer
123 views

ROS 2 Params YAML File Package-Relative Path

Is there currently any analog to the rosparam flag subst_value for ROS 2 YAML parameter files? I would like to use a package-...
user avatar
0 votes
1 answer
2 views

Generic robot parameter loading for multiple robots

I currently have a package which subscribes to multiple robots. I wish to use a more generic solution where I use bind to generate the callback for each robot listed in the .yaml file. Example how I ...
user avatar
0 votes
1 answer
50 views

Ros1_bridge can't mapping my msgs..... HELP

I installed Ros1_bridge by apt install ros-dashing-ros1_birdge. and refered to https://github.com/ros2/ros1_bridge/blob/master/doc/index.rst. i make 'my_mapping_rules.yaml' ...
user avatar
0 votes
2 answers
189 views

Set parameters in ROS2 using a yaml file without needing to build the package every time

I have been able to include a parameter.yaml file in my test.launch.py file. However if I modify the parameter.yaml file, I need to build the entire package again before seeing changes reflected when ...
user avatar
0 votes
1 answer
67 views

How to pass number as a string to a rosservice?

I have a rosservice that takes a string as an argument. That string may be an integer (or rather, the string representation of an integer). However, when I try to call the service with the number, it ...
user avatar
0 votes
1 answer
43 views

Pass an argument to a yaml configuration file

I have a configuration file that I am loading in my launch file using rosparam, ...
user avatar
0 votes
1 answer
7 views

launch file parameters that have curly braces

I am using ROS Melodic. How can I set a parameter in a launch file that resembles a yaml syntax like this: ...
user avatar
0 votes
1 answer
89 views

ModuleNotFoundError: No module named 'yaml'

Hello! I am only starting to learn ROS by attending Udemy course on it. Recently I have encountered a problem, when I try to run simple talker example using command: ...
user avatar
0 votes
1 answer
30 views

dumping parameters from c++ node

Hi all, I have a simple question but I can't seem to find a nice solution. My problem is the following: I have a YAML file that stores some parameters. These parameters are loaded into the parameter ...
user avatar
0 votes
1 answer
17 views

ROS2 Dashing overwrite default param via yaml

Hi, I would like to understand how to use the new parameters API that will be introduced with ROS2 Dashing. I read some links but it's still not clear. https://index.ros.org/doc/ros2/Tutorials/Node-...
user avatar
0 votes
2 answers
29 views

To understand the concept of Origin field from map_server

Hello. I'm trying to run some tutorial which have a ROS Navigation Stack sample. On doing, I couldn't understand the concept of ORIGIN field from yaml which the map_server create after mapping. Here ...
user avatar
0 votes
1 answer
4 views

Yaml file loaded in the parameter server but disappears after

Hello everyone, I have an issue with my parameters, when I launched my launch file where I load the yaml file, I can see that parameters from the yaml file are being loaded to the parameter server, ...
user avatar
0 votes
1 answer
20 views

Access rosparam from node handle passed by reference

Hi all, I have a ROS node which inits and constructs a NodeHandle object. The node is run from a launch file that loads a YAML file into the parameter server. From ...
user avatar
0 votes
1 answer
79 views

[ROS2 YAML] Config file without node name

Is it possible to write a YAML parameter file without specifying the ROS2 node name? The current format for a YAML file is the following: ...
Myzhar's user avatar
  • 198
0 votes
1 answer
17 views

catkin_make install fails due to: "Import Error: no module named `yaml`"

When following along with the Beginner Tutorial, I arrive at creating Messages and Services. However when I call catkin_make install inside the correct directory, I ...
user avatar
0 votes
1 answer
9 views

Problem with yaml

Hi, I use ROS Indigo on Raspbian. When I try turn on a program, I have got error: ...
user avatar
0 votes
1 answer
3 views

Can I change parameter of plugins in yaml

I have installed range_sensor_layer for local_costmap. in the local_costmap_param.yaml: ...
user avatar
0 votes
2 answers
63 views

Load Parameters using roslaunch saved as .yaml from RQT Dynamic Reconfigure

Hello All, I have a motor controller board which is tuned using a ros node. The parameters of this board need to be tuned only once and then use the tuning parameters at each launch. Currently I have ...
user avatar
0 votes
1 answer
18 views

Is there a way to read from a text or yaml file and pass its data to <arg> tag?

Just like rosparam that take yaml file as a parameter, I want to know if there is a way to read text or yaml file that contains parameters and pass the parameters ...
user avatar
0 votes
1 answer
79 views

Run rosparam load in runtime?

Hi ROS Community, I am relatively new to ROS, but so far I have managed to solve everything using examples and tutorials online. Now, I want to be able to reload the parameters from a certain .yaml ...
user avatar