Home | Tutorials | Wiki | Issues
Ask Your Question
0

Restricting movement using random velocity plugin

asked 2019-11-20 12:02:38 -0600

I am currently using random velocity plugin for moving blocks in my gazebo enviorment. Unfortunately, I am unable to restrict this random movement inside grid size of 2*2 i.e my block should never escape the grid. In other words it should change its velocity to opposite direction whenever it reaches edge of grid. Does anyone knows how can I achieve this?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-11-20 20:17:09 -0600

chapulina gravatar image

It looks like the plugin can clamp velocity but not position yet. Here's the source code in case you want to create your own version which supports clamping position.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2019-11-20 12:02:38 -0600

Seen: 23 times

Last updated: Nov 20