Revision a739cdbd
Temporary, possibly broken, commit to add EncodersControl.
Sorry - my ros build is broken. I will immediately debug on Priya's machine.
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