If the maximum wheel speed is e.g. set to 20, then I can read that the values sent to
Code: Select all
wheels->SetLinearVelocity(left_, right_);
Code: Select all
const CCI_DifferentialSteeringSensor::SReading& steeringData = steeringSensor->GetReading();
interWheel = steeringData.WheelAxisLength * 0.01;
distR = steeringData.CoveredDistanceRightWheel * 0.01;
distL = steeringData.CoveredDistanceLeftWheel * 0.01;
However, visually, the robot keeps rotating at one spot, as if one wheel was not getting any actual speed. It is only when another robot comes and hits it so that it moves a bit that the robot actually continues moving correctly.
Needles to say, this completely screws up odometry. Have you every noticed anything similar? Is there an easy fix?