summaryrefslogtreecommitdiffhomepage
path: root/digital/io/src/playground.h
AgeCommit message (Collapse)Author
2008-05-03 * digital/io/srcJérémy Dufour
- try infinitely to go the distributor even if the bot move failed (i.e. asserv is blocked) ; - decrease the position of the gutter in term of X axis.
2008-05-03 * digital/io/srcJérémy Dufour
* top FSM - change the position where to drop balls at the gutter (to prevent the order of dropped balls to change) ; - change the order of balls taken at the distributor: first two samples with three ice, then three samples with two ice. * get samples FSM - manage the case where the arm passed the noted position in the state where it should not (because the arm was blocked) ; - add some debug messages. * gutter FSM - reduce the time spent to drop the balls at the gutter. * move FSM - update the algorithm to avoid obstacle: when a obstacle is seen, first way, then if it is not present anymore continue, otherwise, try to find an alternative path; if none found, wait again. * chrono - near end of the match time increased to 83s.
2008-04-27move.fsm: Update the fsm to use the path finder.Nélio Laranjeiro
* update the events in the main.c file. * update the move_cb.c * added some constants.
2008-04-26 * digital/io/src:Nicolas Schodet
- added path finding algorithm.
2008-04-25 * digital/io/srcJérémy Dufour
- prevent wall collisions.
2008-04-25 * digital/io/srcJérémy Dufour
- correct angle to approach the gutter.
2008-04-22 * digital/io/src:Nicolas Schodet
- fixed bad macros.
2008-04-20 * digital/io/srcJérémy Dufour
- fix order in defines (do the division at the end) ; - fix angle defines.
2008-04-14 * digital/io/srcJérémy Dufour
* build - add dependency of fsm.h for main.c (for bootstrap) ; - ensure it is building for host target. * get samples FSM - remove unneeded fields in the getsamples structures ; - rename it to be more 'private' (to prevent declaring the same one) ; * top FSM - rewrite it ; - still missing some parts to implement. * general - manage color of the bot ; - initialize the switch module in the main_init ; - add position of the gutter.
2008-04-14 * digital/io/srcJérémy Dufour
- add angle definition in the bot and plauground configuration files.
2008-04-14 * digital/io/srcJérémy Dufour
- correct a bug of comments (for color selection).
2008-04-14 * digital/io/srcJérémy Dufour
* asserv - improve the API of the arm functions to ease usage ; - add a new function to put the arm to the position to close the input hole. * get sample FSM - keep only the needed and real events ; - correctly names the states ; - improve the function to select where to put the samples ; * general - add headers for some standard configuration defines. * trap - add another entry to the enum to know its length.