Home | Tutorials | Wiki | Issues
Ask Your Question
0

Gazebo video game controller: how to hold it in gazebo?

asked 2019-05-12 20:01:38 -0500

tristochief117 gravatar image

I have a model of a controller (similar to htc vive or oculus rift hand tracking controller), which senses motion and then records its position. If I wish to test this model inside gazebo under different conditions, how would I do that?

For example, I want to move the controller forward and backwards at a certain speed, move it up and down, move it on a locus/non linear trajectory, etc. How would one go about doing this?

I thought about using 'actors' but actors are unaffected by physics and so the sensors (imu sensor) does not work.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-05-13 09:59:15 -0500

chapulina gravatar image

I want to move the controller forward and backwards at a certain speed, move it up and down, move it on a locus/non linear trajectory, etc. How would one go about doing this?

I'd use a model plugin and make direct physics calls to apply forces to the model.

I thought about using 'actors' but actors are unaffected by physics and so the sensors (imu sensor) does not work.

Yeah, actors are animations, so not appropriate here. I'd use a box with sensors, and make sure to give it reasonable inertia values.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2019-05-12 20:01:38 -0500

Seen: 39 times

Last updated: May 13