Commit Graph

26796 Commits

Author SHA1 Message Date
Tatsuya Yamaguchi
43da962d34 AC_Avoid: use proximity_avoidance_enabled function 2021-08-02 08:52:41 +09:00
Tatsuya Yamaguchi
04deabbacb AC_Avoid: confirm USE_PROXIMITY_SENSOR to check if proximity is enabled 2021-08-02 08:52:41 +09:00
Andrew Tridgell
47854ac4b7 APM_Control: lower the tuning trigger threshold
this allows for slower stick movements during tuning

This is based on analysing the log from kir850 on rcgroups
2021-07-31 10:01:14 +10:00
Peter Barker
944b82a7be AP_Compass: make is_calibrating const 2021-07-30 17:37:08 +10:00
Peter Barker
d131cf01d3 AP_AHRS: use compass reference rather than pointer 2021-07-30 17:37:08 +10:00
Peter Barker
d5ea202c20 AP_Compass: mark COMPASS_ENABLED as @RebootRequired 2021-07-30 12:19:42 +10:00
Peter Barker
431c186306 GCS_MAVLink: use AP::compass().available in place of enabled() 2021-07-30 12:19:42 +10:00
Peter Barker
c351150a46 AP_Compass: use AP::compass().available in place of enabled() 2021-07-30 12:19:42 +10:00
Peter Barker
78e63a8852 AP_NMEA_Output: stop using AHRS as conduit for Compass pointer 2021-07-30 12:19:42 +10:00
Peter Barker
c34284b6eb AP_NavEKF3: stop using AHRS as conduit for Compass pointer 2021-07-30 12:19:42 +10:00
Peter Barker
dec4ba86b6 AP_NavEKF2: stop using AHRS as conduit for Compass pointer 2021-07-30 12:19:42 +10:00
Peter Barker
dc82487fae AP_Mount: stop using AHRS as conduit for Compass pointer 2021-07-30 12:19:42 +10:00
Peter Barker
b5b4ec94c9 AP_DAL: stop using AHRS as conduit for Compass pointer 2021-07-30 12:19:42 +10:00
Peter Barker
1d9bfdf8dd AP_Compass: stop using AHRS as conduit for Compass pointer 2021-07-30 12:19:42 +10:00
Peter Barker
ca58aa9c5f AP_AHRS: stop using AHRS as conduit for Compass pointer 2021-07-30 12:19:42 +10:00
Peter Barker
74859095a9 AP_DAL: add and use compass.available()
Covers both being enabled and initialised
2021-07-30 12:19:42 +10:00
Peter Barker
658c978c9d AP_Compass: add and use compass.available()
Covers both being enabled and initialised
2021-07-30 12:19:42 +10:00
Peter Barker
8bbed968de AP_Compass: remove unused variable 2021-07-30 12:19:42 +10:00
Tatsuya Yamaguchi
4f12c94346 AC_Avoidance: handle upward proximity enable and disable 2021-07-30 12:04:50 +10:00
Peter Barker
e4bceb2417 AP_AHRS: move AOA/SSA to AP_AHRS, don't recalc on fetch 2021-07-30 11:23:06 +10:00
Andrew Tridgell
4df62ce719 HAL_ChibiOS: added mRo-M10095 G491 peripheral 2021-07-30 10:20:52 +10:00
Andrew Tridgell
4fce1ae092 HAL_ChibiOS: added G491 support 2021-07-30 10:20:52 +10:00
Andrew Tridgell
0e7c2a27a6 AP_GPS: added arming checks for yaw available on ublox RTK rover 2021-07-30 06:51:21 +10:00
Iampete1
bb624074dd APM_Control: remove outdated tuning guide 2021-07-28 18:26:31 +10:00
Iampete1
4b28f53644 AP_Scripting: add change alt frame method to location userdata 2021-07-28 18:19:23 +10:00
Iampete1
88d4ada96d AP_Vehicle: #ifdef scripting specific functions 2021-07-28 18:18:32 +10:00
Iampete1
e5d4620372 AP_Compass: update orientation param values 2021-07-28 18:09:05 +10:00
Iampete1
9cceb2d5c1 AP_AHRS: update orientation param values 2021-07-28 18:09:05 +10:00
Iampete1
22100dd37c AP_Math: move to 32 digit rotation constants 2021-07-28 18:09:05 +10:00
Iampete1
78e025af39 AP_Compass: add Calibrator index test 2021-07-28 18:09:05 +10:00
Iampete1
5ecfd3fbce AP_Math: remove unused ROTATION_MAX_AUTO_ROTATION define 2021-07-28 18:09:05 +10:00
Iampete1
36a80d46e3 AP_Compass: support auto orientation for new rotations 2021-07-28 18:09:05 +10:00
Iampete1
dbd95f8163 AP_Math: make duplicate rotations clear 2021-07-28 18:09:05 +10:00
Iampete1
080f6c295c AP_Math: examples: rotations: add test for duplicate rotations. 2021-07-28 18:09:05 +10:00
Iampete1
f8220a8adf AP_Math: tests: test quaternion rotation is the same as vector 2021-07-28 18:09:05 +10:00
Iampete1
6c5424aad6 AP_Math: add roll +- 45 rotations 2021-07-28 18:09:05 +10:00
Andrew Tridgell
4b9311d87d AP_Motors: added new MOT_PWM_TYPE=8 for PWM range
this allows multirotors to set individual PWM ranges per motor. This
is needed for heliquads flying as multirotors
2021-07-28 17:40:40 +10:00
Hwurzburg
8b7b4d6796 AP_HAL_Chibios: Change RC in to RCINT to free a DMA channel 2021-07-28 17:24:06 +10:00
Peter Barker
f557d41145 AP_AHRS: rotate quaternions into vehicle body frame
DCM was having it both ways depending on whether it was
primary/secondary.

These are mostly uses for reporting, in which case you would expect the
quaternion to match the eulers.
2021-07-28 17:20:28 +10:00
Peter Barker
ad89e9777c GCS_MAVLink: send primary quat in ATTITUDE_QUATERNION 2021-07-28 17:20:28 +10:00
Peter Barker
118d3f085f AP_Math: quaternion: add from_euler(Vector3&) 2021-07-28 17:20:28 +10:00
Andrew Tridgell
0f3dc195b6 AP_InertialSensor: fixed build warning 2021-07-27 19:50:21 +10:00
Andrew Tridgell
aa0a77049e AP_Compass: fixed build warning on g++ 10.2 2021-07-27 19:50:21 +10:00
Peter Barker
5160b4f6ca AP_AHRS: move AP_NMEA_Output to AHRS frontend 2021-07-27 16:55:35 +10:00
Iampete1
7d3fa242d7 RC_Channel: add AUTO RTL option 2021-07-27 09:00:11 +09:00
Iampete1
32b3c8ea08 AP_Mission: caculate distance to do_land_start with no location correctly 2021-07-27 09:00:11 +09:00
Iampete1
cea54c48cd AP_BattMoniter: add Auto RTL option 2021-07-27 09:00:11 +09:00
Iampete1
9047b19e59 AP_Scripting: bindings for CANFrame and ScriptingCANBuffer 2021-07-27 09:04:17 +10:00
Iampete1
44276be3a1 AP_Scripting: add CANSensor and manaul bindings to load. 2021-07-27 09:04:17 +10:00
Iampete1
e29dd0e7e7 AP_Scripting: add CAN read and write examples 2021-07-27 09:04:17 +10:00