ZIGZ_ parameters

6 parameters in the ZIGZ_ family. ArduCopter 4.7 only — other vehicles share many of these names but not always the same ranges or meanings.

ZIGZ_AUTO_ENABLE

ZigZag auto enable/disable

Allows you to enable (1) or disable (0) ZigZag auto feature

User level

Advanced

Values

Value

Meaning

0

Disabled

1

Enabled

ZIGZ_DIRECTION

Sideways direction in ZigZag auto

The direction to move sideways in ZigZag mode

User level

Advanced

Values

Value

Meaning

0

forward

1

right

2

backward

3

left

ZIGZ_LINE_NUM

Total number of lines

Total number of lines for ZigZag auto if 1 or more. -1: Infinity, 0: Just moving to sideways

Range

-1 to 32767

User level

Advanced

ZIGZ_SIDE_DIST

Sideways distance in ZigZag auto

The distance to move sideways in ZigZag mode

Units

m

Range

0.1 to 100

User level

Advanced

ZIGZ_SPRAYER

Auto sprayer in ZigZag

Enable the auto sprayer in ZigZag mode. SPRAY_ENABLE = 1 and SERVOx_FUNCTION = 22(SprayerPump) / 23(SprayerSpinner) also must be set. This makes the sprayer on while moving to destination A or B. The sprayer will stop if the vehicle reaches destination or the flight mode is changed from ZigZag to other.

User level

Advanced

Values

Value

Meaning

0

Disabled

1

Enabled

ZIGZ_WP_DELAY

The delay for zigzag waypoint

Waiting time after reached the destination

Units

s

Range

0 to 127

User level

Advanced