Open-STEM / XRP_MicroPython

The main programming tool for use with your Experiential Robotics Platform (XRP) Robots!
https://open-stem.github.io/XRP_MicroPython/
10 stars 2 forks source link

differential_drive uses wrong indexes for motors #26

Closed fgrossman closed 1 year ago

fgrossman commented 1 year ago

encoded_motors comments says that the indexes go from 1 - 4, but differential_drive uses indexes 0 and 1

fgrossman commented 1 year ago

Defaults also uses the wrong indexes assuming they are base 1 indexes as in the comments/docs are correct.

ksiegall commented 1 year ago

Yea they were originally base zero indexed but I changed it so that motors 3 and 4 would correspond to indexes 3 and 4. Just made that change, will be fixed in the next version