Project

General

Profile

Revision 98

Added new charging station code to charging station branch, it now compiles.

View differences:

bays.c
125 125
	return NUM_BAYS;
126 126
}
127 127

  
128
int assign_bay( int robot ) // 'smart' assign_bay()
128
/*int assign_bay( int robot ) // 'smart' assign_bay()
129 129
{
130 130
	int ldist = 0;
131 131
	int rdist = 0;
......
170 170
	}
171 171
	bayStates[bay] = robot;
172 172
	return bay;
173
}
173
}*/
174 174

  
175 175
int robot_assignment(int robot) //returns bay to which 'robot' has been assigned, 255 if not yet assigned
176 176
{

Also available in: Unified diff