Ask Your Question
2

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

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

Seen: 1,656 times

Last updated: Oct 10 '17