Commit Graph

37259 Commits

Author SHA1 Message Date
Willian Galvani
4edd161bd3 SITL: Sub: add angular drag based on a laminar, external flow 2019-09-25 21:28:53 -07:00
Willian Galvani
c8571dd8de SITL: Sub: Fix rotational physics logic 2019-09-25 21:28:53 -07:00
Willian Galvani
16f9a29da9 SITL: Sub: Use proper phyisics for thrusters 2019-09-25 21:28:53 -07:00
Willian Galvani
195efaeec0 SITL: Submarine: add torque for static stability
Subs are statically stable regarding pitch and roll.
This patch reproduces this in SITL
2019-09-25 21:28:53 -07:00
Willian Galvani
9f7349f712 SITL: add deadzones to Sub thrusters PWM signals 2019-09-25 21:28:53 -07:00
Willian Galvani
078c8d0096 SITL: Fix buoyancy direction for earth-frame
Previously the sub would just go upwards, so rolling it 180º caused it to sink
2019-09-25 21:28:53 -07:00
Willian Galvani
357293fb2c SITL: Add 6dof frame for Sub 2019-09-25 21:28:53 -07:00
Willian Galvani
3356baed53 SITL: get rid of frame_vectored.h for Sub 2019-09-25 21:28:53 -07:00
Willian Galvani
ed6d7c434b Sub: rate-limit init_motor_test() calls 2019-09-23 10:43:31 -07:00
Willian Galvani
d23ad705e1 Sub: Accept position_target_global_int for depth control in ALT_HOLD 2019-09-12 10:09:43 -07:00
Michael du Breuil
6734eede0c AP_HAL_ChibiOS: Fix python3 with F7 builds 2019-07-25 16:17:08 -04:00
Peter Barker
94b898bfcb Sub: correct LOIT parameter documentation prefix
Closes #11769
2019-07-25 16:17:08 -04:00
Jacob Walser
3c8cf5c483 sub: version to 3.6.0-beta 2019-04-08 15:15:41 -04:00
Andrew Tridgell
4aaf3e2dd1 Tools: build CUAVv5Nano firmware 2019-04-08 08:21:39 -07:00
Andrew Tridgell
a767c15986 HAL_ChibiOS: change CUAVv5Nano default PWM count to 11 2019-04-08 08:21:39 -07:00
Andrew Tridgell
c6637fbe38 HAL_ChibiOS: fixed CUAVv5Nano uarts 2019-04-08 08:21:39 -07:00
Andrew Tridgell
19b836aecd Tools: added CUAVv5Nano bootloader 2019-04-08 08:21:39 -07:00
Andrew Tridgell
ce4abf8dcb HAL_ChibiOS: support for CUAVv5Nano board
F765 with no IOMCU
2019-04-08 08:21:39 -07:00
Pierre Kancir
ad75b1e56f AP_Scripting: update locations_are_same to same_latlon_as 2019-04-08 08:05:05 -07:00
Pierre Kancir
d8990a002e Plane: update locations_are_same to same_latlon_as 2019-04-08 08:05:05 -07:00
Pierre Kancir
b10e75f4e1 AP_Math: move locations_are_same to Location and rename to same_latlon_as 2019-04-08 08:05:05 -07:00
Pierre Kancir
a700b647db AP_HAL_SITL: fix ‘heap’ shadowing 2019-04-08 08:02:40 -07:00
Pierre Kancir
47141562c0 ArduPlane: use get_distance_NE instead of location_diff 2019-04-08 08:00:52 -07:00
Pierre Kancir
ebdcfdf65b SITL: use get_distance_NE instead of location_diff 2019-04-08 08:00:52 -07:00
Pierre Kancir
6fbcb21ae3 AP_Terrain: use get_distance_NE instead of location_diff 2019-04-08 08:00:52 -07:00
Pierre Kancir
51437ccc53 AP_Soaring: use get_distance_NE instead of location_diff 2019-04-08 08:00:52 -07:00
Pierre Kancir
b3a1c9c90c AP_NavEKF3: use get_distance_NE instead of location_diff 2019-04-08 08:00:52 -07:00
Pierre Kancir
50e99b6e1a AP_NavEKF2: use get_distance_NE instead of location_diff 2019-04-08 08:00:52 -07:00
Pierre Kancir
058cade92c AP_Math: use get_distance_NE instead of location_diff 2019-04-08 08:00:52 -07:00
Pierre Kancir
49be270377 AP_Landing: use get_distance_NE instead of location_diff 2019-04-08 08:00:52 -07:00
Pierre Kancir
25507d4d7b AP_L1_Control: use get_distance_NE instead of location_diff 2019-04-08 08:00:52 -07:00
Pierre Kancir
4ea10ce5f5 AP_GPS: use get_distance_NE instead of location_diff 2019-04-08 08:00:52 -07:00
Pierre Kancir
d6277390f4 AP_Beacon: use get_distance_NE instead of location_diff 2019-04-08 08:00:52 -07:00
Pierre Kancir
78ce60aa95 AP_Avoidance: use get_distance_NE instead of location_diff 2019-04-08 08:00:52 -07:00
Pierre Kancir
6da820ac7b AP_AHRS: use get_distance_NE instead of location_diff 2019-04-08 08:00:52 -07:00
Pierre Kancir
e4987f17b9 AC_Fence: use get_distance_NE instead of location_diff 2019-04-08 08:00:52 -07:00
Pierre Kancir
3f5a6a243c AP_NavEKF2: use get_distance instead of location_diff 2019-04-08 08:00:52 -07:00
Pierre Kancir
0b50f32c32 AP_Landing: use get_distance instead of location_diff 2019-04-08 08:00:52 -07:00
Pierre Kancir
6397cb0c0e AP_Arming: use get_distance instead of location_diff 2019-04-08 08:00:52 -07:00
Pierre Kancir
00fa07ef33 AP_Math: move location_diff to Location and rename 2019-04-08 08:00:52 -07:00
Andrew Tridgell
06ed4f032a ChibiOS: fixed clock for TIM12
this fixes the PWM freq for PWM 7 and 8 on PH4-mini
2019-04-08 19:58:39 +10:00
Andrew Tridgell
fa63243eb0 AP_InertialSensor: added BMI088 accel config retry 2019-04-08 19:58:12 +10:00
Randy Mackay
928d7c7e71 AP_MotorsHeli: add range checking to ext_gyro_gain 2019-04-08 15:24:00 +09:00
Randy Mackay
a5bdd12bfa Copter: replace TUNE_LOW/HIGH params with TUNE_MIN/MAX
change from uint16 to floats to ease setup
also add check that no function assigned to rc6
2019-04-08 15:24:00 +09:00
Peter Barker
83f6bed1dc Tools: autotest: add test for taking off in poshold in heli 2019-04-08 15:31:41 +10:00
Peter Barker
85be2b0c8b Copter: clean up flip state enumerations
... including a redundant definition of the states...
2019-04-08 14:24:19 +09:00
Andrew Tridgell
fef42c6219 AP_Baro: fixes for LPS2XH driver
use fractional temperature, and check status register to ensure we
have data available
2019-04-08 12:52:19 +10:00
Andrew Tridgell
f998a74adf GCS_MAVLink: don't report SCALED_PRESSURE2 with a non-existant airspeed sensor 2019-04-08 12:52:19 +10:00
Randy Mackay
d5df8312ad Tools: LogAnalyzer updated to use FLOW_TYPE 2019-04-08 11:26:59 +09:00
Randy Mackay
2f82af9fdf Tools: SkyViper-F412 defaults to use pixart flow sensor 2019-04-08 11:26:59 +09:00