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...
View ArticlegetParamCached 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 the...
View Articlemulti-threaded rospy.get_param() crashes: CannotSendRequest and ResponseNotReady
Hi all, I work with the sushi repository from the [ICRA Mobile Manipulation Challenge](https://kforge.ros.org/Sushi/trac/wiki). When instantiating the *ArmMover* I get "CannotSendRequest" and...
View ArticleDifference between using dynamic_reconfigure and using getParam at runtime
I am trying to understand the benefits of the dynamic reconfigure package. From the [tutorials](http://www.ros.org/wiki/dynamic_reconfigure/Tutorials/SettingUpDynamicReconfigureForANode%28cpp%29), it...
View Articleknowing 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....
View ArticleRepeated 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 time...
View Articlerosrun string parameter syntax
I am trying to read an integer parameter as string however ros::param::get() does not read it. std::string my_param; if (ros::param::get("~x", my_param)) { ROS_INFO("value=%s", my_param.c_str()); }...
View Articlerosparams vs. command line arguments for initialization
In my understanding, nodes can get initialization arguments in two ways: 1. rosrun or roslaunch xml files can pass command line arguments straight to the main method 2. the node can use the ros...
View Articledoubt about xacro
Hi everyone! I have a doubt about XACRO. Is possible from xacro to read a parameters in the Parameters Servers? Thanks!
View ArticleCan'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 << "get...
View Articleopenni_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...
View ArticleProgramatically load yaml config file to the Parameter Server
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...
View ArticleSharing 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...
View Articledynamic 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...
View ArticleBest 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)....
View ArticleHow 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 after I launch...
View ArticleString parameter is ignored if numeric, why?
I am requesting a string parameter from the parameter server in ROS Groovy like this: ros::NodeHandle node_ns("~"); std::string rotations; node_ns.param("rotations", rotations, std::string("0")); When...
View ArticleRandom Node Crashes Over The Network
I am currently running into a problem that only occurs when trying to run nodes over the network. Let me explain the use case I have. I am currently using Groovy. I start a roscore on my local machine...
View ArticleGetting hirachy level of yaml parameter
Hi, I want to use ros param to traverse files like this: pcl_filter: filter: filter_cascade_1: in: cloud_in out: cloud_out filter: first_applied_filter: - config_for_filter_1 - config_for_filter_2...
View ArticleBest 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...
View Article