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?
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)
# @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
# 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 ]
*** # 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*
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.
S: 0 0 10000 10000 0 -10000 10000
S: 0 1 10000 10000 0 -10000 10000
S: 0 2 10000 10000 0 -10000 10000
S: 0 3 10000 10000 0 -10000 10000
S: 0 4 10000 10000 0 -10000 10000
S: 0 5 10000 10000 0 -10000 10000
S: 0 6 10000 10000 0 -10000 10000
S: 0 7 10000 10000 0 -10000 10000
I have a choke on the third channel. Creating for him
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!
Are we moving in the right direction, or is it solved in a different way?