summaryrefslogtreecommitdiffhomepage
path: root/digital/io/src/getsamples_cb.c
AgeCommit message (Collapse)Author
2009-05-08 * digital/io/src:Nicolas Haller
- removed old FSM (gutter and getsamples)
2009-03-14 * digital/io:Jérémy Dufour
- clean main timer module, - update chrono module to rely on main timer (timer/counter 0).
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
- manage the event where the bot can be blocked (when moving) in the different FSM, by waiting and trying again ; - ensure we update the classifier (with the servos motor) even when the arm move in a state where it should not.
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-05-02 * digital/io/srcJérémy Dufour
- integrate support for "the near end of match" function in the top and get samples FSM.
2008-05-02 * digital/io/src:Nicolas Schodet
- shortened getsample timeout. - reset timeout on each sample.
2008-05-02 * digital/io/src:Nicolas Schodet
- added get sample timeout.
2008-05-02 * digital/io/src:Nicolas Schodet
- added arm close timeout.
2008-05-01 * digital/io/srcJérémy Dufour
- add a state to go backward a litte bit after approaching a distributor to ease the get samples.
2008-04-28 * digital/io/srcJérémy Dufour
- add protection in get samples against 'stupid' parameter for the bitfield value.
2008-04-25 * digital/io/srcJérémy Dufour
- ensure event is reset after being posted ; - use 0xFF value for not an event rather than 0 (it prevents the dirty fix to add 1 to the event).
2008-04-24 * digital/io/srcJérémy Dufour
- when a sub FSM finished, it posts an event for the top FSM which will be notified in the next main loop iteration (rather than the actual one).
2008-04-23 * digital/io/src:Nicolas Schodet
- forgot last sample, must turn one more third..
2008-04-22* digital/io/src:Nicolas Schodet
- made the arm control work.
2008-04-20 * digital/io/srcJérémy Dufour
- keep structure removed from r384.
2008-04-20 * digital/io/srcJérémy Dufour
- move private functions directly into source files ; - correct headers.
2008-04-20 * digital/io/srcJérémy Dufour
- use parameters to call the get samples FSM start function rather than a structure.
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 notifier for the desired arm position ; - integrate it in the get samples FSM.
2008-04-14 * digital/io/srcJérémy Dufour
* asserv - add an goto_angle (not implemented yet). * get sample FSM - the get sample FSM will not call any other FSM (like the move). Instead, it assumes we are already at the right place, we just ensure the angle is correct ; - update the first state in consequences ; - add an angle as parameters (maybe we can remove the X/Y). * general defines - add define to ease the opening of the input hole.
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.
2008-04-12Update the fsms.Nélio Laranjeiro
2008-04-11Update the fsms.Nélio Laranjeiro
2008-04-10Start to fill the FSMs. (not finished).Nélio Laranjeiro
2008-04-02Modified the asserv_go_to_gutter function name to Nélio Laranjeiro
asserv_go_to_distributor.
2008-03-31 * digital/io/src:Nicolas Schodet
- adapted FSM to AVR program.
2008-03-30Tested the fsm in host mode.Nélio Laranjeiro
- to compile it modify the asserv.h file to replace the intx_t by uintx_t - stub the necessary functions.
2008-03-30Moved teh getsamples fsm.Nélio Laranjeiro