Questions tagged [rosparam]
The rosparam tag has no usage guidance.
132 questions
0
votes
1
answer
61
views
ROS2 load namespace from yaml in launch file
SO basically what I am trying to do is load multiple parameters from one yaml file and distribute them to multiple nodes. I have provided the code below. Basically instead of launch parameters I want ...
1
vote
0
answers
29
views
rclcpp::AsyncParametersClient inside a timer callback
I am trying to have a parameter client set the parameters of a node in a timer callback.But unfortunately the parameters are not set during the callback the code is as follows. i also tested with a ...
0
votes
2
answers
200
views
rclcpp ROS2 params yaml file comments
Does anyone know, if there are available comments in the yaml files containing parameters?
I tried to comment some information to keep it for later, but then I got rcl parsing exception.
But maybe I ...
0
votes
1
answer
98
views
Parameter substitution within rosparam list inside launch file
I am trying to change the parameter map_frame within the rosparam list as shown below, but the substitution does not work.
I am actually passing the ...
1
vote
2
answers
404
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:
...
2
votes
2
answers
104
views
does rospy support rosparam update callbacks?
Using rospy/ROS1, I would like a callback when a certain parameter on the ROS1 parameter ...
0
votes
1
answer
85
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 ...
0
votes
1
answer
9
views
Calibration / Tuning Tool Support
Hi,
I've some years of experience in running ROS1 applications and tuning a limited number of scalar and vector parameters by means of rosparam.
For future tasks I'...
0
votes
1
answer
18
views
[Talos] I am trying to launch talos in simulation but gazebo Segmentation fault (core dumped)
Hello,
I was trying to play with talos robot in simulation. I have installed the simulation using this tutorial in ros-melodic ubuntu 18.04. got some errors but I was able to solve it. I have error ...
0
votes
1
answer
7
views
rosparam load key is giving errors when i try to list the parameters available to the node
I created a package called pkg_ros_basics. Then inside that, I created a folder called scripts and inside which i made a folder called config inside which I created a file using touch config_my.yaml ...
0
votes
1
answer
100
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 ...
0
votes
1
answer
15
views
Failed to get parameters after launching .launch file from another .launch file?
I have .launch (turtlebot3.launch) file in which I am launching a node, that needs parameters. I take parameters as argument in launch file (turtlebot3.launch) such as ...
0
votes
1
answer
35
views
roscpp: set / get vector containing infinity from parameter server
Hello everyone,
I would to read a vector containing some infinity components from the ROS parameter server. I have included the following line in the roslaunch:
...
0
votes
1
answer
77
views
roslaunch ros2 equivalent to 'rosparam command="load"'
What is the ros2 equivalent to '<rosparam cmd="load" ../>'?
Looks like there are three possible cases:
loading parameters in the root of the parameter server
loading parameters ...
0
votes
1
answer
41
views
C++ plugin cannot get parameter that has been uploaded to param server later
I want to load parameters from the ROS param server in the Gazebo model plugin. I do not have any problem with getting the parameters thet were set in the launch files, but I run a node that uploads a ...
0
votes
2
answers
93
views
programmatically load yaml parameters in C
Hi all,
I'm trying to load a YAML file into the parameter server programmatically in C++.
I know it is possible with Python, from this question here, but I couldn't find a way to do it in C++.
I'm ...
0
votes
1
answer
165
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-...
0
votes
1
answer
15
views
IOError: [Errno 13] Permission denied: 'params.yaml'
http://wiki.ros.org/ROS/Tutorials/UnderstandingServicesParams
...
0
votes
1
answer
59
views
Setting parameters just work through rqt_reconfigure, not rosparam
Hello ROS developers,
I am currently using this depthimage_to_laserscan package. I wanted to change some parameters (for instance range_min). When I do it in rqt_reconfigure, everything is fine: the ...
0
votes
1
answer
3
views
Show full rosparam filepath
When running a node with roslaunch and loading filepaths into the rosparam server, the terminal output clips the end of the filepath as shown:
...
0
votes
1
answer
45
views
Loading controllers from yaml in namespace
Hi,
(*Using ROS Melodic in Ubuntu)
I am loading a yaml with 4 controllers + joint_state_controller in a namespace. Yaml aspect:
...
0
votes
1
answer
57
views
Pass an argument to a yaml configuration file
I have a configuration file that I am loading in my launch file using rosparam,
...
0
votes
1
answer
73
views
How to read rosparam in a launch file
I am aiming to write a bag recording launch script for two same robots with different storage configuration, hence the stored location for the robots will be different.
The robots name are in ...
0
votes
1
answer
9
views
Cannot read parameters from file in launch file
For example, I just changed the launch file from
...
0
votes
1
answer
37
views
Setting octomap resolution doesn't work
I am working with ROS kinetic and implemented perception with octomap like described in http://docs.ros.org/kinetic/api/moveit_tutorials/html/doc/perception_pipeline/perception_pipeline_tutorial.html ....
0
votes
1
answer
34
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 ...
0
votes
1
answer
23
views
Rosbags record parameter server data?
I am working with some rosbags, rosbag info shows that there are some dynamically reconfigurable parameters which i want to ...
0
votes
1
answer
34
views
rosparam load only part of yaml
Hi,
Is it possible to load only part of yaml file into the parameter server?
My reason for wanting to do this is, suppose you have a properties.yaml file as follows:
...
0
votes
1
answer
24
views
How to get param value in to arg in roslaunch?
I am using ros kinetic
I have ros parameter name "tal"
I want to get this param value into argument tag.
<arg name="tal_arg" value=??? />
...
0
votes
1
answer
83
views
nodehandle parameter
I am reading the tutorial on the website http://wiki.ros.org/roscpp/Overview/Parameter%20Server
But I am not sure understand the following the Default value version.
...
0
votes
1
answer
8
views
Error in template instantiation for ros::NodeHandle::param
I'm trying to get arm_id from the parameter server using function ...
0
votes
1
answer
25
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 ...
0
votes
1
answer
7
views
Can't get double parameter in node (C++)
I have a launch file with:
...
0
votes
1
answer
16
views
ROSLIB.Param.get() callback not executing
Hey all,
Not sure if something is broken, or if I am doing something wrong. I have started the bridge, and got to the point where when I load the page:
...
0
votes
2
answers
174
views
How to get an array of parameters with rclcpp
In ROS1, you could retrieve a list of parameters
The documentation shows get_parameter returning an ParameterVariant but ParameterVariant doesn't seem to have an ...
0
votes
2
answers
48
views
moveit: param server is missing planner configurations
Hello all,
here are the errors,
...
0
votes
1
answer
24
views
How can I set several parameters with a single call of rosparam?
I would like to set several ROS parameters via a single call of rosparam (run in a docker container means loading from .yaml with ...
0
votes
1
answer
28
views
launch move_base : error loading <rosparam> tag
hi ,
i'm trying to launch move_base backage and i used this launch file :
...
0
votes
1
answer
13
views
best practices: when to use parameter server and when not?
Hi,
I was wondering what experiences people have had from using the parameter server...
What cases must you use the parameter server? What types of data would you not read through the parameter ...
0
votes
1
answer
5
views
what is the use of namespace in `rosparam dump [file_name] [namespace]` command?
(https://wiki.ros.org/ROS/Tutorials/UnderstandingServicesParams)
I can understand the namespace use in rosparam load [file_name] [namespace] command in the example ...
0
votes
1
answer
13
views
rosparam set not working
I wanted to change the port for joystick driver from /dev/input/js0 to /dev/input/js1 using ...
0
votes
2
answers
57
views
Load a urdf/xml file as rosparm from a c++ ros node
I have followed the rosparam tutorial. But it dosent show how to load a xml/urdf file as a rosparam.
Specifically, I want to set "robot_description" parameter from a c++ ros node not from a ...
0
votes
2
answers
24
views
ROS master crashing due to XMLRPC error
I restarted my robot, running ROS Kinetic on a Raspberry Pi, and I'm finding that the master node is immediately crashing on startup with the error:
...
0
votes
1
answer
128
views
array of strings as param tag in launch file
Hi,
I'm trying to read an array of strings into my ros node. Here is the line in my launch file
...
0
votes
1
answer
3
views
How to see rosparam on terminal screen?
I have recorded all data in rosbag. When I play it using command rosbag play <bag_name>, I want to see ros_parameters of amcl. When I type ...
0
votes
2
answers
42
views
Loading robot_description dependent on rosparams
There are a few dimensions of my robot model that are subject to change at runtime, and so I would like to use the param server to set and get those values. It was easy enough to set the values, but ...
0
votes
2
answers
90
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 ...
0
votes
1
answer
26
views
Evaluating ROS param in Launch file
Hello All,
I am writing a program for controlling a robot. The robot has to make different motions based on the information of where it is. For accomplishing this, I have written different number of ...
0
votes
1
answer
21
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 ...
0
votes
1
answer
13
views
getParam questions
The var have_calibration is always evaluating to false. I also tried this with just
ros::NodeHandle nh
and in place of that
...