State machine state FW

ActRectifier
The driver must command positive action.

State machine transitions

  • The actuator must keep moving in FW.
    • Destination:FW
    • Condition: positiveActionRequested
      Code
      actAction>0
    • Actions:
      • ActDrive
        The actuation output must equal the module of the actuation request.
        Code
        if (actAction>=0){
        rectifiedActAction=(t_pwm)actAction;
        } else {
        rectifiedActAction=(t_pwm)(-actAction);
        }
      • ActDrive
        Sets the direction of the actuators to move in Fw position.
        Code
        actDirection=CFG_ACT_DIRECTION_FW;
      • ActDrive
        This action is used to execute the submachine ActDriving.
        Code
        ActDriving();
  • The actuator must stop moving.