pub type FenceAction = FenceAction;
Expand description

Originally defined in common::enums::fence_action

Aliased Type§

enum FenceAction {
    None = 0,
    Guided = 1,
    Report = 2,
    GuidedThrPass = 3,
    Rtl = 4,
    Hold = 5,
    Terminate = 6,
    Land = 7,
}

Variants§

§

None = 0

MAVLink enum entry FENCE_ACTION_NONE.

Disable fenced mode. If used in a plan this would mean the next fence is disabled.

§

Guided = 1

MAVLink enum entry FENCE_ACTION_GUIDED.

Fly to geofence MAV_CMD_NAV_FENCE_RETURN_POINT in GUIDED mode. Note: This action is only supported by ArduPlane, and may not be supported in all versions.

§

Report = 2

MAVLink enum entry FENCE_ACTION_REPORT.

Report fence breach, but don’t take action

§

GuidedThrPass = 3

MAVLink enum entry FENCE_ACTION_GUIDED_THR_PASS.

Fly to geofence MAV_CMD_NAV_FENCE_RETURN_POINT with manual throttle control in GUIDED mode. Note: This action is only supported by ArduPlane, and may not be supported in all versions.

§

Rtl = 4

MAVLink enum entry FENCE_ACTION_RTL.

Return/RTL mode.

§

Hold = 5

MAVLink enum entry FENCE_ACTION_HOLD.

Hold at current location.

§

Terminate = 6

MAVLink enum entry FENCE_ACTION_TERMINATE.

Termination failsafe. Motors are shut down (some flight stacks may trigger other failsafe actions).

§

Land = 7

MAVLink enum entry FENCE_ACTION_LAND.

Land at current location.