Setting wheel velocity control without oscillation ?

asked 2018-09-06 08:46:48 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hello altruists, I am having a hard time in simulation of a robot in Gazebo, all other joints are position control only wheel is velocity control. but in my robot is not jittering on surface. My goal is to move it smoothly over horizontal or sloped surface. What is better way to control velocity?Whole robot weights 130 Kg in simulation. I cant use skid steer or differential drive transmission as wheel separation varies.

In the URDF:

 <gazebo reference="wheel_front_left">

  <joint name="omega_front_left" type="continuous">
<parent link="force_torque_sensor_link_front_left"/>
<child link="wheel_front_left"/>
<origin rpy="0.0 -1.570796 0.0" xyz="-0.15 0 0 "/>
<axis xyz="0 0 1"/>
  <limit effort="2000" velocity="1.570796327"/>
<dynamics damping="0.7" friction="0.02" /> <!-- -->  

<transmission name="t_omega_front_left">
<joint name="omega_front_left">
<actuator name="m_omega_front_left">
<!--      <motorTorqueConstant>1580</motorTorqueConstant> -->


    <gazebo reference="omega_front_left">
    <!--   <cfm_damping>1</cfm_damping>
    <implicit_spring_damper>1</implicit_spring_damper> -->  

in the joint control configuration:

type: effort_controllers/JointVelocityController
joint: omega_front_left
pid: {p: 5000.0, i: 0.01, d: 0.0}

image description

any suggestion is welcome.

edit retag flag offensive close merge delete