Library for the m3pi robot. This works with a Pololu 3pi robot with the Serial Slave firmware, and exposes and API. Added a read sensors function
Dependents: pololu_mpi3_V2 pololu_mpi3
Fork of m3pi by
REZO
Diff: m3pi.cpp
- Revision:
- 11:192ada9c140c
- Parent:
- 10:b84673574e1a
--- a/m3pi.cpp Sun Nov 22 02:25:53 2015 +0000 +++ b/m3pi.cpp Sun Nov 22 02:46:41 2015 +0000 @@ -43,11 +43,11 @@ } void m3pi::left_motor (float speed) { - motor(1,speed); + motor(0,speed); } void m3pi::right_motor (float speed) { - motor(0,speed); + motor(1,speed); } void m3pi::forward (float speed) {