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

moving a box in the air with gazebo

asked 2011-12-13 23:39:16 -0600

Maurizio88 gravatar image

hi all, i want to move a simple box in the space, with gazebo. i launched a simple world and a simple box not affected by gravity. I want to move the box in the three dimensions.

how can i do it?

by kayboard with a node? by services and applying wrenches?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2011-12-14 01:10:21 -0600

jimmycuff gravatar image
edit flag offensive delete link more
0

answered 2011-12-14 02:12:11 -0600

DimitriProsser gravatar image

Applying body wrenches will help you to achieve rotation, but linear motion is much more difficult.

Here's what I would do:

  • Create a fake link at some position on the ground.

  • Connect your model to the fake link using 3 prismatic joints and 3 revolute joints, one for each axis.

  • Write a Gazebo controller to subscribe to cmd_vel messages and move your model accordingly.

  • Use a keyboard teleop node to publish cmd_vel messages to the controller.

I actually don't think I've seen anything like this done yet. It seems like it would be useful for quadrotors and other flying objects. I think that I might go ahead and see if I can come up with a nice, generic package for this.

edit flag offensive delete link more

Comments

hi, actually i want do it for piloting a quadrotor. Obviously, it's a restrictive simulation.
Maurizio88 gravatar image Maurizio88  ( 2012-01-15 19:06:17 -0600 )edit

Question Tools

Stats

Asked: 2011-12-13 23:39:16 -0600

Seen: 3,971 times

Last updated: Dec 14 '11