Skip to main content

Questions tagged [getparam]

The tag has no usage guidance.

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

get_parameter() colcon build error `no matching function for call`

I have create a ros2 node which simply declares and get parameter. I am getting the following error. ...
Pratham's user avatar
  • 63
0 votes
0 answers
5 views

Set different values of the same parameter for different instances of the same node

It is my first post so correct me if I'm doing something wrong :) I created two instances of the same node: ...
fabio's user avatar
  • 1
0 votes
1 answer
13 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
2 answers
5 views

How to pass private parameters to multiple instances of node?

I have created a package containing a rospy node that I wish to be able to launch from arbitrary other packages with custom arguments with each launch eg. myex.py ...
user avatar
0 votes
1 answer
25 views

[ROS 2] layered yaml config file

Hi, I came across an example of a yaml file: ...
user avatar
0 votes
1 answer
10 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
22 views

Retrieve list of lists from yaml file / parameter server

I have a yaml file with a list of 3D points: ...
user avatar
0 votes
1 answer
55 views

Retrieving parameters from nodes (rclpy)

I've followed the tutorial here on how to pass parameters to ROS2 nodes here: https://index.ros.org/doc/ros2/Tutorials/Node-arguments/ I've made it to the point where the following command on my ...
user avatar
0 votes
1 answer
13 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: ...
user avatar
0 votes
1 answer
25 views

getParam question

I seem to be unable to gain access to params passed to node....I want to read them from a callback. ...
user avatar
0 votes
1 answer
9 views

Can not retrieve parameters

I am running ur5_moveit_config demo.launch from ros-industrial's universal robot package and I'd like to control it from my node....
user avatar
0 votes
1 answer
11 views

Bug in ros::NodeHandle::searchParam()?

Hi all, according to my understanding of searchParam(), the second if condition in the following code snippet should never be ...
user avatar
0 votes
1 answer
8 views

getParam returning wrong values

I'm currently trying to get user and tool frame information from the parameter server. They're arrays with 6 doubles, [x,y,z,w,p,r]... when I'm use nh.getParam("userframe",std::vector ...
user avatar
0 votes
1 answer
22 views

getParam a nested std::map

I am writing a node that will read a YAML file (loaded from roslaunch) with the following structure: ...
user avatar
0 votes
1 answer
6 views

Get param from a parrallel namespace

I try to figure out the best way to get param from a parallel namespace in my node code. Here is my use case : I have a parameter b in namespace /a/ A node launch in namespace /c/d/ where I try to ...
user avatar
0 votes
1 answer
59 views

Node not able to get its namespace parameters

My code looks like: rospy.init_node('images_feeder', anonymous=True) params = rospy.get_param('~') I'm pretty sure it used to work "before", but now it ...
user avatar
0 votes
1 answer
4 views

roscpp relative vs global parameter (tutorial)

Hello, I thought I understood the concept of global and relative. But apparently while doing the tutorial ...
user avatar
0 votes
1 answer
5 views

Reusing nodes by renaming them

I'm currently working on a small project that involves the mux from the topic_tools package. The question isn't directly related ...
user avatar
0 votes
1 answer
10 views

Is there a way to get a parameter from the Parameters Server as unsigned type?

I would like to interpret a parameter in the .launch file as unsigned int, but I can't find (in ROS indigo) a function getParam()...
user avatar
0 votes
1 answer
3 views

Load 2D parameter from parameter server

Hi all, I have a YAML file which successfully loads the following into the server: ...
user avatar
0 votes
3 answers
5 views

Get the name of a sub-parameter, not the whole structure

I have a YAML file with a structure like the following: ...
user avatar
1 vote
2 answers
38 views

How to read a vector<strings> parameter from command line

Hi I have a std::vectorstd::string parameter and I like to read the values getParam. How does the command line syntax look to read my names param from bash. e.g. rosrun my_pgk my_node _names:=??????? ...
user avatar
0 votes
1 answer
1 view

Max frequency to look up parameters

I'm in the early stages of building the brains of my robot and have a question about best practices. The nodes that I'm working on have certain values that will change frequently during tuning, so ...
user avatar
0 votes
1 answer
2 views

Why can't I 'get' my rosrun parameters?

I have a node that should be able to run other nodes. It has a basic method of doing so using system("rosrun myproject Robot robotname:='Botty'"); This ...
user avatar
0 votes
1 answer
2 views

Cannot retrieve existing param

Hi, It seems I cannot retrieve an existing parameter using roscpp, neither using the node handle nor ros::param. What I want to do is access parameters of a different node. For example, let's consider ...
user avatar
0 votes
1 answer
4 views

ros getparam() question

Hi all, In reading the tutorial "http://wiki.ros.org/roscpp/Overview/Parameter%20Server", I'm confused in understanding "nh.getParam("/global_name", global_name)". Should ...
user avatar