|
PropWare
3.0.0.229
C++ objects and CMake build system for Parallax Propeller
|
10 int lightLeft, lightRight, ndiff;
11 int speedLeft, speedRight;
25 ndiff = 200 * lightRight / (lightRight + lightLeft) - 100;
29 if(ndiff >= 0) speedLeft -= (ndiff * 4);
30 else speedRight += (ndiff * 4);
void drive_speed(int left, int right)
Set wheel speeds in encoder ticks per second. An encoder tick is 1/64th of a revolution,...
This library takes care of encoder monitoring and servo signaling, and provides a simple set of funct...