Tatsuya Yamaguchi
806bd38c7f
RC_Channel: add get_channel_pos function
2020-05-05 10:09:30 +09:00
Tatsuya Yamaguchi
de854a2ffe
AP_Arming: pre-arm check for disarm aux switch
2020-05-05 10:09:30 +09:00
Tatsuya Yamaguchi
4fdd24ecd3
RC_Channel: add disarm aux switch RCn_OPTION=81
2020-05-05 10:09:30 +09:00
Tatsuya Yamaguchi
875fa36018
Copter: remove an unnecessary condition
2020-05-05 11:03:38 +10:00
Tatsuya Yamaguchi
9c3a0b863f
Copter: use check_failed function for ESTOP arming check
2020-05-05 11:03:38 +10:00
Tom Pittenger
87c75332e7
Plane: ignore guided cmds from mavlink if we're in avoidADSB.
...
This change makes it behave like MAVLINK_MSG_ID_SET_POSITION_TARGET_LOCAL_NED
2020-05-05 10:51:16 +10:00
Peter Barker
f17ea78a6c
Plane: move sending of WIND message to GCS namespace
2020-05-05 10:29:13 +10:00
Peter Barker
e75fa6fb15
Plane: move sending of AOA_SSA message to GCS namespace
2020-05-05 10:29:13 +10:00
Iampete1
3ded030fa8
Plane: compensate forward throttle for battery voltage drop
2020-05-05 09:46:41 +10:00
Andy Piper
b7b2d9a6ce
AP_Compass: add support for custom compass rotation via COMPASS_CUS_{ROLL,PIT,YAW}
...
add reboot required for parameters that need it
disable custom rotation on AP_Periph devices
2020-05-05 09:25:18 +10:00
Andy Piper
167e1d12d7
AP_RCProtocol: disable flow-control and buffered-writes for SRXL2 uart
...
switched spm_srxl.c to C++ compilation
Correctly set budget for half-duplex writes
Tidy PACKED and other externalities
disable SRXL2 on IOMCU and softserial - SRXL2 is a serial half-duplex protocol-only
fixed buffer overrun in SRXL2 parser
fix bugs in decoder sketch and allow output to SITL
2020-05-05 09:23:15 +10:00
Andy Piper
44e5171f2b
AP_Frsky_Telem: refactor common code into AP_RCTelemetry
...
refactor naming
when using external data AP_Frsky_Telem::init() has to call AP_RCTelemetry::init() and exit.
No need to initialize serial ports
2020-05-05 09:23:15 +10:00
Andy Piper
e3a88f686d
AP_RCTelemetry: Spektrum telemetry library and telemetry abstraction
...
add support for temperature, battery voltage, battery current, flight pack
altitiude, airspeed, attitude and compass, GPS, ESC telemetry based on BLHeli
status messages and QOS packets.
refactor into AP_Telemetry
conditionally compile based on HAL_MINIMIZE_FEATURES
don't initialize spektrum telemetry if there is no RC uart
2020-05-05 09:23:15 +10:00
Andy Piper
da166b256d
GCS_MAVLink: add messages to Spektrum telemetry if it is enabled
2020-05-05 09:23:15 +10:00
Andy Piper
d0cd494178
waf: add AP_RCTelemetry to build
2020-05-05 09:23:15 +10:00
Andy Piper
68c6a3b03d
AP_RCProtocol: SRXL2 support
2020-05-05 09:23:15 +10:00
Peter Barker
967f8bf726
AP_HAL_ChibiOS: correct description of where stdout goes
2020-05-05 07:57:57 +10:00
david sastre
f8b6d4b0ac
AP_Parachute: Fix singleton panic message
2020-05-05 07:43:02 +10:00
Peter Barker
bd0ebb5778
autotest: accept statustext and ack in any order for mission errors
...
Accept statustext/ack in any order; statustext may come after ack
2020-05-04 18:42:18 +10:00
Andrew Tridgell
e126b6d346
HAL_ChibiOS: fixed race condition in storage write
...
we could mark a line as clean when it should be dirty if we lose a
race condition between storage thread and writer
2020-05-04 17:22:41 +10:00
Andrew Tridgell
0c1ba48212
AP_NavEKF3: fixed external yaw EK3_MAG_CAL=5 or 6
...
don't use GSF
2020-05-04 15:05:56 +10:00
Peter Barker
f43e48a6f1
AP_Filesystem: correct comparison of signed/unsigned
...
Closes #14267
2020-05-04 12:06:30 +10:00
Peter Barker
ebc781ba3a
autotest: switch to looking for barometer update string for passthrough test
...
MAVProxy can fetch parameters using FTP rather than normal param
mechanism. Currently this does not emit any of our statustext
information - like the text we're looking for in this test
2020-05-04 10:07:38 +10:00
Peter Barker
d197fd4acf
autotest: fix rare, random failure in GCSRally test
...
Notionally the statustext could be put aside and we could not have room
for it, so we see the ack first.
2020-05-04 00:22:54 +10:00
Lucas De Marchi
29d8586ea4
AP_HAL_Linux: RCInput_UDP: accept up to 16 channels
...
This allows more channels to be passed to RCInput_UDP protocol while
also allowing less than 8 channels - this is similar to the approach
used by SITL in which the packet size is used to figure out the number
of channels.
2020-05-03 00:07:52 -07:00
Randy Mackay
944939fde3
Copter: remove unused heli definitions
2020-05-02 11:32:09 +09:00
Randy Mackay
e889f6091e
Copter: fix Throw param desc
2020-05-02 11:32:06 +09:00
Dr.-Ing. Amilcar do Carmo Lucas
d1eb03df30
Copter: Report MAV_SYS_STATUS_SENSOR_Z_ALTITUDE_CONTROL and MAV_SYS_STATUS_SENSOR_XY_POSITION_CONTROL as healthy if the flight mode says so.
...
Brings it up to the Sub and Plane status
2020-05-01 08:14:11 +09:00
Andrew Tridgell
f0fb64005d
AP_Filesystem: document extra restrictions in param.pck
2020-04-30 21:15:28 +10:00
Andrew Tridgell
685d0666e9
AP_Filesystem: added README on VFS interface
2020-04-30 21:04:12 +10:00
Pierre Kancir
d83b9575da
Tools: vagrant: check for $HOME/.local/bin on init for local python package
2020-04-30 20:32:34 +10:00
Pierre Kancir
05f8d7647a
Docker: update the docker file and add .dockerignore
...
simplify the contenair
Correctly install the STM toolchain and ccache
Add bash completion
2020-04-30 20:32:34 +10:00
Pierre Kancir
ced185b59b
Tools: Completion: fix vehicle type competion
2020-04-30 20:32:34 +10:00
Pierre Kancir
64b7e8fb9e
Tools: prereqs-ubuntu: cleanup and improvements
...
reorder install
remove unneeded package
make install verbose
add environment variable to control what to install
register STM toolchain on CCache
Tools: install-prereqs-ubuntu.sh: only update package list once
Tools: install-prereqs-ubuntu.sh: move STM toolchain registery into install step
Tools: install-prereqs-ubuntu.sh: use right comparison for variable value
Tools: install-prereqs-ubuntu.sh: always check for libtool-bin
Tools: install-prereqs-ubuntu.sh: Add support for Ubuntu 20.04
Add a selection for python version
ass python symlink for ubuntu 20.04
Move python-argparse out of default list as it install python2 version
Tools: install-prereqs-ubuntu.sh:Tools: Check python version for python3 distro
Tools: install-prereqs-ubuntu.sh: install pygame requirements
Tools: install-prereqs-ubuntu.sh: check for docker envirement and use .bashrc instead of .profile
Tools: install-prereqs-ubuntu.sh: add bash completion by default
Tools: install-prereqs-ubuntu.sh: better ccache management
Tools: install-prereqs-ubuntu.sh: Correct package installation for trusty
2020-04-30 20:32:34 +10:00
Pierre Kancir
2b2dcbb6d8
Tools: Configure-ci: correct some mistakes
2020-04-30 20:32:34 +10:00
Randy Mackay
183ce50138
AP_NavEKF3: check GPS used before resetting pos due to GPS receiver change
2020-04-30 15:55:59 +09:00
Randy Mackay
f79d5d2d2c
AP_NavEKF3: handle external nav position reset
2020-04-30 15:55:59 +09:00
Randy Mackay
cbb25311bb
AP_NavEKF3: setAidingMode uses lastExtNavPassTime_ms
2020-04-30 15:55:59 +09:00
Randy Mackay
d763597065
AP_NavEKF3: compensate for visual odometry sensor position
2020-04-30 15:55:59 +09:00
priseborough
c5e465aec9
AP_NavEKF3: add external nav system support
...
includes decoupling height source from use of external nav data
2020-04-30 15:55:59 +09:00
priseborough
471372cc7f
AP_AHRS: Write external nav data to EKF3
2020-04-30 15:55:59 +09:00
Peter Barker
610d43556c
Rover: create and use INTERNAL_ERROR macro so we get line numbers
2020-04-30 13:21:36 +10:00
Peter Barker
2c16810493
ArduSub: create and use INTERNAL_ERROR macro so we get line numbers
2020-04-30 13:21:36 +10:00
Peter Barker
86c765d8c9
ArduPlane: create and use INTERNAL_ERROR macro so we get line numbers
2020-04-30 13:21:36 +10:00
Peter Barker
ba5bbcdea7
ArduCopter: create and use INTERNAL_ERROR macro so we get line numbers
2020-04-30 13:21:36 +10:00
Peter Barker
19f298e04c
AntennaTracker: create and use INTERNAL_ERROR macro so we get line numbers
2020-04-30 13:21:36 +10:00
Peter Barker
81454c7a40
GCS_MAVLink: create and use INTERNAL_ERROR macro so we get line numbers
2020-04-30 13:21:36 +10:00
Peter Barker
58a8e54d83
AP_Math: create and use INTERNAL_ERROR macro so we get line numbers
2020-04-30 13:21:36 +10:00
Peter Barker
7befe84f0c
AP_Logger: create and use INTERNAL_ERROR macro so we get line numbers
2020-04-30 13:21:36 +10:00
Peter Barker
f0b38fa11c
AP_IOMCU: create and use INTERNAL_ERROR macro so we get line numbers
2020-04-30 13:21:36 +10:00