Revision 1170
added read encoders command
trunk/code/projects/diagnostic_station/station/robot_comm.c | ||
---|---|---|
81 | 81 |
|
82 | 82 |
send_command_packet (station_robot_set_bom, data, 2); |
83 | 83 |
} |
84 |
|
|
85 |
void robot_read_encoders () |
|
86 |
{ |
|
87 |
send_command_packet (station_robot_read_enocders, NULL, 0); |
|
88 |
} |
trunk/code/projects/diagnostic_station/station/robot_comm.h | ||
---|---|---|
4 | 4 |
void robot_set_orbs (uint8_t red1, uint8_t green1, uint8_t blue1, uint8_t red2, uint8_t green2, uint8_t blue2); |
5 | 5 |
void robot_set_motors (uint8_t direction1, uint8_t speed1, uint8_t direction2, uint8_t speed2); |
6 | 6 |
void robot_set_bom (uint16_t bitmask); |
7 |
void robot_read_encoders (); |
|
7 | 8 |
|
8 | 9 |
|
9 | 10 |
|
Also available in: Unified diff