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

How to limit the moving range of interactive markers?

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

Huskinu gravatar image

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

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

Comments

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 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

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

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

2 followers

Stats

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

Seen: 310 times

Last updated: Jan 15 '17