Project

General

Profile

Revision a739cdbd

IDa739cdbdf1aa1f24659aae5e11d1401087cfcd65

Added by Alex Zirbel about 12 years ago

Temporary, possibly broken, commit to add EncodersControl.

Sorry - my ros build is broken. I will immediately debug on Priya's machine.

View differences:

scout/libscout/src/behaviors/draw_cw_circle.cpp
31 31
    {
32 32
        motors->set_sides(20, 80, MOTOR_ABSOLUTE);
33 33

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

  
36
        ROS_INFO("Encoders: %d %d %d %d", readings.fl_ticks, readings.fr_ticks, readings.bl_ticks, readings.br_ticks);
37

  
34 38
        spinOnce();
35 39
        loop_rate->sleep();
36 40
    }

Also available in: Unified diff