Quantcast
Channel: Gazebo: Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 7017

How to set friction direction in gazebo

$
0
0
Hello, I am trying to set different friction coefficients in the different x-y link direction. For that i am using the ` , and ` tags provided especially for that purpose. But for some reason the friction coefficients are applied by GAZEBO in the world frame and not the link frame. In order to test the issue I placed same box, with different `` and `` on the ground plane in two orientation (perpendicular to each other) and applied increasing gravity in x direction. Here is the sdf of the ground plane **(i use same friction in both directions)** : true0 0 1100 1001001001 0 0false0 0 1100 100 Here is the sdf of a box that i use for tests **(i set high friction in x direction, and low friction in y direction)** : false0 0 0.5 0 0 02 1 10.31001 0 00 0 -0.4 0 -0 0501001012 1 1 As i increase the gravity in x (world) direction both boxes start to slide simultaneously and with the same speed. if i increase the gravity in y (world) direction the boxes do not move. ![image description](/upfiles/14419160585444663.png) What am i doing wrong here ?

Viewing all articles
Browse latest Browse all 7017

Trending Articles