PX4, QGControl, and driving in reverse

Good day,
Simplify the question:
What needs to be done so that the model can go back and forth through control in QGControl? PX4 firmware

What sort of model are you using? Is that a rover? And what’s the use case to go in reverse?

Hello,
The model is still without wheels, on plywood. Autopilot Pixhaсk v5. Firmware PX4 in QGControl. Stick in the lower position - the motor does not work. Stick to the top position - the motor works as much as possible. How to make the engine was in the middle position. In the upper position, the stick went to the front, and in the lower position went back?

If about the model of the rover in IPS, then went through all three (Generic Ground Vehicle, Axial Racing AX10, Traxxas stampede vxl 2wd)

50001_axialracing_ax10:

#!/bin/sh
#
# @name Axial Racing AX10
#
# @type Rover
# @class Rover
#
# @output MAIN1 pass-through of control group 0, channel 0
# @output MAIN2 pass-through of control group 0, channel 1
# @output MAIN3 pass-through of control group 0, channel 2
# @output MAIN4 pass-through of control group 0, channel 3
# @output MAIN5 pass-through of control group 0, channel 4
# @output MAIN6 pass-through of control group 0, channel 5
# @output MAIN7 pass-through of control group 0, channel 6
# @output MAIN8 pass-through of control group 0, channel 7
#
# @board px4_fmu-v2 exclude
#

sh /etc/init.d/rc.ugv_defaults

#
# This section can be enabled once tuning parameters for this particular
# rover model are known. It allows to configure default gains via the GUI.
#
if [ $AUTOCNF = yes ]
then
*** # PWM default value for “disarmed” mode.***
*** # This centers the steering and throttle, which means***
*** # no motion for a rover.***

  • param set PWM_DISARMED 1500*

  • # PWM range.*

  • param set PWM_MIN 1200*

  • param set PWM_MAX 1800*
    fi

set MIXER IO_pass

IO_pass.main.mix:Passthrough mixer for PX4IO
============================

This file defines passthrough mixers suitable for testing.

Channel group 0, channels 0-7 are passed directly through to the outputs.

M: 1
S: 0 0 10000 10000 0 -10000 10000

M: 1
S: 0 1 10000 10000 0 -10000 10000

M: 1
S: 0 2 10000 10000 0 -10000 10000

M: 1
S: 0 3 10000 10000 0 -10000 10000

M: 1
S: 0 4 10000 10000 0 -10000 10000

M: 1
S: 0 5 10000 10000 0 -10000 10000

M: 1
S: 0 6 10000 10000 0 -10000 10000

M: 1
S: 0 7 10000 10000 0 -10000 10000

I have a choke on the third channel. Creating for him
M: 1
O: 10,000 10,000 0 -10000 10,000
S: 0 3 0 20000 -10000 -10000 10000
received in manual mode back and forth, but the work of the Mission and Hold /

How to set up the mixer so that Rover can move forward and backward in Manual mode and save the work of Mission, Hold, etc.?

@MozgoKrut_55RUS I would appreciate if you format the code within ```, that way it’s more readable.

For the actual question, I’ll ping my colleague. He is currently looking at rover and can maybe help.

I am currently working on solving the exact same problem. I will let you know when I have a solution!

Good day,
Fixed,
thank.
Are we moving in the right direction, or is it solved in a different way?

Hello, I am having the exact same problem as you @MozgoKrut_55RUS. Can you tell me how you solved it?

“reverse” is not currently supported, unfortunately.

See the issue: https://github.com/PX4/Firmware/issues/11992