Project

General

Profile

Revision 1293

Resetting the encoders (robot)/dynamos (station) when starting dump

View differences:

trunk/code/projects/diagnostic_station/station/dump_station.c
7 7
	int16_t left, right;
8 8
	char c;
9 9

  
10
	dynamos_reset ();
11

  
10 12
	// TODO implement resetting the dynamos (r key, for example)
13
	
11 14
	while (usb_getc_nb (&c)==-1)
12 15
	{
13 16
		dynamos_read (&left, &right);
trunk/code/projects/diagnostic_station/station/dump_robot.c
11 11
	int16_t left, right;
12 12
	char c;
13 13

  
14
	robot_reset_encoders ();
15

  
14 16
	// TODO implement resetting the encoders (r key, for example)
15 17
	while (usb_getc_nb (&c)==-1)
16 18
	{

Also available in: Unified diff