Commit Graph

40922 Commits

Author SHA1 Message Date
Peter Barker
1cfb4e4a49 autotest: test FRSky serial output by taking output via TCP 2020-01-09 12:24:11 +11:00
Peter Barker
3074855ea3 AP_HAL_SITL: correct port numbers in diagnostic output 2020-01-09 09:43:56 +11:00
Andrew Tridgell
5588229f68 AP_RCProtocol: fixed scaling on FPort RSSI
make it match OpenTX
2020-01-09 07:08:11 +11:00
Peter Barker
2f60f783d4 SITL: add simulated Frsky devices 2020-01-08 23:53:48 +11:00
Peter Barker
0c8e6f212d AP_HAL_SITL: add simulated frsky support 2020-01-08 23:53:48 +11:00
Andrew Tridgell
da2f60ae95 AP_SerialManager: ensure users can't break SERIAL0_PROTOCOL
this prevents users from setting SERIAL0_PROTOCOL to something that
prevents them accessing the board. This can happen when users are
trying to setup SLCAN
2020-01-08 20:55:25 +11:00
Peter Barker
eb452478ac Copter: override do_aux_function_armdisarm method to set armed_with_switch
As well as removing the code duplication, this only sets the flag if
arming was actually successful.  armed-with-switch is used when setting
various state, and it isn't entirely clear that we only use it when
armed.  This would seem to be a safer option.
2020-01-08 18:36:02 +11:00
Peter Barker
ac25b90dda RC_Channel: factor out a do_aux_function_armdisarm method 2020-01-08 18:36:02 +11:00
Peter Barker
a50b777179 ArduPlane: let RC_Channel indicate AUX_FUNC::ARMDISARM needs no initialisation
All users set this.
2020-01-08 18:36:02 +11:00
Peter Barker
0d04ef19fe ArduCopter: let RC_Channel indicate AUX_FUNC::ARMDISARM needs no initialisation
All users set this.
2020-01-08 18:36:02 +11:00
Peter Barker
3f89f0e37a APMrover2: let RC_Channel indicate AUX_FUNC::ARMDISARM needs no initialisation
All users set this.
2020-01-08 18:36:02 +11:00
Peter Barker
10976344b8 RC_Channel: let RC_Channel indicate AUX_FUNC::ARMDISARM needs no initialisation
All users set this.
2020-01-08 18:36:02 +11:00
Peter Barker
316c6af69f autotest: give guided mode test more time to achieve attitude 2020-01-08 14:29:54 +11:00
Peter Barker
4c5c5fff72 AP_Scripting: add some pointers on how to work with bindings 2020-01-07 19:29:12 -07:00
Peter Barker
2c5e07cb09 AP_Logger: log battery and cell information using instance numbers 2020-01-08 13:00:17 +11:00
Rajat Singhal
552191925b SITL: Add OA BendyRuler params for Airsim Lidar, rename file 2020-01-08 09:10:54 +09:00
Rajat Singhal
dccb95efce AP_Proximity: Fix Airsim Proximity sector update
Distance equals least distance in that sector rather than last point sampled
2020-01-08 09:10:54 +09:00
Peter Barker
d065840b63 Tools: install-env: add libsmfl and pygame; allows joystick and OSD 2020-01-08 10:42:11 +11:00
CUAVcaijie
7e89591e90 HAL_ChibiOS: Modify the default orientation of the compass 2020-01-08 07:33:51 +11:00
Andrew Tridgell
e18a14c123 ChibiOS: fixed I2C4 on STM32H7
this fixes 4th I2C port on Durandal
2020-01-08 05:56:23 +11:00
Andrew Tridgell
fced7d78fc HAL_ChibiOS: fixed clock src for I2C4 on H7 2020-01-08 05:56:23 +11:00
Andrew Tridgell
1ac65e9c6f Tools: rebuild f103 bootloaders 2020-01-07 12:37:35 +11:00
Andrew Tridgell
db777c56b9 AP_GPS: provide yaw feedback in GPS_RAW_INT and GPS2_RAW
allow GPS to display status of GPS yaw for moving baseline and NMEA
2020-01-07 12:37:35 +11:00
Andrew Tridgell
e4280ac3a5 mavlink: added yaw to GPS messages 2020-01-07 12:37:35 +11:00
Andrew Tridgell
e40c570615 AP_GPS: faster config of moving baseline
thanks to MdB for suggestion
2020-01-07 12:37:35 +11:00
Andrew Tridgell
cebd8cf9db AP_Periph: removed float random code 2020-01-07 12:37:35 +11:00
Andrew Tridgell
c998f93949 AP_Bootloader: removed use of float in can code 2020-01-07 12:37:35 +11:00
Andrew Tridgell
ebceab9aa0 AP_Compass: don't probe for ICM20948 on AP_Periph 2020-01-07 12:37:35 +11:00
Andrew Tridgell
e660532f67 AP_GPS: fixes from PR review 2020-01-07 12:37:35 +11:00
Andrew Tridgell
41289fe945 AP_GPS: adjust lag for MB RTK ublox
rover will lag by about 40ms
2020-01-07 12:37:35 +11:00
Andrew Tridgell
b86c43aa66 AP_GPS: prefer RTK MB rover when it has yaw available
this ensures that yaw data is time aligned with position and velocity
data
2020-01-07 12:37:35 +11:00
Andrew Tridgell
261465ef96 AP_GPS: split out update_primary() from update()
this makes the selection of primary GPS a lot clearer, with less
nesting of if statements
2020-01-07 12:37:35 +11:00
Andrew Tridgell
93aaf98672 AP_GPS: added automatic u-blox moving baseline configuration
this uses GPS_TYPE and GPS_TYPE2 to setup two u-blox F9 receivers in a
RTK moving baseline configuration
2020-01-07 12:37:35 +11:00
Andrew Tridgell
71a0f3a1dc AP_GPS: added RTCMv3 parser
will be used for moving baseline support
2020-01-07 12:37:35 +11:00
Matt Lawrence
809b170015 Copter: Circle mode pilot control of rate & radius
RC pitch stick controls circle mode radius.  RC roll stick controls circle mode rate (speed) and direction.
2020-01-07 09:30:33 +09:00
Matt Lawrence
189fee556f AC_WPNav: Circle mode pilot control of rate & radius 2020-01-07 09:30:33 +09:00
Peter Barker
7a5b8136ad AP_AHRS_NavEKF: inform all running EKFs that takeoff or touchdown is expected
Several other methods in here poke both EKFs like this.
2020-01-07 11:06:36 +11:00
Peter Barker
d5b1f1651e Copter: remove unneeded set_range calls on RC Aux channels
This isn't an exhaustive list of channels used for auxillary input, so
that makes this wrong.

RC_Channel goes off the raw get_radio_in values, so setting these is a
pointless and potentially confusing state change.

Also, Plane and Rover don't do this - so things are more consistent
after this.
2020-01-07 08:41:36 +09:00
Peter Hall
af08379d1b AP_Motors: MatrixTS remove output_to_motors 2020-01-07 10:40:22 +11:00
Peter Hall
615695c1bc AP_Motors: MatrixTS: defualt to normal Matrix setup 2020-01-07 10:40:22 +11:00
Peter Hall
4aa0dfa2aa AP_Motors: output_motor_mask update 2020-01-07 10:40:22 +11:00
Michael du Breuil
5da062b850 AP_Scripting: Forward declare lua_new_uint32_t 2020-01-06 16:02:50 -07:00
Andy Piper
a469a31528 AP_HAL_SITL: prevent dump_stack_trace() blowing up on macOS 2020-01-06 14:57:46 +11:00
Jaaaky
1817280e01 AP_Logger: fix 'last_file' may be used uninitialized with debug build 2020-01-06 14:53:03 +11:00
Randy Mackay
188fdfb1b8 GCS_MAVLink: send optflow message even if no height estimate 2020-01-06 11:36:43 +09:00
Andrew Tridgell
32603b45fa Tools: updated bootloaders for new USB IDs 2020-01-06 11:43:15 +11:00
Andrew Tridgell
43172bdd57 HAL_ChibiOS: switch non-composite USB ID
use newly allocated 0x1209/0x5740
2020-01-06 11:43:15 +11:00
murata
a31f881232 Copter: Change the version patch number 2020-01-06 09:29:21 +09:00
Andrew Tridgell
82148607ee Tools: add USBID to generated apj file 2020-01-06 09:55:26 +11:00
Andrew Tridgell
793b867706 HAL_ChibiOS: switched to new USB VID for dual-CDC boards 2020-01-06 09:55:26 +11:00