Home | Tutorials | Wiki | Issues
Ask Your Question

Visualizing friction?

asked 2015-06-30 15:56:08 -0600

mikepurvis gravatar image

I'm trying to simulate a mecanum wheel using a plugin which dynamically sets directional friction (related question). One of the tricky parts is that it's difficult to assess whether my plugin is having the desired results without a way to visualize the friction— I can show the contact points between the wheels and the ground plane, but fdir1/mu/mu2 are completely opaque.

Is there some way to visualize these which I'm not seeing, or a plugin which can add an overlay to gzclient?


edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2015-07-01 18:58:24 -0600

As far as I know, there isn't a way to visualize friction forces in the 3D scene, but it should be possible to implement a plugin for that.

If all you want is to check the values for mu, mu2 and fdir1, they should be visible on the left panel, just find the link you're interested in and check its collision -> surface -> friction. Unfortunately, you will need to reopen the the panel to refresh the numbers (click again on the link's name and see the Property/Value panel update.

I've never tried to change friction dynamically though, so there's a possibility these values might not update (in that case we should create an issue for that).

edit flag offensive delete link more


It does seem that they update (in the sidebar) in response to my plugin changing them. However, values alone are pretty much meaningless, especially when it's not super clear from the Gazebo documentation what direction the primary friction vector is even relative to.

mikepurvis gravatar imagemikepurvis ( 2015-07-02 09:14:22 -0600 )edit
Login/Signup to Answer

Question Tools


Asked: 2015-06-30 15:56:08 -0600

Seen: 398 times

Last updated: Jul 01 '15