Commit Graph

13877 Commits

Author SHA1 Message Date
Andrew Tridgell
f571b34fd7 AP_Motors: setup RC speed for tailsitters 2017-04-11 17:34:40 +10:00
Andrew Tridgell
1db3b31686 SRV_Channel: added set_rc_frequency
this allows for setting RC output rate of named channel types
2017-04-11 17:34:40 +10:00
Andrew Tridgell
328541769d AP_Motors: allow control surfaces to move disarmed
allow tailsitter control surfaces to move in Q modes when shutdown
2017-04-11 17:34:40 +10:00
Andrew Tridgell
37301f67a0 SRV_Channel: added left and right motor tilt controls 2017-04-11 17:34:40 +10:00
Eugene Shamaev
0b54d5764c AP_BoardConfig: support for CAN and UAVCAN at board level 2017-04-10 22:38:13 +01:00
Eugene Shamaev
dfe9b0e6fc AP_GPS: support for UAVCAN connected GNSS receivers 2017-04-10 22:38:12 +01:00
Eugene Shamaev
3e044c7b8a AP_Compass: support for UAVCAN connected magnetometers 2017-04-10 22:38:12 +01:00
Eugene Shamaev
331419a51e AP_Baro: support for UAVCAN connected barometers 2017-04-10 22:38:12 +01:00
Eugene Shamaev
c43d91b92e SRV_Channel: support for servo and ESC commands to be send via UAVCAN 2017-04-10 22:38:12 +01:00
Eugene Shamaev
68a8d8615d AP_UAVCAN: library for support of UAVCAN protocol 2017-04-10 22:38:12 +01:00
Eugene Shamaev
7831a85f1c AP_HAL_Linux: definitions for CAN bus 2017-04-10 22:38:12 +01:00
Eugene Shamaev
d81af8700f AP_HAL_SITL: definitions for CAN bus 2017-04-10 22:38:12 +01:00
Eugene Shamaev
55a0bd081f AP_HAL_PX4: ESC scaling 2017-04-10 22:38:12 +01:00
Eugene Shamaev
7caeaf4be6 AP_HAL_PX4: RCOutput support for UAVCAN 2017-04-10 22:38:12 +01:00
Eugene Shamaev
865392f034 AP_HAL_PX4: CAN bus driver 2017-04-10 22:38:12 +01:00
Eugene Shamaev
d1792689f1 AP_HAL/utility: clear added to RingBuffer 2017-04-10 21:31:07 +01:00
Eugene Shamaev
a07033f938 AP_HAL: ESC scaling 2017-04-10 21:31:07 +01:00
Eugene Shamaev
9b98c304c4 AP_HAL: top level HAL definitions for CAN bus driver 2017-04-10 21:31:07 +01:00
Andrew Tridgell
7cd290af9b AP_HAL: added defaults offsets max for disco 2017-04-10 19:17:37 +10:00
priseborough
8250fe4943 AP_NavEKF3: fix documentation derivation references 2017-04-10 15:47:35 +09:00
Andrew Tridgell
bcec837f06 AP_BoardConfig: fixed warning in SITL build 2017-04-10 10:02:42 +10:00
Michael du Breuil
6b523cbd46 AP_GPS: Fix a memory leak in QURT GPS
Fixes part of #6000
2017-04-09 16:56:00 +10:00
Andrew Tridgell
3236090d71 HAL_SITL: allow plane and rover to use SIM_ENGINE_FAIL 2017-04-09 16:45:19 +10:00
Andrew Tridgell
68e0b5b7fa SITL: support XPlane-11
the packets are prefixed with DATA* instead of DATA@

This makes it work with both versions
2017-04-09 16:39:26 +10:00
Andrew Tridgell
dbfdfa2261 HAL_PX4: fixed a bug in setup of alt rates for upper channels
this affected vehicles with high rates on upper channels, such as hexa
and octa quadplanes. The bug caused the rates set on the upper channels
to also be set on the primary channels, which means the low channels
containing aileron, elevator etc ran at 400Hz instead of 50Hz, resulting
in potential damage to the servos
2017-04-07 20:32:19 +10:00
Andrew Tridgell
a8b12dcf3c HAL_PX4: never wait on a semaphore in interrupt context
this shouldn't ever happen, but better to check
2017-04-07 18:16:14 +10:00
Andrew Tridgell
1c5607b42d AP_RPM: fixed build for aero-fc 2017-04-07 17:45:10 +10:00
Peter Barker
feb30b3b9b DataFlash: add mutex for WritePrioritisedBlock
Multiple threads attempt to write blocks; don't let
them interfere
2017-04-06 22:09:18 +10:00
Peter Barker
2fa97c9906 DataFlash: improve privacy aspects of instance variables 2017-04-06 22:09:18 +10:00
Michael du Breuil
33d0fa3e82 AP_AHRS: Fix an index out of bounds
Coverity 137817, getPrimaryCoreIMUIndex() can return -1, which is then invalid to pass to get_delta_velocity_dt
2017-04-06 08:44:57 +10:00
Michael du Breuil
a0cb34db57 AP_Landing: Leverage new nav_controller loiter radius interface 2017-04-06 08:26:04 +10:00
Michael du Breuil
93a18e7dc8 L1: Add loiter radius scaling based upon bank limits at sea level 2017-04-06 08:26:04 +10:00
Michael du Breuil
2ac32ad204 AP_Navigation: Add a loiter radius interface 2017-04-06 08:26:04 +10:00
Michael du Breuil
336b4a64d7 AP_Navigation: Whitespace (tab/spaces inconsistency) 2017-04-06 08:26:04 +10:00
Jacob Walser
4e700ea4df AP_JSButton: Change mode button function implementation 2017-04-05 13:29:06 -04:00
Dr.-Ing. Amilcar Do Carmo Lucas
b4260c77be Add and update missing SITL command line usage information 2017-04-05 20:17:40 +10:00
priseborough
06c073e448 AP_NavEKF3: Update tilt alignment check 2017-04-05 20:16:16 +10:00
Andrew Tridgell
c118deccb0 AP_BoardConfig: added BRD_IO_ENABLE parameter
allow for px4io to be disabled completely
2017-04-05 20:14:53 +10:00
Peter Barker
3defe584e7 DataFlash: extract common labels and formats into defines 2017-04-05 19:16:21 +10:00
Peter Barker
510aa587ef DataFlash: add validation for logging structures 2017-04-04 20:03:33 +01:00
Peter Barker
2746edfd32 DataFlash: move Init from LogFile.cpp to Dataflash.cpp (NFC) 2017-04-04 20:03:33 +01:00
Andrew Tridgell
9e2cfabb8a AP_RPM: support RPM input on any AUX pin 2017-04-04 16:33:45 +10:00
Peter Barker
564ff3a468 GCS_MAVLink: always allow HOME to be read by MISSION_REQUEST
Fixes #5980
2017-04-04 15:00:07 +10:00
Andrew Tridgell
fafd940dd5 AP_Arming: use compass get_offsets_max() 2017-04-04 00:49:34 +01:00
Andrew Tridgell
ee2afd3242 AP_Compass: added COMPASS_OFFS_MAX
this allows setup of airframes with hatch magnets
2017-04-04 00:49:34 +01:00
Jacob Walser
98b7dac870 AP_ServoRelayEvents: Remove constraint on 'channel' value
This was preventing proper function of Relay #0, and the intention of
this check was redundant
2017-04-04 09:14:07 +10:00
Andrew Tridgell
6ec32472c5 AP_Airspeed: average two readings for airspeed
given we're using it to check for errors, we may as well reduce analog
noise too
2017-04-04 08:40:31 +10:00
Peter Barker
724be3878c AP_HAL_PX4: correct output of system-id on px4-v3 2017-04-03 14:14:59 +10:00
Andrew Tridgell
a11dca5229 AP_AHRS: added optional skip_ins_update to AHRS::update()
avoid the ins update if already done in copter fast_loop()
2017-04-03 13:04:11 +09:00
Andrew Tridgell
02976168cc HAL_PX4: fixed RC rate when BRD_PWM_COUNT=0
if BRD_PWM_COUNT is zero then alt_fd is -1, and we were not setting
servo output rate
2017-04-03 10:05:30 +09:00