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

Has anyone worked with a mobile robot simulation on terrain in Gazebo? [closed]

asked 2012-07-06 18:10:57 -0500

ChickenSoup gravatar image

updated 2016-05-17 02:31:29 -0500

Hi all,

I was wondering if anyone here has worked on a terrain robot (3D) in Gazebo simulation. What I would like to know is,

  • how to write a base controller so that it can travel on inclined planes and stay still without being dragged by the gravity when it stops. --> I implemented one similar to the pr2 base controller but it cannot do the above; need some help on this

Thank you in advance

CS

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Martin Günther
close date 2016-05-17 03:29:29.452351

2 Answers

Sort by » oldest newest most voted
5

answered 2012-07-23 05:55:52 -0500

updated 2012-07-23 05:58:00 -0500

I have uploaded (but not yet fully documented) our editor for easily creating NIST standard test arena scenarios (for example used for in the RoboCup Rescue competition) and assorted packages here. You can check it out (currently only works for electric, fuerte branch will be updated later) and try

roslaunch hector_nist_arena_worlds go2011_arena.launch

This should spawn a gazebo version of the RoboCup German Open 2011 arena. It has multiple roll/pitch ramps and is used at Team Hector to simulate our wheeled UGVs inside the arena.

Looks like this:

image description

With the hector_nist_arena_designer you can even build other scenarios out of the available building blocks (walls, ramps, etc.) or define new building blocks (click on "help" in the editor for further info).

A hilly outdoor terrain is available in the hector_gazebo_worlds package and can be started using

roslaunch hector_gazebo_worlds rolling_landscape_120m.launch
edit flag offensive delete link more

Comments

Thank you very much @Stefan Kohlbrecher. However, I am looking for a base controller implementation, which is similar to PR2 (with casters, which makes the wheels steer). I can't keep my robot stationary on slopes. If someone has already implemented one, it would really help me to understand.

ChickenSoup gravatar image ChickenSoup  ( 2012-07-23 17:33:40 -0500 )edit

Sorry, didn't get the question correctly. Do the casters rotate around the vertical axis on slopes or does the whole robot just slide down slopes with the casters staying in position?

Stefan Kohlbrecher gravatar image Stefan Kohlbrecher  ( 2012-07-23 21:37:34 -0500 )edit

@Stefan Kohlbrecher casters stay in position-no problem with that.robot doesnt slide but the controller isnt capable of keeping the wheels locked (0velocity)when no motion command is given.actually in pr2 base controller it gives 0velocity to the wheel joint when no external motion command is given.

ChickenSoup gravatar image ChickenSoup  ( 2012-07-24 00:48:02 -0500 )edit

@Stefan Kohlbrecher We can see this behavior if we try to move the PR2 on a ramp in gazebo. pr2 slowly moves down the ramp due to gravity. i know it is a problem with the base controller.I just need some help or some pointers how to implement it correctly.

ChickenSoup gravatar image ChickenSoup  ( 2012-07-24 00:48:44 -0500 )edit

Looks great, can't wait for the fuerte release

phil0stine gravatar image phil0stine  ( 2012-07-25 09:51:01 -0500 )edit
0

answered 2013-12-20 14:50:20 -0500

ChickenSoup gravatar image
edit flag offensive delete link more

Question Tools

5 followers

Stats

Asked: 2012-07-06 18:10:57 -0500

Seen: 2,873 times

Last updated: May 17 '16