Commit Graph

913 Commits

Author SHA1 Message Date
Willian Galvani 9c6a63b55b sub: fixup joystick changes according to review
https://github.com/ArduPilot/ardupilot/pull/11861
2019-09-27 13:20:20 -07:00
Justin ee65aa2993 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-27 13:20:20 -07:00
Willian Galvani adcf0d398d Sub: update calibration if reading is above water level 2019-09-27 13:17:10 -07:00
Willian Galvani 0c5753112a AP_TemperatureSensor: Update TSYS01 for Pixhawk2 2019-09-27 13:08:26 -07:00
Willian Galvani 2b0773c18b Sub: Create MOTOR_DETECT mode
This mode attempts to detect the direction of all motors and adjust parameters appropriately.
2019-09-26 09:39:50 -07:00
Peter Barker 5e6b6ee0e0 Sub: remove stale enum entries for log message types 2019-09-18 15:02:57 +10:00
Peter Barker d32a7b3a29 Sub: wrap_180_cd no longer returns floats for integer arguments 2019-09-18 12:57:02 +10:00
Peter Barker 5692f3d79e AP_Math: stop returning float for integer wrap_180/wrap_360 etc 2019-09-18 12:57:02 +10:00
Willian Galvani f86a712a14 Sub: default RNGFNDR1_TYPE to mavlink 2019-09-17 07:06:06 -07:00
Peter Barker 6deac0fa42 Sub: implement dummy afs singleton getting to avoid linking AFS 2019-09-17 09:13:43 +10:00
Willian Galvani 0e4366d540 Sub: improve motor test message 2019-09-16 13:56:32 -07:00
Willian Galvani db6beb913d Sub: force cam pan and tilt inputs to channels 7 and 8 2019-09-16 13:31:32 -07: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
Michael du Breuil bbcb976e73 Sub: Reduce dependency on inertial nav 2019-07-16 12:11:42 +09:00
Peter Barker 11c5d7cfca Sub: RangeFinder uses AP_SerialManager singleton 2019-07-16 09:29:48 +10:00
Justin 3dfaa5f021 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-07-10 12:19:27 -04:00
Peter Barker 0af3ecca70 Sub: split RC_CHANNELS messages onto separate ap_message ids 2019-07-09 13:08:45 +10:00
Peter Barker 9afb334f0c Sub: stop passing relay and ahrs into camera constructor 2019-07-09 09:32:39 +10:00
Peter Barker b6efd0bea1 Sub: EKF logging moved into EKF from logger 2019-07-06 19:05:51 +10:00
Peter Barker 5444903504 Sub: ServoRelayEvents uses Relay singleton 2019-07-03 23:59:24 -07:00
Peter Barker bd2516bc89 Sub: add sanity check when fetching GCS_MAVLink instance 2019-06-27 07:54:45 +10:00
Michael du Breuil e22bda2527 Sub: Send a heartbeat on mode change 2019-06-26 12:58:18 -07:00
Peter Barker 973222c786 Sub: allow GCS MAVLink base class to handle out-of-time for sending messages 2019-06-25 10:29:40 +10:00
Peter Barker f67fd4e08c Sub: remove pointless protocol parameter to setup_uart 2019-06-25 09:47:08 +10:00
Peter Barker 1de6fed20e Sub: stop pointlessly passing serial manager around 2019-06-25 09:47:08 +10:00
Michael du Breuil ba65b163f7 Sub: Remove wrapper around MAVLink send heartbeat 2019-06-18 13:59:52 +01:00
Michael du Breuil b2743a0eb6 Sub: Enable scripting parameters 2019-06-18 00:06:32 -07:00
Peter Barker 80652dffd0 Sub: set os_sw_version to date fw was compiled
Also avoids non-trivial-designator compilation error
2019-06-18 10:54:01 +10:00
Peter Barker de5ace24fd Sub: remove duplicate EV log message definition 2019-06-12 10:05:59 +10:00
Peter Barker 4c4d37bd86 Sub: stop setting AC_Avoid in AC_WPNav; it uses singleton now 2019-06-06 11:47:22 +10:00
Willian Galvani 4b16271b3d Sub: Remove rangefinder support of control loops
The rangefinder handling doesn't handle sonar glitches like
locking on to reflections very well. We will remove the
rangefinder as an input to the controllers until we can do a
more robust implementation.
2019-06-05 11:54:45 -04:00
Peter Barker b25acb4d22 Sub: move Arming functions into AP_Arming file 2019-05-30 16:02:10 +09:00
Peter Barker 8566a17a1d Sub: move arming-related functionality into parent classes
Logging moves up
arming via mavlink moves up
arming via switch moves up

arming switch may be forced off using BRD parameter
2019-05-30 07:37:30 +09:00
Peter Barker 6774bab363 Sub: stop passing references to AC_Avoid constructor 2019-05-22 07:48:02 -06:00