Commit Graph

23360 Commits

Author SHA1 Message Date
Andy Piper
80e1c0ebb0 AP_RCProtocol: decode DSM frame markers to avoid timing related jitters especially in SITL
complete re-write of DSM decoding
2020-07-13 19:36:49 +10:00
Henry Wurzburg
d78c5371db AP_HAL_ChibiOS: remove fmuv4 and update Pixracer 2020-07-13 15:24:54 +10:00
Paul Riseborough
0cf70fe961 AP_Logger: Log D gain limit cycle gain scaler
Used by Plane roll and pitch loops in APM_Control
2020-07-13 13:47:50 +10:00
Paul Riseborough
548bab5d24 APM_Control: Add gyro feedback limit cycle protection 2020-07-13 13:47:50 +10:00
Rishabh
8e586bc67d AP_Proximity: Check for valid reading before pushing to OA DB 2020-07-10 15:48:59 +09:00
Andy Piper
05416daef3 GCS_Mavlink: output fast sampling startup messages 2020-07-10 16:45:29 +10:00
Andy Piper
faf9bbbf3a AP_InertialSensor: make the backend fast gyro rate configurable
raise gyro rate default on F7 and H7
clean up gyro rate docs and output startup banner
2020-07-10 16:45:29 +10:00
Andy Piper
e35458cedf AP_NavEKF3: INS get_sample_rate() renamed to get_loop_rate_hz() 2020-07-10 16:45:29 +10:00
Andy Piper
e39e24bd18 AP_NavEKF2: INS get_sample_rate() renamed to get_loop_rate_hz() 2020-07-10 16:45:29 +10:00
Andy Piper
5a6be9e0a2 AP_Mount: INS get_sample_rate() renamed to get_loop_rate_hz() 2020-07-10 16:45:29 +10:00
Andrew Tridgell
9f1e641637 HAL_ChibiOS: added new STM32Cube configs 2020-07-10 13:33:51 +10:00
Andrew Tridgell
84bd59a7bb HAL_ChibiOS: support H7 with no crystal 2020-07-10 13:33:51 +10:00
Andrew Tridgell
cfbfb27004 HAL_ChibiOS: support no-crystal F3 setups 2020-07-10 13:33:51 +10:00
Andrew Tridgell
5a18b16f69 GCS_MAVLink: use strncpy_noterm 2020-07-10 13:32:24 +10:00
Andrew Tridgell
7e41874d8f AP_RCTelemetry: use strncpy_noterm 2020-07-10 13:32:24 +10:00
Andrew Tridgell
f80ca85428 AP_Logger: use strncpy_noterm 2020-07-10 13:32:24 +10:00
Andrew Tridgell
369861e4c0 AP_InternalError: use strncpy_noterm 2020-07-10 13:32:24 +10:00
Andrew Tridgell
18deb1c0bd AP_Common: added strncpy_noterm
used to suppress string termination warnings
2020-07-10 13:32:24 +10:00
Andrew Tridgell
7e14f62fcd SITL: suppress cast-align warnings in SIM_XPlane 2020-07-10 13:31:27 +10:00
Andrew Tridgell
e9a4a74e7b AP_Scripting: suppress cast-align warnings in Lua interpreter
this is externally maintained code that makes heavy use of casting
2020-07-10 13:31:27 +10:00
Andrew Tridgell
b2dc0c8344 AP_FlashStorage: fixed alignment errors 2020-07-10 13:31:27 +10:00
Andrew Tridgell
ac604cac54 HAL_SITL: update for GPS param changes 2020-07-10 13:28:38 +10:00
Andrew Tridgell
a6df0745a6 SITL: make all GPS params available for both GPS 2020-07-10 13:28:38 +10:00
Andrew Tridgell
fb5a06b8da AP_Terrain: added AP namespace access to terrain 2020-07-10 13:28:38 +10:00
Andrew Tridgell
9466e7e71e GCS_MAVLink: make correct_offboard_timestamp_usec_to_ms protected
for use by vehicle code
2020-07-10 13:28:38 +10:00
Andrew Tridgell
f9f8822e47 SITL: added ship takeoff/landing simulation
this allows for a ship with a given radius and speed, allowing for
testing of ship takeoff and landing systems
2020-07-10 13:28:38 +10:00
Andrew Tridgell
91aaa7876d GCS_MAVLink: reserve another mavlink channel
for SimShip
2020-07-10 13:28:38 +10:00
Andrew Tridgell
925b44dee5 SITL: split out GPS and MAG parameters into their own tables
this creates space for new parameter trees
2020-07-10 13:28:38 +10:00
Andrew Tridgell
d0d7a46492 AP_AHRS: fixed SITL origin handling
we need to keep origin and home separate for AHRS_EKF_TYPE=10. This
caused issues with resets in RealFlight leading to the plane not
descending
2020-07-10 10:08:51 +09:00
Andy Piper
be3a2cc294 AP_RCTelemetry: disable CRSF debug 2020-07-09 17:42:17 +10:00
Randy Mackay
5b7918030f AP_ToshibaCAN: correct unused portion of motor reply data1 packet 2020-07-09 08:41:42 +09:00
Randy Mackay
0850b0acae AP_ToshibaCAN: handle negative RPM 2020-07-09 08:41:42 +09:00
Harshit Kumar Sankhla
33ac9efe17 SITL: add parameters for 2nd baro 2020-07-08 16:25:31 +10:00
Harshit Kumar Sankhla
27fc7dcf0a AP_Baro: get SITL to work with multiple baros
baro readings are independent of each other
and can be configured to behave differently
2020-07-08 16:25:31 +10:00
Henry Wurzburg
b84b6b52b3 RC_Channel: add terrain follow disable switch for CRUISE/FBWB 2020-07-08 13:39:42 +10:00
Randy Mackay
9c7f382392 AP_RangeFinder: remove unused set_rfnd_bit 2020-07-08 11:42:10 +09:00
Andy Piper
98562cc523 SITL: build fix on macos 2020-07-08 08:52:30 +10:00
Andy Piper
5bc1b11a80 AP_RCTelemetry: CRSF support
battery and heartbeat telemetry
parse VTX packets and VTX telemetry
provide GPS, Battery, Attitude, FlightMode telemetry
issue parameter updates at scheduled rate
support setting power levels with dbm
support standalone mode
set defaults from incoming VTX packets
output configured VTX settings
2020-07-07 18:48:06 +10:00
Andy Piper
4e88adf86e AP_RCProtocol: TBS CRSF implementation
refactor rc channels decoding into backend
refactor SBUS to use decode_11bit_channels()
only support big-endian
don't include CRSF in iomcu
2020-07-07 18:48:06 +10:00
Andy Piper
2bae080be4 AP_HAL_ChibiOS: increase RCIN stack size 2020-07-07 18:48:06 +10:00
Andy Piper
34a28cce00 SITL: add CRSF simulation driver 2020-07-07 18:48:06 +10:00
Andy Piper
a9ded9d870 AP_HAL_SITL: add CRSF simulation driver 2020-07-07 18:48:06 +10:00
Andy Piper
820d6654af AP_Vehicle: add VideoTX 2020-07-07 18:48:06 +10:00
Andy Piper
ac5a7275bf AP_Camera: move crc8_dvb_s2 to AP_Math 2020-07-07 18:48:06 +10:00
Andy Piper
d4c5b945b3 AP_Math: move crc8_dvb_s2 here and add additional crc8 functions 2020-07-07 18:48:06 +10:00
Andy Piper
d9f11c1a0a AP_SerialManager: add CRSF support and CRSF protcol 2020-07-07 18:48:06 +10:00
Paul Riseborough
24fccd5d87 AP_NavEKF3: Don't delay GPS use unnecessarily
Fixed wing should not wait for bias state convergence after in-flight yaw alignment
2020-07-07 15:33:58 +10:00
Paul Riseborough
9a4108f55e AP_NavEKF3: Simplify setting EK3_MAG_CAL
Don't require user to separately set EK3_MAG_CAL to fly without a magnetomer
2020-07-07 15:33:58 +10:00
Paul Riseborough
0dc598a6e1 AP_NavEKF3: Fix param description and comment 2020-07-07 15:33:58 +10:00
Paul Riseborough
25cba50f10 AP_NavEKF3: Fix EK2_MAG_CAL parameter description 2020-07-07 15:33:58 +10:00