Project

General

Profile

Revision 1205

Implemented single encoder testing
Cleaned up motor direction/wall direction naming

View differences:

comm_robot.h
3 3

  
4 4
void comm_robot_init (void);
5 5

  
6
char *motor_direction_string (uint8_t direction);
6 7

  
7 8
void robot_set_orbs (uint8_t red1, uint8_t green1, uint8_t blue1, uint8_t red2, uint8_t green2, uint8_t blue2);
8 9
void robot_set_motors (uint8_t direction1, uint8_t speed1, uint8_t direction2, uint8_t speed2);
......
11 12
char* robot_read_encoders (void);
12 13
void robot_station_receive(char type, int source, unsigned char* packet, int length);
13 14

  
14
#define direction_off 0
15
#define direction_forward 1
16
#define direction_backward 2
15
#define motor_direction_off 0
16
#define motor_direction_forward 1
17
#define motor_direction_backward 2
17 18

  
18 19

  
19 20
#endif

Also available in: Unified diff