Commit Graph

27297 Commits

Author SHA1 Message Date
Randy Mackay
7a7f8eb7c1 AC_Avoidance: only stop below alt-fence if fence is enabled 2017-03-06 18:02:03 +09:00
Randy Mackay
3e039a6ba4 AP_NavEKF3: minor formatting fixes
No functional change
2017-03-06 18:40:18 +11:00
Randy Mackay
a80c0a231d AP_NavEKF3: attempt to set-up every core
previously we would only call setup_core for the 2nd core if the first had been setup successfully
2017-03-06 18:40:18 +11:00
priseborough
7a8783f35e AP_NavEKF3: Fix bug preventing reset to GPS
This fixes a bug that prevented the reset to the GPS position occurring if GPS velocity observations were still passing innovation consistency checks.
2017-03-06 17:11:39 +11:00
priseborough
b7c4945000 AP_NavEKF2: Fix bug preventing reset to GPS
This fixes a bug that prevented the reset to the GPS position occurring if GPS velocity observations were still passing innovation consistency checks.
2017-03-06 17:11:39 +11:00
Michael du Breuil
7f11cf3ca6 AP_Mount: Remove solo gimbal from the minimal build support 2017-03-06 11:53:08 +11:00
Jacob Walser
8e1d065d4e scripts: Generate Sub parameters 2017-03-04 09:31:51 -08:00
Opemipo Ogunkola
2631bdbe64 Add name to GIT_Success.txt 2017-03-03 09:30:28 -08:00
Randy Mackay
ca4cbaeb39 Copter: run rate controllers before AHRS/EKF update
This reduces lag between IMU updates and motor outputs by 0.6 milliseconds
2017-03-03 13:14:28 +11:00
Randy Mackay
67097c8d59 AC_AttitudeControl: use gyro_latest
This allows moving the attitude control before the ahrs/ekf update

We continue to use ahrs.get_gyro for the non-time-critical heli
passthrough functions.  We should avoid using get_gyro_latest() unless we know there is a direct benefit because it could lead to inconsistent gyro values vs what the EKF is using.
2017-03-03 13:14:28 +11:00
Randy Mackay
d3aca5544e AP_AHRS: get_gyro_latest returns latest rates from IMU with drift correction
Pulling the gyro values from the IMU allows our rate controllers to run before the EKF
2017-03-03 13:14:28 +11:00
Jacob Walser
1bc1e3faeb Sub: Update Notify pre_arm_gps_flag 2017-03-02 15:12:31 -05:00
Jacob Walser
0803371956 Sub: Default mavlink message handling to GCS_Common 2017-03-01 22:32:33 -05:00
Jacob Walser
e2a41c0a6c Sub: Implement reset all params via MAV_CMD_PREFLIGHT_STORAGE 2017-03-01 22:32:27 -05:00
Andrew Tridgell
ce978595cd AP_BoardConfig: added support for ICM-20602 detection 2017-03-02 14:21:36 +11:00
Andrew Tridgell
875274e761 AP_InertialSensor: added support for ICM-20602
treat the same as a 20608
2017-03-02 14:21:36 +11:00
Andrew Tridgell
e7024d9203 AP_Landing: restructure parameters into a structure 2017-03-02 12:38:59 +11:00
Michael du Breuil
041fe38ba6 Plane: Update build tools for deepstall PID dependency 2017-03-02 12:38:59 +11:00
Michael du Breuil
547d06febf AP_Landing: Add deepstall support 2017-03-02 12:38:59 +11:00
Michael du Breuil
cf10b7b841 Plane: Add support for landing PID's and servo control 2017-03-02 12:38:59 +11:00
Michael du Breuil
8b20577b74 AP_Landing: Add a servo override interface and PID logging interface 2017-03-02 12:38:59 +11:00
Michael du Breuil
ed359a5833 Dataflash: Add landing PID logging 2017-03-02 12:38:59 +11:00
Michael du Breuil
1bb806edb2 Plane: Use new landing interfaces 2017-03-02 12:38:59 +11:00
Michael du Breuil
c10fe2e7a4 AP_Landing: Add more interfaces from vehicle code
Fixs up some documentation about expected return values
2017-03-02 12:38:59 +11:00
Michael du Breuil
0ad46c2f72 Mavlink: Update submodule for landing 2017-03-02 12:38:59 +11:00
Andrew Tridgell
2f202441a0 PX4Firmware: added more wildcard patterns for board upload 2017-03-02 11:52:32 +11:00
Michael du Breuil
c5c94949bf AP_Math: Extend vector2::angle(vector2) to distinguish parallel and antiparallel vectors
There are a number of use cases where distingusihing antiparallel from parallel vectors is important
2017-03-02 00:50:44 +00:00
Jacob Walser
a62d728933 Sub: Move arming checks under AP_Arming_Sub 2017-03-01 10:57:27 -05:00
Jacob Walser
d21cd513cd Sub: Add AP_Arming_Sub class 2017-03-01 10:57:27 -05:00
Andrew Tridgell
abcc75009d Plane: move relay init earlier
allows relay pins to be used as pullups for other sensors (such as
LidarLiteV3)
2017-03-01 22:44:37 +11:00
Andrew Tridgell
05cbc19ad6 AP_RangeFinder: added type 15 for LidareLiteV3 2017-03-01 22:44:37 +11:00
Andrew Tridgell
cf3db7560c AP_BoardConfig: fixed AUAV21 board ID to not overlap with VRBrain boards 2017-03-01 18:07:44 +11:00
Jacob Walser
507b461388 AP_Motors: Initialize throttle range directly
This was causing SITL to hang at boot when motors object is statically allocated.
2017-02-28 22:34:35 -08:00
Andrew Tridgell
b86513f503 AP_InertialSensor: support AUAV21 board 2017-03-01 17:24:10 +11:00
Andrew Tridgell
37c9e08316 AP_Compass: support AUAV21 board 2017-03-01 17:24:10 +11:00
Andrew Tridgell
d5cad2ae44 AP_Baro: support AUAV21 board 2017-03-01 17:24:10 +11:00
Andrew Tridgell
1989f31ae3 AP_BoardConfig: added AUAV21 board type
unfortunately this uses the same sensor types as the PHMini, which
means we can't auto-detect the difference between them.
2017-03-01 17:24:10 +11:00
Randy Mackay
d79403707b AC_AttControl: add feed forward param descriptions
No functional change
2017-03-01 14:59:44 +09:00
Randy Mackay
fd94ab43fa AP_Proximity: minor fix to param description
No functional change
2017-03-01 14:59:44 +09:00
Randy Mackay
e8c5612587 Copter: fix reference to PosControl param descriptions
No functional change
2017-03-01 14:59:44 +09:00
Jacob Walser
2c4e6a8fb6 web-firmware: Add Sub link to firmwares page 2017-03-01 14:44:55 +11:00
Jacob Walser
262f3213e7 Sub: Ditch relative include path 2017-02-28 16:55:00 -05:00
Jacob Walser
8afb7fc96a Sub: Remove call to set_esc_scaling
This is now performed in motors library
2017-02-28 13:24:49 -05:00
Randy Mackay
36bcabb4e4 SRV_Channel: add constraint to move_servo 2017-02-28 19:29:00 +11:00
Andrew Tridgell
eea7459c3c PX4Firmware: critical fix for oneshot
prevent very long pulses with oneshot from locking up the FMU

Many thanks to Cipta for finding this condition
2017-02-28 19:29:00 +11:00
Randy Mackay
c9ff028ec3 Tools: update IRIS param file for AC3.5 2017-02-28 16:43:09 +09:00
Randy Mackay
7b3af58634 AC_Avoidance: fix AVOID_ANGLE_MAX parameter description 2017-02-28 15:33:59 +09:00
Randy Mackay
eb746eaeef Plane: fix SYSID_ENFORCE parameter description 2017-02-28 15:08:17 +09:00
Randy Mackay
b8f24fba98 Rover: fix SYSID_ENFORCE parameter description 2017-02-28 15:07:59 +09:00
Randy Mackay
627e3faf41 Copter: fix SYSID_ENFORCE parameter description 2017-02-28 15:06:51 +09:00