How to get in ros2 rqt_reconfigure a pulldown menue?
Hi,
I was able to create ROS2 parameters with limits which do pop up in the rqt_reconfigure with a slide bar?
rcl_interfaces::msg::ParameterDescriptor descriptor;
rcl_interfaces::msg::IntegerRange range;
range.set__from_value(0).set__to_value(100).set__step(1);
descriptor.integer_range= {range};
this->declare_parameter("test", 1, descriptor);
Is there also a way to get a pull-down menu with options to select, similar to the old dynamic_reconfigure of ROS1?
Thanks
Asked by Markus Bader on 2022-02-21 09:50:33 UTC
Comments
I also have same question. Please help !! I have tried to use yaml file to make parameter as an int array. However, this does not make it a drop-down menu. Instead, I can not see it on the rqt and need to use command to see the value. Need some others help to answer it.
Asked by bryan on 2023-06-19 20:35:30 UTC