Peter Barker
b68a91d171
AP_NavEKF3: remove default clause in setAidingMode
...
All aiding modes should be covered in the switch statement; adding the
default clause squelches a potentially useful compiler warning
6 years ago
Peter Barker
3774aa6619
AP_NavEKF2: remove default clause in setAidingMode
...
All values from the enumeration should be handled in this switch; adding
a default will hide a compiler warning which may be useful.
6 years ago
Andrew Tridgell
8c391291a3
HAL_ChibiOS: fixed a race in DShot code
...
this fixes a problem found by Daniel Met with the copter 3.6 beta
release
6 years ago
Michael du Breuil
9a48a0835e
AP_HAL_ChibiOS: Don't redefine errno
6 years ago
Jochen Anglett
1c60417d03
AP_Frsky_Telem: add IMU temperature reporting
6 years ago
Raouf
8bfb1d2445
AP_Proximity: add support for OBSTACLE_DISTANCE message
6 years ago
Michael du Breuil
f51d757844
AP_InertialSensor: Remove unused (and conflicting in some builds) include
6 years ago
Michael du Breuil
88aa20d691
AP_Airspeed: Make user facing messages clearer, improve handling of bad tube order
6 years ago
Michael du Breuil
f810b7b9f6
AP_HAL_ChibiOS: Make getcwd() take size_t as per the standard
6 years ago
Andrew Tridgell
2f2be6afda
AP_Compass: use rotation_equal() from AP_Compass
6 years ago
Andrew Tridgell
d4eaf09baf
AP_Math: added rotation_equal()
6 years ago
Andrew Tridgell
803f255c73
AP_Compass: fixed handling of duplication rotations
...
we have some rotations that are duplicated, such as ROLL_180_YAW_90
and PITCH_180_YAW_270. This copes with those in the auto-orientation
code
6 years ago
Peter Barker
ac0e126099
Copter: correct AFS terminate-via-land for Copter
...
In the case we're terminating via land it's a good idea to continue to
constantly adjust our motor outputs for stabilization and the like....
6 years ago
Peter Barker
254ef4f0ae
AP_WheelEncder: remove dead code
6 years ago
Randy Mackay
8d3b093bbf
AP_OSD: resolve compiler warning
6 years ago
Randy Mackay
7519a28e8c
AP_WindVane: remove destructor
6 years ago
Randy Mackay
743ef9dfe6
AP_WindVane: correct parameter descriptions
6 years ago
Randy Mackay
30f20827ec
AP_WindVane: add calibration voltage check
...
also support starting calibration via mavlink message
6 years ago
Randy Mackay
31e2d5d2ad
AP_WindVane: updates after peer review
...
rename get_instance to get_singleton
update expected to be called at 20hz
filters moved into AP_WindVane scope and dt fixed
apparent wind direction stored locally in earth-frame and read_ functions renamed to reflect this
panic only called for SITL
analog pin init changed and assume voltage is radiometric
some renames of "bearing" to "distance"
some redundant constraints removed
6 years ago
IamPete1
e443b864c6
AR_AttitudeControl: add sail heel PID
6 years ago
Randy Mackay
ce397161bf
AP_WindVane: add SITL driver
6 years ago
IamPete1
b54e3df57c
AP_WindVane: library to read wind direction from sensor
6 years ago
IamPete1
7a8e7449fa
SRV_Channel: add mailsail to servo function enum
6 years ago
Randy Mackay
b7c88da67c
SITL: sailboat fixes from peer review
6 years ago
Randy Mackay
ada073fbdc
AP_HAL_SITL: add sailboat to SITL_cmdline.cpp
6 years ago
Randy Mackay
804305aa2b
SITL: add simple sailboat simulator
6 years ago
bnsgeyer
833bc4e77d
AP_Motors: Tradheli - fixes slew speed of swashplate during collective servo test
6 years ago
Randy Mackay
d271dda8c5
AC_PrecLand: init accepts update rate
6 years ago
Randy Mackay
7fbdaa3c65
AC_PrecLand: LAG to float and use main loop rate
...
also includes other changes from peer review:
- check_inertia_buffer renamed to init_inertial_buffer and nullptr checks removed to make it more clear this should only be called once
- init_inertial_buffer made private
- add check that inertial_buffer_size is never less than 1
- fixup comments
6 years ago
Randy Mackay
40d4bcb84a
AC_PrecLand: rename BUFFER to LAG and add alloc failure check
...
avoids issue where LAG parameter is set too large which would lead to trying to access unallocated memory
inertial buffer is only allocated at startup to avoid memory leak
6 years ago
fnoop
02da34a246
AC_PrecLand: Add PLND_BUFFER parameter and move to AP_HAL::utility::RingBuffer, #6297
...
AC_PrecLand: Add PLND_BUFFER parameter and move to AP_HAL::utility::RingBuffer, ##6297
AC_PrecLand: Fixup int type, #8892
AC_PrecLand: Add PLND_BUFFER parameter and move to AP_HAL::utility::RingBuffer, ##6297
Update screwed up submodules from rebase
6 years ago
Michael du Breuil
c02863e001
AP_AHRS: Internalize EKF getLLH altitude management
6 years ago
Michael du Breuil
1991f223ac
AP_NavEKF3: Fix roundoff, and missing offset handling of getLLH
6 years ago
Michael du Breuil
66e9286cf6
AP_NavEKF2: Fix roundoff, and missing offset handling of getLLH
6 years ago
Michael du Breuil
65641c3cb7
AC_Circle: Cope with AC_PosControl renaming
6 years ago
Michael du Breuil
d3bee76f0b
AC_WPNav: Cope with AC_PosControl renaming
6 years ago
Michael du Breuil
1d13aff711
AC_AttitudeControl: Rename several set_speed and set_accel functions
6 years ago
Lucas De Marchi
0990fc4400
AP_HAL_Linux: send warning to stderr
6 years ago
Peter Barker
5ae3c60e8b
AP_Notify: fix nullptr in ToshibaLED example
6 years ago
Peter Barker
71c9c91c2d
AP_Motors: fix example
6 years ago
Peter Barker
2ed8118cda
AP_FlashStorage: adjust example so it does not exit
6 years ago
Peter Barker
220a3d19bf
AP_HAL_Linux: do not attempt to run examples realtime unless root
6 years ago
Peter Barker
43c07259f3
AP_HAL_Linux: break out init_realtime
6 years ago
Michael du Breuil
7fda309d3c
AP_HAL_ChibiOS: Remap unused pins to ADC
6 years ago
Michael du Breuil
6544f16339
AP_HAL: Make BBBlue use AP_BoardLED2
6 years ago
Michael du Breuil
e41b2de5ea
AP_Notify: Catch bad board LED combos
6 years ago
Michael du Breuil
6f7ced73d6
AP_HAL: Remove bad GPIO LED pins on NavIO2
6 years ago
Michael du Breuil
9cd1be1d6f
AP_Math: Speed up location calculations slightly
6 years ago
Siddharth Purohit
8ac38d73f7
HAL_ChibiOS: add option for NO_FASTBOOT build and enable it for iomcu
6 years ago
Siddharth Purohit
6622c9b8fd
HAL_ChibiOS: wrap sscanf and snprintf methods
6 years ago