Commit Graph

37276 Commits

Author SHA1 Message Date
Willian Galvani ad9d6e96d9 Sub: Create MOTOR_DETECT mode
This mode attempts to detect the direction of all motors and adjust parameters appropriately.
2019-09-30 10:57:41 -07:00
Willian Galvani 9cea7031f5 APMotors_6DOF: Implement motor_is_enabled(), get_motor_angular_factors() and set_reversed(); 2019-09-30 10:57:41 -07:00
Willian Galvani 4af015644d sub: fixup joystick changes according to review
https://github.com/ArduPilot/ardupilot/pull/11861
2019-09-30 10:57:41 -07:00
Justin 8d23ff2dd8 joystick: addressed issue9801. Upon engaging input hold, the controller will not read new directional inputs until input hold is disabled or the conrols are returned to their neutral position. 2019-09-30 10:57:41 -07:00
Willian Galvani b0d4ec5eaa Sub: update calibration if reading is above water level 2019-09-30 10:57:41 -07:00
Willian Galvani 8752a10e3f AP_TemperatureSensor: Update TSYS01 for Pixhawk2 2019-09-30 10:57:41 -07:00
Willian Galvani c863959296 APMotors6DOF: add case for SIMPLEROV_3 2019-09-30 10:57:41 -07:00
Willian Galvani 23f7d99f72 APMotors6DOF: add roll factor for motors 4 and 5 for SIMPLEROV_4 and SIMPLEROV_5 2019-09-30 10:57:41 -07:00
Willian Galvani f85acca86e Sub: improve motor test message 2019-09-30 10:57:41 -07:00
Willian Galvani cc19c27097 AP_LeakDetector: Mark Leak pins RebootRequired 2019-09-30 10:57:41 -07:00
Willian Galvani 18ff1e1040 Sub: default RNGFNDR1_TYPE to mavlink 2019-09-30 10:57:41 -07:00
Willian Galvani 9c6dcc27cb Sub: force cam pan and tilt inputs to channels 7 and 8 2019-09-30 10:57:41 -07:00
Justin d20db9fad2 Sub: Changed the MAV_SEVERITY of the motor test timed out message to INFO so that it wont be read out loud everytime the user ends the motor test 2019-09-30 10:57:41 -07:00
Willian Galvani 51e4f00cd2 Sub: change stabilize mode to rate controls 2019-09-27 13:11:49 -07:00
Willian Galvani 4ffc08449c Sub: Enable depth hold in arbitrary attitudes 2019-09-27 13:11:49 -07:00
Willian Galvani 5ef7392d6b Sub: remove angle_boost logic
This gets in the way of the vectored thrust implemented,
and is just not useful for Sub.
2019-09-27 13:11:49 -07:00
Willian Galvani 1209c946e6 Sub: AP_Motors6DOF: create get_throttle_in_bidirectional() 2019-09-27 13:11:49 -07:00
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