"loc" : {
#"EV_ODO_RECEIVED" : "Execute prediction step based on odometry data",
#"EV_LASER_RECEIVED" : "Execute update step based on laser measurement",
- "EV_DIST_RECEIVED" : "Ultrasound period: execute estimation & control step",
"EV_SET_ESTIMATED" : "Sets the estimated position to the value from event parameter",
"EV_RESET" : "Initialize MCL to uniform distribution on the whole playground",
},
#define ROBOT_FSM_MOTION motion
#define ROBOT_FSM_DISPLAY display
#define ROBOT_FSM_ACT act
-#define ROBOT_FSM_LOC loc
#define FSM_GET_BY_ID(fsm_id) (&robot.fsm.ROBOT_FSM_##fsm_id)
struct robo_fsm motion;
struct robo_fsm display;
struct robo_fsm act;
- struct robo_fsm loc;
} fsm;
/* actual position */
robot.corr_distances = *instance;
ROBOT_UNLOCK(corr_distances);
- FSM_SIGNAL(LOC, EV_DIST_RECEIVED, NULL);
-
/*FIXME: is following OK? (pecam1) */
robot.hw_status[STATUS_MOTION] = HW_STATUS_OK;
break;