Andrew Tridgell
84f7589f2d
AP_RangeFinder: allow separate enable of MSP rangefinder
2020-09-02 05:56:46 +10:00
yaapu
4a8290508d
AP_MSP:Tools: added more OSD items and messages
2020-09-02 05:56:46 +10:00
yaapu
cfc7823af8
AP_MSP: fix missing memset for battery_state struct
2020-09-02 05:56:46 +10:00
Andrew Tridgell
0e55a63be2
AP_OSD: skip backend drawing for boards without font backends
...
this saves a lot of flash space on boards that want the MSP OSD system
but not the MAX7456 backend
2020-09-02 05:56:46 +10:00
Andrew Tridgell
25746ef27e
AP_OSD: avoid building MAX7456 driver without an SPI device for it
2020-09-02 05:56:46 +10:00
Andrew Tridgell
6f04b4a5ec
waf: added --osd-fonts configure option
...
allows for --osd without fonts
2020-09-02 05:56:46 +10:00
Andrew Tridgell
491e82159c
HAL_ChibiOS: add HAL_WITH_SPI_xx defines for SPI devices
...
this allows us to avoid building drivers for SPI devices we don't
have, such as OSD
2020-09-02 05:56:46 +10:00
Andrew Tridgell
17173871a4
AP_RangeFinder: fixed non-MSP build
2020-09-02 05:56:46 +10:00
Andrew Tridgell
f3a0ba0138
AP_OpticalFlow: fixed non-MSP build
2020-09-02 05:56:46 +10:00
Andrew Tridgell
27acdf1800
AP_MSP: fixed values for MSP_OSD_NCELLS param docs
2020-09-02 05:56:46 +10:00
Andrew Tridgell
d9da06b9e4
AP_MSP: fixed constrains in analog and battery MSP msgs
...
need to use constrain_int32() for values that give unsigned 16 bit
values
2020-09-02 05:56:46 +10:00
Andrew Tridgell
5dba8ab9c8
AP_MSP: convert more MSP msg parsing to new system
2020-09-02 05:56:46 +10:00
Andrew Tridgell
c31bab2a85
AP_MSP: don't send zero length MSP packets
2020-09-02 05:56:46 +10:00
Andrew Tridgell
f033aaf5bd
AP_MSP: fixed ESC telem data send
...
only send if we have telemetry data, and ensure data lines up with
motor numbers
2020-09-02 05:56:46 +10:00
Andrew Tridgell
952a3956a9
AP_BLHeli: added have_telem_data() API
2020-09-02 05:56:46 +10:00
Andrew Tridgell
05f4bf0b32
AP_MSP: fixed viewer for py2 and py3
2020-09-02 05:56:46 +10:00
Andrew Tridgell
5a7f81b5c3
AP_MSP: use more compact message format for most messages
2020-09-02 05:56:46 +10:00
Andrew Tridgell
24a6cfe36c
AP_MSP: fill in millis for RTC
2020-09-02 05:56:46 +10:00
Andrew Tridgell
c4092ca57a
AP_MSP: don't send ESC_SENSOR_DATA when not enabled in build
2020-09-02 05:56:46 +10:00
Andrew Tridgell
449883c7f1
AP_MSP: added python MSP FPV viewer
2020-09-02 05:56:46 +10:00
Andrew Tridgell
7c579c4814
waf: added --osd configure option
...
to allow boards with no builtin OSD to use MSP OSD
2020-09-02 05:56:46 +10:00
Andrew Tridgell
cea2eadd16
AP_MSP: make MSP packing smaller and more efficient
...
this changes two MSP items (GPS and home pos) to use packed structures
insteaf of individual sbuf writes. This makes for faster and smaller
code
2020-09-02 05:56:46 +10:00
yaapu
b658edfa20
Tools: added MSP
2020-09-02 05:56:46 +10:00
yaapu
6a0531c08a
AP_Common: added missing bit set/clear functions
2020-09-02 05:56:46 +10:00
yaapu
9efc4602af
AP_BLHeli: integrate MSP protocol with existing blheli inplementation
2020-09-02 05:56:46 +10:00
yaapu
144f7df02f
AP_Math: added CRCs needed by AP_MSP
2020-09-02 05:56:46 +10:00
yaapu
7170adf50e
AP_OpticalFlow: added support for MSP based flow sensors
2020-09-02 05:56:46 +10:00
yaapu
699ffcbcd2
AP_RangeFinder: added support for MSP based range finders
2020-09-02 05:56:46 +10:00
yaapu
b8b285b359
AP_OSD: added support for an MSP based OSD
2020-09-02 05:56:46 +10:00
yaapu
234ed303fe
AP_SerialManager: added support for the MSP protocol
2020-09-02 05:56:46 +10:00
yaapu
7f789fb443
AP_Vehicle: added support for the MSP protocol
2020-09-02 05:56:46 +10:00
yaapu
80eca32604
AP_MSP: added Multiwii Serial protocol (MSP) v1 and v2 support
2020-09-02 05:56:46 +10:00
Peter Barker
522c3e6281
autotest: make LogUpload the last test again
...
ATM any logs produced by EKFLaneswitch won't get uploaded in case of
failure
2020-09-01 18:15:37 +10:00
Siddharth Purohit
d25908a1c9
AP_HAL_ChibiOS: keep a backup of storage for last 100 boots
2020-09-01 14:31:53 +10:00
Peter Barker
23ba2002e8
autotest: dump final mag cal report verbosely
2020-09-01 14:11:57 +10:00
Michael du Breuil
6027553b85
AP_SerialManager: Add missing baud rate documentation
2020-09-01 10:42:30 +10:00
ashvath100
9e86355734
AP_Scripting: quadruped.lau fix after review
2020-09-01 09:33:24 +09:00
ashvath100
f344363404
AP_Scripting: quadruped.lua logic test fix
2020-09-01 09:33:24 +09:00
Randy Mackay
a4c7aa6386
AP_Scripting: quadruped.lua fixups after peer review
...
includes these changes:
add header to quadruped.lua example
quadruped.lua loses unnecessary pwm array
minor formatting fix
correct quadruped comments re servo connections
quadruped.lua replaces /2 with x0.5
quadruped.lua loses servo_estimate arguments
2020-09-01 09:33:24 +09:00
Randy Mackay
28026176f6
AP_Scripting: quadruped example formatting fixes
2020-09-01 09:33:24 +09:00
ashvath100
1a6a623295
AP_Scripting: quadruped example script
2020-09-01 09:33:24 +09:00
ashvath100
9ea390e24b
SITL: pybullet script for walking robots
2020-09-01 09:33:24 +09:00
ashvath100
485eb3fa88
Rover: roll and pitch input sent to motors
...
added get desired roll and pitch
Motors library adds set and get methods for roll and pitch
added roll and pitch to get_control_output
get_control_output returns roll and pitch values
2020-09-01 09:33:24 +09:00
Peter Hall
2d4deb505d
Rover: rc_channel inits roll and pitch input channels
2020-09-01 09:33:24 +09:00
Peter Hall
d5316edde7
RC_Channel: add roll and pitch input channels
2020-09-01 09:33:24 +09:00
Randy Mackay
b0f9f9993f
Rover: guided consumes set-pos-target-local-ned as offset from origin
2020-09-01 10:27:18 +10:00
Randy Mackay
2398b5dec4
Copter: guided consumes set-pos-target-local-ned Z-axis as offset from origin
2020-09-01 10:27:18 +10:00
Sharvashish Das
80e2dbc9f2
GCS_Common: send_local_position uses offset from origin
2020-09-01 10:27:18 +10:00
vierfuffzig
56e44c46ca
AP_HAL_ChibiOS: disable IMU fast sampling on F35 / WingFC10
...
fast sampling introduces random IMU glitches, bisect search identifies 9c2caf5b12
disabling fast sampling fixes IMU back to expected behaviour. see:
https://github.com/ArduPilot/ardupilot/issues/15090
https://discuss.ardupilot.org/t/shaking-horizon-and-jittering-servos/60420
for reference
2020-08-31 19:50:09 +10:00
Iampete1
abee62abc4
Plane: use throttle in for transition max comparison
2020-08-30 18:19:40 +10:00