mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
This commit moves the steering output from yaw to the roll channel to better reflect the lateral control input / reaction mapping. It also removes old unused parameters and modernizes the mainloop to remove unnecessary polling.
41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
Generic car mixer (eg DF Robot GPX:Asurada RC Car)
|
|
===========================
|
|
|
|
Designed for DF Robot GPX:Asurada
|
|
|
|
This file defines mixers suitable for controlling a DF Robot GPX:Asurada rover using
|
|
PX4FMU. The configuration assumes the steering is connected to PX4FMU
|
|
servo outputs 1 and the motor speed controls to output 2 and 3. Output 0 is
|
|
assumed to be unused.
|
|
|
|
Inputs to the mixer come from channel group 0 (vehicle attitude), channels 0 (roll), and 3 (thrust).
|
|
|
|
See the README for more information on the scaler format.
|
|
|
|
|
|
Output 1 - Empty
|
|
-----------------------------------------
|
|
Z:
|
|
|
|
Output 2 - Steering mixer using yaw
|
|
------------------------------------------
|
|
M: 1
|
|
O: 10000 10000 0 -10000 10000 5000
|
|
S: 0 2 10000 10000 0 -10000 10000
|
|
|
|
|
|
Output 3 - Left row of wheels using yaw and throttle (1s rise time)
|
|
------------------------------------------
|
|
M: 2
|
|
O: 10000 10000 0 -10000 10000 10000
|
|
S: 0 2 -500 -500 0 0 10000
|
|
S: 0 3 10000 10000 0 -10000 10000
|
|
|
|
|
|
Output 4 - Right row of wheels using yaw and throttle (1s rise time)
|
|
------------------------------------------
|
|
M: 2
|
|
O: 10000 10000 0 -10000 10000 10000
|
|
S: 0 2 500 500 0 0 10000
|
|
S: 0 3 10000 10000 0 -10000 10000
|