Hi everyone,
I'm a newbie on this forum and globally on robotics.
I started a few months ago the build of an autonomous car (https://medium.com/@MAC1project/episode-1-one-car-to-rule-them-all-94f705ea9737) from scratch using :
- Dagu Rover 5 - 2 motors - 2 encoders
- Raspi 3
- Explorer board RS017
- Sensors: ultrasonic, sharp IR, neato lidar
- ...
All my code is in NodeJS, yes yes, nodeJS :)...
I manage to drive manually the robot using my smartphone (either joystick or accelerometer).
I manage to start an autonomous mode V0 using ultrasonic sensor and IR sensor.
Comes the time to odometry, mapping and robot localization ==> ENCODER TIME
I have a strange behaviour :
- If i manually turn the left wheels it increments BOTH left encoder ticks and a little bit the right encoder ticks. ==> How that possible?
- If i manually turn the right wheels it increments ONLY right encoder ticks
Here under few lines of code :