ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
3

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

asked 2015-10-09 10:34:26 -0500

d.fenucci gravatar image

updated 2015-10-13 06:41:26 -0500

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() that accepts an unsigned int& as second parameter.

Are there any other solutions except from casting the variable?

Thanks in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-10-10 08:36:51 -0500

Felix Widmaier gravatar image

No, I am afraid casting is the only feasible option.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2015-10-09 10:34:26 -0500

Seen: 2,388 times

Last updated: Oct 10 '17