mirror of https://github.com/ArduPilot/ardupilot
fix metadata to emit RCMAP_FORWARD and _LATERAL for Rover
This commit is contained in:
parent
0a06a9e446
commit
8b0bb44cd7
|
@ -38,24 +38,22 @@ const AP_Param::GroupInfo RCMapper::var_info[] = {
|
||||||
// @RebootRequired: True
|
// @RebootRequired: True
|
||||||
AP_GROUPINFO("YAW", 3, RCMapper, _ch_yaw, 4),
|
AP_GROUPINFO("YAW", 3, RCMapper, _ch_yaw, 4),
|
||||||
|
|
||||||
// @Param: FORWARD
|
// @Param{Rover,Sub}: FORWARD
|
||||||
// @DisplayName: Forward channel
|
// @DisplayName: Forward channel
|
||||||
// @Description: Forward channel number. This is useful when you have a RC transmitter that can't change the channel order easily. Forward is normally on channel 5, but you can move it to any channel with this parameter. Reboot is required for changes to take effect.
|
// @Description: Forward channel number. This is useful when you have a RC transmitter that can't change the channel order easily. Forward is normally on channel 5, but you can move it to any channel with this parameter. Reboot is required for changes to take effect.
|
||||||
// @Range: 1 8
|
// @Range: 1 8
|
||||||
// @Increment: 1
|
// @Increment: 1
|
||||||
// @User: Advanced
|
// @User: Advanced
|
||||||
// @RebootRequired: True
|
// @RebootRequired: True
|
||||||
// @Values{Sub}: 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8
|
|
||||||
AP_GROUPINFO_FRAME("FORWARD", 4, RCMapper, _ch_forward, 6, AP_PARAM_FRAME_SUB),
|
AP_GROUPINFO_FRAME("FORWARD", 4, RCMapper, _ch_forward, 6, AP_PARAM_FRAME_SUB),
|
||||||
|
|
||||||
// @Param: LATERAL
|
// @Param{Rover,Sub}: LATERAL
|
||||||
// @DisplayName: Lateral channel
|
// @DisplayName: Lateral channel
|
||||||
// @Description: Lateral channel number. This is useful when you have a RC transmitter that can't change the channel order easily. Lateral is normally on channel 6, but you can move it to any channel with this parameter. Reboot is required for changes to take effect.
|
// @Description: Lateral channel number. This is useful when you have a RC transmitter that can't change the channel order easily. Lateral is normally on channel 6, but you can move it to any channel with this parameter. Reboot is required for changes to take effect.
|
||||||
// @Range: 1 8
|
// @Range: 1 8
|
||||||
// @Increment: 1
|
// @Increment: 1
|
||||||
// @User: Advanced
|
// @User: Advanced
|
||||||
// @RebootRequired: True
|
// @RebootRequired: True
|
||||||
// @Values{Sub}: 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8
|
|
||||||
AP_GROUPINFO_FRAME("LATERAL", 5, RCMapper, _ch_lateral, 7, AP_PARAM_FRAME_SUB),
|
AP_GROUPINFO_FRAME("LATERAL", 5, RCMapper, _ch_lateral, 7, AP_PARAM_FRAME_SUB),
|
||||||
|
|
||||||
AP_GROUPEND
|
AP_GROUPEND
|
||||||
|
|
Loading…
Reference in New Issue