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

How to limit the moving range of interactive markers?

asked 2017-01-14 23:37:36 -0600

Huskinu gravatar image

updated 2017-01-15 02:16:21 -0600

I'm following the Interactive Markers tutorial, is there anyway that we could set a limit to the interactive markers? For example, we just want to move them within some specific closed region.

edit retag flag offensive close merge delete


I've seen this done, so I know it's possible, but I'm not sure how it was done.

ahendrix gravatar image ahendrix  ( 2017-01-14 23:44:04 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2017-01-15 03:56:54 -0600

Huskinu gravatar image

Ok, I managed to update the marker pose back to last saved position if I detect it is moved (by user) out of pre-defined limited region. We can set it in a callback insalled for the interactive marker server!

edit flag offensive delete link more

Question Tools



Asked: 2017-01-14 23:37:36 -0600

Seen: 305 times

Last updated: Jan 15 '17