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

model with different friction

asked 2022-07-29 21:14:04 -0600

mercury gravatar image

updated 2022-07-30 13:44:34 -0600

Mike Scheutzow gravatar image

I am trying to create an SDF object in gazebo that has different surface friction values at different points to test how controller respond to the ground changing. Is it possible to do this using SDF?

edit retag flag offensive close merge delete

Comments

Have you done a search at https://answers.gazebosim.org ?

Mike Scheutzow gravatar image Mike Scheutzow  ( 2022-07-30 07:44:08 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-07-30 13:40:57 -0600

Mike Scheutzow gravatar image

updated 2022-07-30 19:32:10 -0600

I haven't tried this, but I would look at creating multiple rectangular models, each having different friction properties, then position instances of these models so they form a continuous surface. If you make the z-dimension very short, you could even place them on top of a standard ground plane (so there's no edge-of-world for your robot to fall off of.)

Follow-up thought: I assume you are aware that gazebo's ODE friction calculations are very crude. Don't be surprised if your simulation results seem quite unrealistic.

edit flag offensive delete link more

Comments

that is a very good idea, thank you!

mercury gravatar image mercury  ( 2022-08-01 06:44:34 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2022-07-29 21:14:04 -0600

Seen: 69 times

Last updated: Jul 30 '22