mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-25 10:30:34 +08:00
Mecanum rover: add dedicated module for mecanum rovers (#23708)
This commit is contained in:
@@ -30,6 +30,7 @@ parameters:
|
||||
10: Helicopter (tail ESC)
|
||||
11: Helicopter (tail Servo)
|
||||
12: Helicopter (Coaxial)
|
||||
13: Rover (Mecanum)
|
||||
default: 0
|
||||
|
||||
CA_METHOD:
|
||||
@@ -950,11 +951,11 @@ mixer:
|
||||
- actuator_type: 'motor'
|
||||
instances:
|
||||
- name: 'Throttle'
|
||||
position: [ -1., 0, 0 ]
|
||||
position: [ -1, 0, 0 ]
|
||||
- actuator_type: 'servo'
|
||||
instances:
|
||||
- name: 'Steering'
|
||||
position: [ 1., 0, 0 ]
|
||||
position: [ 1, 0, 0 ]
|
||||
|
||||
6: # Rover (Differential)
|
||||
title: 'Rover (Differential)'
|
||||
@@ -962,9 +963,9 @@ mixer:
|
||||
- actuator_type: 'motor'
|
||||
instances:
|
||||
- name: 'Right Motor'
|
||||
position: [ 0, 1., 0 ]
|
||||
position: [ 0, 1, 0 ]
|
||||
- name: 'Left Motor'
|
||||
position: [ 0, -1., 0 ]
|
||||
position: [ 0, -1, 0 ]
|
||||
|
||||
7: # Motors (6DOF)
|
||||
actuators:
|
||||
@@ -1140,3 +1141,17 @@ mixer:
|
||||
parameters:
|
||||
- label: 'Throttle spoolup time'
|
||||
name: COM_SPOOLUP_TIME
|
||||
|
||||
13: # Rover (Mecanum)
|
||||
title: 'Rover (Mecanum)'
|
||||
actuators:
|
||||
- actuator_type: 'motor'
|
||||
instances:
|
||||
- name: 'Right Motor Front'
|
||||
position: [ 1, 1, 0 ]
|
||||
- name: 'Left Motor Front'
|
||||
position: [ 1, -1, 0 ]
|
||||
- name: 'Right Motor Back'
|
||||
position: [ -1, 1, 0 ]
|
||||
- name: 'Left Motor Back'
|
||||
position: [ -1, -1, 0 ]
|
||||
|
||||
Reference in New Issue
Block a user