Commit Graph

934 Commits

Author SHA1 Message Date
Willian Galvani
a46adca008 Sub: Version to 4.0.1 STABLE 2020-03-17 15:08:27 -03:00
Willian Galvani
f9fc75bd57 Sub: Override get_battery_remaining_percentage() 2020-03-16 15:47:12 -07:00
Jacob Walser
799ac6f741 Sub: version to 4.0.0 STABLE 2020-03-04 02:51:12 -05:00
Willian Galvani
91e10291b9 Sub: level when going to(or arming in a) stabilized flight mode 2020-03-04 07:11:37 -08:00
Willian Galvani
3a1984a893 Sub: use AP_Arming_Sub to disarm in motor test and failsafe 2020-03-04 07:08:53 -08:00
Willian Galvani
251a627095 Sub: version to 4.0.0beta4 2020-02-06 17:39:35 -03:00
Willian Galvani
4c09f77b5d Sub: don't revert to previous attitude after target attitude expires 2020-02-06 15:37:47 -05:00
Jacob Walser
27033682e0 Sub: version to 4.0.0beta3 2020-01-29 01:40:08 -05:00
Willian Galvani
9fde00ba30 Sub: relax direction detection logic in motor detect flight mode 2020-01-29 09:26:54 -05:00
Jacob Walser
7aca98aa39 Sub: version to 4.0.0beta2 2019-12-19 10:38:07 -05:00
Willian Galvani
642c511ba8 Sub: set alt target to surface-5cm when surface is detected 2019-12-19 10:35:31 -05:00
Willian Galvani
2af2a1ed05 Sub: Center throttle instead of zero-ing it in depth hold
This was causing the vehicle to dive when the alt-hold was
disabled and subsequently enabled.
Probably because the filter was holding the throttle down.
2019-12-16 10:10:41 -05:00
Willian Galvani
deccd051a0 Sub: Improve attitude control in depth hold
This adds a specific case for yaw input only, and adds a missing
set to 'last_input_ms' which made the controls feel "sticky"
2019-12-16 10:10:41 -05:00
Willian Galvani
265d848021 Sub: cleanup depth hold
Remove block of code that is replicated in the flight mode init()
2019-12-16 10:10:41 -05:00
Willian Galvani
ddd0119ccc Sub: use set_target_to_stopping_point_z() to stop instead of old logic
This makes the control a little smoother and easier to fine-tune
the depth. The previous implementation caused large current spikes
and often made the rov shake when stopping.
2019-12-16 10:10:41 -05:00
Willian Galvani
5a3f4777ea Sub: Use sub variant of relax_alt_hold_controllers
It is defined in AC_PosControl_Sub.cpp
2019-12-16 10:10:41 -05:00
Willian Galvani
7e46685986 Sub: move trims to vehicle frame 2019-12-16 10:10:41 -05:00
Willian Galvani
9b1e0f0fa3 Sub: do not initialize rc channels 6 and higher 2019-12-10 11:08:30 -05:00
Willian Galvani
ee2bea5256 Sub: set cam mount to 0,0,0 and RC mode after initialization 2019-12-10 11:08:30 -05:00
Andrew Tridgell
a8f250c99a Sub: change version to 4.0.0beta1 2019-10-15 15:18:35 +11:00
Andrew Tridgell
c63f0ffa3e Sub: fixes for desired state 2019-10-15 15:15:25 +11:00
Willian Galvani
bf1082a8b6 Sub: Create MOTOR_DETECT mode
This mode attempts to detect the direction of all motors and adjust parameters appropriately.
2019-10-15 15:15:25 +11:00
Willian Galvani
80b839dadc sub: fixup joystick changes according to review
https://github.com/ArduPilot/ardupilot/pull/11861
2019-10-15 15:15:25 +11:00
Justin
40d3339d9c 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-10-15 15:15:25 +11:00
Willian Galvani
9cc98a878c Sub: update calibration if reading is above water level 2019-10-15 15:15:25 +11:00
Willian Galvani
94c2651f86 AP_TemperatureSensor: Update TSYS01 for Pixhawk2 2019-10-15 15:15:25 +11:00
Willian Galvani
03c75c6d5f Sub: improve motor test message 2019-10-15 15:15:25 +11:00
Willian Galvani
a79b673030 Sub: default RNGFNDR1_TYPE to mavlink 2019-10-15 15:15:25 +11:00
Willian Galvani
ff744ac37f Sub: force cam pan and tilt inputs to channels 7 and 8 2019-10-15 15:15:25 +11:00
Willian Galvani
b3b0f63e59 Sub: change stabilize mode to rate controls 2019-10-15 15:15:25 +11:00
Willian Galvani
9a07fce7e3 Sub: Enable depth hold in arbitrary attitudes 2019-10-15 15:15:25 +11:00
Willian Galvani
d4987be5f2 Sub: rate-limit init_motor_test() calls 2019-10-15 15:08:06 +11:00
Willian Galvani
1092e961ee Sub: Accept position_target_global_int for depth control in ALT_HOLD 2019-10-15 15:08:06 +11:00
Peter Barker
4ef64261a1 Sub: mount uses AP_SerialManager singleton 2019-08-28 06:55:28 +10:00
Peter Barker
c5333c2765 Sub: fix format-string compilation warning
../../ArduSub/commands_logic.cpp: In member function 'void Sub::do_nav_delay(const AP_Mission::Mission_Command&)':
../../ArduSub/commands_logic.cpp:485:84: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
     gcs().send_text(MAV_SEVERITY_INFO, "Delaying %u sec",nav_delay_time_max_ms/1000);
                                                                                    ^
2019-08-27 09:41:58 +10:00
Michael du Breuil
48f52655c1 Sub: Remove APM_Config.h 2019-08-21 22:16:49 -06:00
Peter Barker
4e002b84c5 Sub: correct compilation when terrain is enabled 2019-08-21 22:05:36 +01:00
Tom Pittenger
018e766a3f Sub: NAV_Delay variable timers to be all unsigned and labeled as _ms 2019-08-19 15:24:06 -07:00
Peter Barker
45af50f8bd Sub: avoid allocate a GCS_MAVLINK per mavlink channel 2019-08-14 18:25:43 +10:00
Peter Barker
03e6065380 Sub: move automatic declination setting into AP_Compass itself 2019-08-13 10:02:13 +10:00
Peter Barker
6347febc9a Sub: pass format string through to check_failed 2019-08-05 14:18:05 +10:00
Peter Barker
157da70cf7 Sub: fix compiler warnings on has_disarm_function 2019-08-02 08:23:57 +10:00
Peter Barker
68edf6351d Sub: tighten type on mavlink_coordinate_frame_to_location_alt_frame 2019-08-01 17:45:30 +10:00
Michael du Breuil
c37398f6ff Sub: Convert ARMING_CHECK 2019-07-30 10:42:16 +10:00
Michael du Breuil
ce6fb75e52 Sub: Add keydump feature 2019-07-30 10:42:16 +10:00
Leonard Hall
ad4b6fdeae Sub: param conversion for attitude control FF and FILT 2019-07-25 17:38:15 +09:00
Leonard Hall
157f786adf Global: rename desired to target in PID info 2019-07-25 17:38:15 +09:00
Justin
f3634450d7 Sub: Enforce configuration of a disarm button 2019-07-17 12:44:41 -04:00
Pierre Kancir
147a678569 ArduSub: pass mavlink_message_t by const reference 2019-07-16 20:51:42 +10:00
Peter Barker
1f4a1cef70 Sub: correct LOIT parameter documentation prefix
Closes #11769
2019-07-16 16:15:39 +10:00