Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If caster angle is set to 5.1 degrees on the steering joints, front wheels slide around on mcity world #2

Open
sloretz opened this issue Jun 21, 2017 · 5 comments

Comments

@sloretz
Copy link
Collaborator

sloretz commented Jun 21, 2017

If the rpy attribute on the steering joints are changed to have caster angle, the car will wiggle and rotate on the mcity world. The car does not wiggle on the ground plan in empty.world.

<joint name="front_left_steer_joint" type="continuous">
    <parent link="chassis"/>
    <child link="fl_axle"/>
    <origin xyz="0.767 -1.41 0.3" rpy="-0.0 0 0"/>
    <axis xyz="0 0 1"/>
    <limit lower="-0.8727" upper="0.8727" effort="10000000" velocity="1000000"/>
  </joint>
  <joint name="front_right_steer_joint" type="continuous">
    <parent link="chassis"/>
    <child link="fr_axle"/>
    <origin xyz="-0.767 -1.41 0.3" rpy="-0.089 0 0"/>
    <axis xyz="0 0 1"/>
    <limit lower="-0.8727" upper="0.8727" effort="10000000" velocity="1000000"/>
  </joint>
@scpeters
Copy link
Member

I'll take a more detailed look at this once I get back to the office. In the meantime, do you have a screenshot the joint visual with contact points visualized? Or a screen capture of the wobble?

@rohitsalem
Copy link

Hi ! Is this issue fixed or any leads on this? Here is a gif. which shows the sliding. And to mention the same problem persists when I spawn the Prius model in raceway.world too.
sliding_prius

@ptiwari0664
Copy link

Hello, Did you find any solution of it ??
I am having the same issue. Above mention wobble happens even when i didn't change anything (i.e. with the same steering wheel angle).

Does anyone has any lead on this. The advises and solutions are most welcome.
Thanks in advance !!!

pushkalkatara pushed a commit to pushkalkatara/prius_gazebo that referenced this issue Mar 2, 2019
@plumewind
Copy link

me too!
anyone can help?thanks a lot

@plumewind
Copy link

plumewind commented Sep 3, 2020

hello,
I have solved it !

in the prius.urdf:

 < link name="fl_axle">
    < inertial>
      < mass value="1"/>
      < origin xyz="0 0 0"/>
      < inertia ixx="2" ixy="0" ixz="0" iyy="2" iyz="0" izz="2"/><!--it is very important !-->
    < /inertial>
  < /link>
  < link name="fr_axle">
    < inertial>
      < mass value="1"/>
      < origin xyz="0 0 0"/>
      < inertia ixx="2" ixy="0" ixz="0" iyy="2" iyz="0" izz="2"/><!--it is very important !-->
    < /inertial>
  < /link>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants