summaryrefslogtreecommitdiff
path: root/digital/io/src/top_cb.c
AgeCommit message (Collapse)Author
2010-04-01digital/io/src: use one FSM with several active states, closes #83Nicolas Schodet
2010-04-01digital/io: wipe-out old robot code, closes #112Nicolas Schodet
2009-05-23 * digital/io:Nicolas Schodet
- Do not do a second passage.
2009-05-22 * digital/io/src:Jérémy Dufour
- do not try to unload pucks when we have no puck and we failed our move.
2009-05-22 * digital/io/src:Jérémy Dufour
- manage the case where there is a puck in front of the bot when we try to unload everything on the central unload zone.
2009-05-22 * digital/io/src:Nicolas Haller
- split elevator order into 3 functions
2009-05-23 * digital/asserv, digital/io:Nicolas Schodet
- added usage of center sensor.
2009-05-22 * digital/io/src:Jérémy Dufour
- fix angle for clean distributor position, - when we do not need to stop move FSM to go somewhere else, do not stop it.
2009-05-22 * digital/io/src:Jérémy Dufour
- add a timeout when trying to get puck from the distributor, - reduce temporisation to unload pucks (wrong value).
2009-05-22 * digital/io/src:Nicolas Haller
- fix cylinder status (set cylinder_distrib_fucked to 0 and stop cylinder fan mode...) - fix on top FSM
2009-05-22 * digital/src/io:Nicolas Haller
- fix on cylinder_cb.c - protection against *_nb_puck < 0
2009-05-22 * digital/io/src:Jérémy Dufour
- always unload pucks before going to the distributor.
2009-05-22 * digital/io/src:Jérémy Dufour
- when we have finished with the puck from the ground and we go to the distributor, we unload if there is something to unload.
2009-05-21 * digital/io/src:Jérémy Dufour
- top FSM now try to get pucks from the ground even if something bad happen. This will prevent too much usage of distributor.
2009-05-21 * digital/io/src:Jérémy Dufour
- increase margin time before the end of match to force unloading of pucks.
2009-05-21 * digital/io/src:Jérémy Dufour
- open cylinder for distributor.
2009-05-21 * digital/io/src:Jérémy Dufour
- called cylinder for flush, - close the elevator after unload.
2009-05-21 * digital/io/src:Jérémy Dufour
- flush cylinder before unload.
2009-05-21 * digital/io/src:Jérémy Dufour
- add support for going away from the distributor before going somewhere else, - add support to prepapre the elevator.
2009-05-21 * digital/io/src:Jérémy Dufour
- add some missing comunication between top and other FSM, - make the top FSM give some order to other FSM, - add some timeout for states in top (and update timeout value), - update some comments in top.
2009-05-20 * digital/io/src:Jérémy Dufour
- support backward parameter for the asserv_goto, - enhance to avoid static obstacle, - add center circle of the playground table.
2009-05-20 * digital/io/src:Jérémy Dufour
- implement top FSM.
2009-05-19 * digital/io/src:Jérémy Dufour
- add the definition of the new top FSM.
2009-05-18 * digital/io/src:Jérémy Dufour
- fix event sent to the wrong FSM, - start top FSM, - rewrite event generated by move FSM when its finished, - init FSM generates an event when the match start, - init FSM starts the chrono when the match start, - top FSM now uses the event generated by the init FSM to know when the match start and not the jack states.
2009-05-18 * digital/io/src:Jérémy Dufour
- update top FSM to be valid with the new init FSM.
2009-05-18 * digital/io/src:Jérémy Dufour
- clean top FSM.
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.