fix metadata to emit RCMAP_FORWARD and _LATERAL for Rover

This commit is contained in:
Hwurzburg 2021-05-16 19:05:55 -05:00 committed by Peter Barker
parent 0a06a9e446
commit 8b0bb44cd7
1 changed files with 2 additions and 4 deletions

View File

@ -38,24 +38,22 @@ const AP_Param::GroupInfo RCMapper::var_info[] = {
// @RebootRequired: True
AP_GROUPINFO("YAW", 3, RCMapper, _ch_yaw, 4),
// @Param: FORWARD
// @Param{Rover,Sub}: FORWARD
// @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.
// @Range: 1 8
// @Increment: 1
// @User: Advanced
// @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),
// @Param: LATERAL
// @Param{Rover,Sub}: LATERAL
// @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.
// @Range: 1 8
// @Increment: 1
// @User: Advanced
// @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_GROUPEND