summaryrefslogtreecommitdiffhomepage
path: root/digital/io/src/getsamples_cb.c
AgeCommit message (Collapse)Author
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