Project

General

Profile

Revision c33e5aa4

IDc33e5aa41535c1df73bfc442a5ab404eb8e8e2cf
Parent 4026134b
Child bf68fc90, 97c5c430

Added by Alex Zirbel about 11 years ago

Fixed CW and CCW circle behaviors to turn the right way XD

View differences:

scout/libscout/src/behaviors/draw_ccw_circle.cpp
29 29
{
30 30
    while(ok())
31 31
    {
32
        motors->set_sides(80, 20, MOTOR_ABSOLUTE);
32
        motors->set_sides(20, 80, MOTOR_ABSOLUTE);
33 33

  
34 34
        spinOnce();
35 35
        loop_rate->sleep();
scout/libscout/src/behaviors/draw_cw_circle.cpp
29 29
{
30 30
    while(ok())
31 31
    {
32
        motors->set_sides(20, 80, MOTOR_ABSOLUTE);
32
        motors->set_sides(80, 20, MOTOR_ABSOLUTE);
33 33

  
34 34
        encoder_readings readings = encoders->query();
35 35

  

Also available in: Unified diff