Revision 434
update assigning bay based on battery reading (seeking robot), also fix some bugs
wl_recharge_group.c | ||
---|---|---|
237 | 237 |
void wl_recharge_send_battery(int dest) |
238 | 238 |
{ |
239 | 239 |
wl_send_robot_to_robot_global_packet(WL_RECHARGE_GROUP, WL_BATTERY_REQUEST, |
240 |
battery(), 0, dest, 0);
|
|
240 |
(char*)battery(), 1, dest, 0);
|
|
241 | 241 |
} |
242 | 242 |
|
243 | 243 |
/** |
Also available in: Unified diff