Skip to main content

Questions tagged [parameter-server]

Filter by
Sorted by
Tagged with
0 votes
1 answer
29 views

Managing ROS2 params

I have a ros2 robot which needs to run across different warehouses with different environment configurations eg., door_height, corridor_length etc. I am using a NAV2 based architecture using plugins ...
Kushal's user avatar
  • 3
0 votes
0 answers
73 views

ROS2 most appropiate way for central data storage

I am currently working on a ROS2 project that includes various components, such as a behavior tree, sensor processing, and a GUI. I'm in need of a central data storage solution where each component ...
guerteltier's user avatar
0 votes
1 answer
71 views

How to declare parameter that are only known at runtime

I'm currently facing an issue with the ros2 parameters. I'm not sure how to approach this, from Iron on ros2_controller creates a node without the node options ...
saikishor's user avatar
0 votes
1 answer
16 views

Understanding Parameters - Changing & Using New Value On The Fly

I am new to ROS. I am using Python 3 and ROS Noetic on Ubuntu 20.04. I need help understanding parameters. Currently, I use a launch file to set parameters and in the C++ publisher code I do a ...
user avatar
0 votes
1 answer
4 views

Parameters Still Exists After Shutting Down All Nodes In Docker?

This is a continuation of this question It does make sense to me that the built-in parameter server should not persist after shutting down the ROS Master. However, I am only using the built-in ROS ...
user avatar
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 ...
user avatar
0 votes
1 answer
258 views

How to get ROS2 parameter hosted by another Node

Hello, I have been looking through the documentation and can not find any means to get or set parameters of other nodes than the one that has declared the parameters. Is this by design or is there a ...
user avatar
0 votes
1 answer
11 views

Updated value in Parameter server not reflecting in real time Camera

Hi all, I am using two cameras and I have a .yaml file having the parameter list like fps, Width and length of the image, Pixels and few more. I have created a parameter server and have stored the ...
user avatar
0 votes
1 answer
1 view

Tell me how to use parameter server with rosjava

I want to make parameter server with rosjava. But I can not. As far as I've looked up, I can not find the latest information on parameter server anywhere. That's why I want you to help me I want to ...
user avatar
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 ...
user avatar
0 votes
1 answer
1 view

Where does the parameter server store data?

Where on disk does the parameter server store data to when it's not running? Originally posted by Cerin on ROS Answers with karma: 940 on 2018-02-02 Post score: 0
user avatar
0 votes
2 answers
20 views

How to pass a parameter of type double as an input to a roscpp node?

I'm trying to pass a variable of type "double" to a roscpp node as a command-line variable. E.g. $ rosrun package_name node_name parameter:=0.1 And then ...
user avatar
0 votes
1 answer
3 views

high-performance status checking

Each time I read and write from and to the servos in my symmetric robot, I want to check a mode that determines which servos to talk to (the frames of this robot can change while it's running). ...
achille's user avatar
  • 363
0 votes
1 answer
7 views

Can rosserial set parameters?

The rosserial parameter documentation shows getting parameters from the parameter server, but not setting parameters. Is there a way to set parameters from rosserial? I'm guessing not, since the ...
user avatar
0 votes
1 answer
17 views

How to get/set a "system state" in ROS?

I'm porting a system to ROS that will be composed of several nodes linked by topics in a chain-like structure, in a way that each node produces some data to be consumed by the callback of the next ...
user avatar
0 votes
1 answer
50 views

How to see all parameters in the parameter server?

Hello everyone ! I use the eband_local_planner for the navigation of my robot in simulation. The problem is that when I type the command rosparam list, I can't see ...
user avatar
0 votes
1 answer
7 views

change reconfiguration gui content during runtime

Hello, is there a way to generate the content of the reconfiguration GUI during runtime? For instance a drop down list where it's content is decided after program start. I know the variables are ...
user avatar
0 votes
1 answer
2 views

reading parameter in c

Hello, I am trying to read parameters in my program based on this example http://wiki.ros.org/Parameter%20Server Here is code snippet ...
user avatar
0 votes
1 answer
8 views

In Roscpp, can I access parameters from different nodes?

Example: I have always the same node type, lets say with a parameter named "shape" I make one node (node A) with shape = "square" I make a second node (node B) with shape = "...
user avatar
0 votes
1 answer
4 views

Append parameters to parameter server using YAML files

Hi, Is there a way to avoid overwriting parameters when being loaded from a launchfile using a YAML file? For example, I have two YAML files like the following: config1.yaml ...
Gary Servin's user avatar
0 votes
2 answers
17 views

Best way of sharing parameters/flags among nodes which donot change much?

i have to share some flags which do not change much among 4-5 nodes .A node named SERVER is changing the flags and thats very rarely. I have to check the value of flags at the rate of 10hz in other ...
user avatar
0 votes
1 answer
34 views

Best way to pass parameters to a service

Hi, It may seem a trivial question, but I couldn't find a good answer in the internet. I would like to write a service (NOT a node) that receives some parameters in input, but I couldn't find a way to ...
user avatar
0 votes
1 answer
4 views

Getting hierarchy level of yaml parameter

Hi, I want to use ros param to traverse files like this: ...
user avatar
0 votes
2 answers
1 view

String parameter is ignored if numeric, why?

I am requesting a string parameter from the parameter server in ROS Groovy like this: ...
user avatar
0 votes
1 answer
42 views

How to find out if Rosmaster is running yet?

I am trying to debug a node that is supposed to publish a "shutdown message" to a topic. Since I am running rostests on my nodes, this message is supposed to get published fairly early ...
user avatar
0 votes
1 answer
10 views

Best practice for online re-configuration between nodes

Dear all, I'm looking for the best way to achieve the following (in cpp on Fuerte). At the moment, I have one node which should be dynamically reconfigurable (i.e.: start, stop, set camera frame rate)....
user avatar
0 votes
1 answer
18 views

dynamic reconfigure: How explicity fetch data from parameter server?

I have a dynamic reconfigure server. In my application, eventually an update of the parameter server is done. However these changes are not notified to the dynamic reconfigure server. I would love to ...
Pablo Iñigo Blasco's user avatar
0 votes
3 answers
46 views

Programatically load yaml config file to the Parameter Server in Python

How should I do that? I've looked up along the roslaunch and dynamic reconfigure code but I don't find it. Do you know any standard function to do it? By the momment I've done this (but I understand ...
Pablo Iñigo Blasco's user avatar
0 votes
1 answer
1 view

Sharing a matrix/graph, maybe with the parameter server?

For a range of experiments I need to be able to define the adjacency matrix for the various robots to define a connected graph. What is the best way to have such a graph/matrix be available to all the ...
user avatar
0 votes
1 answer
8 views

Can't make "getParams" work in C++

I'm able to set params but when I get them, it returns success with the wrong value. double myDouble = 7.7; _node.setParam("/my_double", myDouble); double myDoubleFromRos; std::cout << ...
user avatar
0 votes
1 answer
6 views

openni_tracker has problem opening database/parameter File

I'm trying to use the openni_launch and openni_tracker packages. I made a package called kinect_hmi and a launch file which launches both the openni_launch file and openni_track. When I tested this ...
user avatar
0 votes
1 answer
4 views

rosrun string parameter syntax

I am trying to read an integer parameter as string however ros::param::get() does not read it. ...
user avatar
0 votes
1 answer
1 view

Repeated calls to rosjava parameter server produce unexpected results

During repeated runs with a rosjava master mixing java and C++ nodes (all on Windows, compiled with MSVC), it appeared that a socket connection was dying within the Java code. After some period of ...
user avatar
0 votes
1 answer
2 views

knowing when a parameter is updated

From http://www.ros.org/wiki/ROS/Parameter%20Server%20API or from the NodeHandle API (the getParamCached methods) we see that it is possible to have a parameter cached and updated locally on changes. ...
user avatar
0 votes
1 answer
11 views

Difference between using dynamic_reconfigure and using getParam at runtime

I am trying to understand the benefits of the dynamic reconfigure package. From the tutorials, it seems like it creates a new server to handle a fixed number of changing parameters. What is the ...
user avatar
0 votes
1 answer
1 view

multi-threaded rospy.get_param() crashes: CannotSendRequest and ResponseNotReady

Hi all, I work with the sushi repository from the ICRA Mobile Manipulation Challenge. When instantiating the ArmMover I get "CannotSendRequest" and "ResponseNotReady" exceptions. ...
user avatar
0 votes
1 answer
1 view

doubt about xacro

Hi everyone! I have a doubt about XACRO. Is possible from xacro to read a parameters in the Parameters Servers? Thanks! Originally posted by Ivan Rojas Jofre on ROS Answers with karma: 70 on 2012-06-...
user avatar
0 votes
1 answer
19 views

getParamCached in rospy?

is there a version of getParamCached() in rospy? In roscpp: "ros::NodeHandle::getParamCached() and ros::param::getCached() provide local caching of parameter data. Using these versions informs ...
user avatar
0 votes
2 answers
47 views

Dynamic reconfigure default parameters

I am writing a node which accepts certain parameters. I would like to be able to pass them through a launch file, as well as make them dynamically reconfigurable. What are the best practices regarding ...
user avatar