Project

General

Profile

Revision d140fd71

IDd140fd71ddd19ef38a0124cbbea1165874a5474d
Parent 8a4624e7
Child 479d25d8

Added by Yuyang about 4 years ago

Added Sensors class that abstracts away sensors from behaviors. Stops creating
duplicated sensors for each scout.

View differences:

scout/libscout/src/behaviors/draw_ccw_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
        spinOnce();
35 35
        loop_rate->sleep();

Also available in: Unified diff