LGR_ parameters

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

LGR_DEPLOY_ALT

Landing gear deployment altitude

Altitude where the landing gear will be deployed. This should be lower than the RETRACT_ALT. If zero then altitude is not used for deploying landing gear. Only applies when vehicle is armed.

Units

m

Range

0 to 1000

Increment

1

User level

Standard

LGR_DEPLOY_PIN

Chassis deployment feedback pin

Pin number to use for detection of gear deployment. If set to -1 feedback is disabled. Some common values are given, but see the Wiki’s “GPIOs” page for how to determine the pin number for a given autopilot.

Range

-1 to 127

Reboot required

Yes — the change takes effect after a reboot.

User level

Standard

Values

Value

Meaning

-1

Disabled

50

AUX1

51

AUX2

52

AUX3

53

AUX4

54

AUX5

55

AUX6

LGR_DEPLOY_POL

Chassis deployment feedback pin polarity

Polarity for feedback pin. If this is 1 then the pin should be high when gear are deployed. If set to 0 then then deployed gear level is low.

User level

Standard

Values

Value

Meaning

0

Low

1

High

LGR_ENABLE

Enable landing gear

Enable landing gear control

User level

Standard

Values

Value

Meaning

0

Disabled

1

Enabled

LGR_OPTIONS

Landing gear auto retract/deploy options

Options to retract or deploy landing gear in Auto or Guided mode

User level

Standard

Bitmask

Value

Meaning

0

Retract after Takeoff

1

Deploy during Land

LGR_RETRACT_ALT

Landing gear retract altitude

Altitude where the landing gear will be retracted. This should be higher than the DEPLOY_ALT. If zero then altitude is not used for retracting landing gear. Only applies when vehicle is armed.

Units

m

Range

0 to 1000

Increment

1

User level

Standard

LGR_STARTUP

Landing Gear Startup position

Landing Gear Startup behaviour control

User level

Standard

Values

Value

Meaning

0

WaitForPilotInput

1

Retract

2

Deploy

LGR_WOW_PIN

Weight on wheels feedback pin

Pin number to use for feedback of weight on wheels condition. If set to -1 feedback is disabled. Some common values are given, but see the Wiki’s “GPIOs” page for how to determine the pin number for a given autopilot.

Range

-1 to 127

Reboot required

Yes — the change takes effect after a reboot.

User level

Standard

Values

Value

Meaning

-1

Disabled

50

AUX1

51

AUX2

52

AUX3

53

AUX4

54

AUX5

55

AUX6

LGR_WOW_POL

Weight on wheels feedback pin polarity

Polarity for feedback pin. If this is 1 then the pin should be high when there is weight on wheels. If set to 0 then then weight on wheels level is low.

User level

Standard

Values

Value

Meaning

0

Low

1

High