summaryrefslogtreecommitdiffhomepage
path: root/digital/io/src/top_cb.c
AgeCommit message (Collapse)Author
2009-05-08 * digital/io/src:Nicolas Haller
- removed old FSM (gutter and getsamples)
2009-05-08 * digital/io/src:Nicolas Haller
- first test: top FSM order basic move to the bot
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
- 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/srcJérémy Dufour
- revert commit for homologation mode has it is quite working.
2008-05-01 * digital/io/srcJérémy Dufour
- change top FSM to only take one ball by distributor when in homologation mode.
2008-04-30 * digital/io/srcJérémy Dufour
- integrate backward movement support in the move FSM.
2008-04-28 * digital/io/srcJérémy Dufour
- top FSM now directly go to the ice distributor after two "loops" (because there are no more sample/ice in the other distributors).
2008-04-28 * digital/io/srcJérémy Dufour
- correct bitfield values when calling the get samples FSM (trap 0 is the garbage) and prefer to use the enum.
2008-04-28 * digital/io/srcJérémy Dufour
- correct the bitfield value for the get sample FSM for the first two loops of the top FSM.
2008-04-25 * digital/io/srcJérémy Dufour
- correct twi buffer length (thanks to ni) ; - close rear panel when inserting the jack.
2008-04-25 * digital/io/srcJérémy Dufour
- dirty and temporary fix to get at least one sample from the distributor.
2008-04-24 * digital/io/srcJérémy Dufour
- revert r452.
2008-04-24 * digital/io/srcJérémy Dufour
- correct a bug in the computed position (to go away from the start area/gutter, we need to decrease Y position) [related to r451, I forgot to stage the file with this modification]
2008-04-24 * digital/io/srcJérémy Dufour
- correct a bug in the computed position (to go away from the start area/gutter, we need to decrease Y position).
2008-04-24 * digital/io/srcJérémy Dufour
- add an event to move away the bot from the gutter (to be able to turn freely) ; - move an event in the source file to ease merge.
2008-04-23 * digital/io/srcJérémy Dufour
- main_loop always notices top FSM about jack states change.
2008-04-23 * digital/io/srcJérémy Dufour
- add a state to the top FSM to move away from the border.
2008-04-23 * digital/io/srcJérémy Dufour
- seperate chrono into two files (source and header) ; - add necessary functions to end the match ; - integrate it into the main loop ; - partial integration into the simulator (need to simulate a counter).
2008-04-21 * digital/io/srcJérémy Dufour
- resetting of asserv parameters is now a separate state in order to get the acknowledge from the asserv board ; - integrate the handle of this event into the main loop.
2008-04-21 * digital/io/srcJérémy Dufour
- add a simple function to set the complete bot position ; - integrate its usage in the top FSM.
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
* 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-10Start to fill the FSMs. (not finished).Nélio Laranjeiro
2008-04-10 * digital/io/src:Nicolas Schodet
- fixed build.