Commit Graph

36753 Commits

Author SHA1 Message Date
Andrew Tridgell 3907466f9d Plane: added TKOFF_TIMEOUT parameter
this allows for a timeout on auto-takeoff. This can be combined with
other takeoff parameters to allow the user to abort a hand-launch
after the motor has started without GCS interaction.

The 4m/s threshold is a bit arbitrary. We could make that a parameter
in the future if it is needed
2019-03-18 14:48:08 +11:00
Andrew Tridgell 2b6210d594 Plane: use WP height for height above ground in vtol landing
this allows for landings above or below the takeoff height without
requiring the use of terrain data. It allows both the use of vfwd
motor for holding against wind, and the correct height for land final
descent rate
2019-03-18 14:47:27 +11:00
Andrew Tridgell b4103d04cc Plane: never use vfwd motor if vtol motors shutdown 2019-03-18 13:38:41 +11:00
Andrew Tridgell 7908ad437e Plane: allow fwd motor to run in VTOL land hor positioning
this fixes an issue with vtol landings below the takeoff point
2019-03-18 13:38:41 +11:00
IamPete1 2d14d79a65 Tracker: clamp output angles to relevant ranges 2019-03-18 12:08:12 +11:00
Peter Barker 020aa6bd49 AC_AutoTune: emit a warning every second while pilot overrides active 2019-03-18 09:35:52 +09:00
IamPete1 1ac74e2fe5 Tracker: add initial mode parameter 2019-03-18 10:37:39 +11:00
IamPete1 392b59d7d6 Tracker: set actual and desired for GCS-PID message 2019-03-18 10:11:33 +11:00
IamPete1 144e3ed39a Tracker: initialize mission object 2019-03-18 10:11:33 +11:00
Randy Mackay eb96dcf173 Rover: consolidate compass calls in sensors.cpp 2019-03-16 13:26:08 +09:00
Randy Mackay c36345b2cc Rover: move declaration of rpm_update 2019-03-16 13:26:08 +09:00
Randy Mackay 7a80eb0169 Rover: move update_mission to APMrover2.cpp 2019-03-16 13:26:08 +09:00
cindyywang d9805a9366 Rover: move methods in commands_logic.cpp to mode_auto.cpp 2019-03-16 13:26:08 +09:00
Randy Mackay 5286b6fab6 Rover: re-order auto mode implementations 2019-03-16 13:26:08 +09:00
Peter Barker 7498972b8d AP_RPM: add AP::rpm() call for singleton 2019-03-16 10:33:01 +09:00
Peter Barker b1c789f73d Sub: move sending of RPM message up 2019-03-16 10:33:01 +09:00
Peter Barker 0edba9070f Plane: move sending of RPM message up 2019-03-16 10:33:01 +09:00
Peter Barker 85d9dd6f64 Copter: move sending of RPM message up 2019-03-16 10:33:01 +09:00
Peter Barker fb5532356a Rover: move sending of RPM message up 2019-03-16 10:33:01 +09:00
Peter Barker bb1ae30594 GCS_MAVLink: move sending of RPM message up 2019-03-16 10:33:01 +09:00
Tom Pittenger 8d6748dc4f AP_ADSB: add special vehicle that ignores range filters 2019-03-15 14:50:53 -07:00
Tom Pittenger ec59fe9398 ADSB: cleanup, make more things const 2019-03-15 14:50:53 -07:00
Tom Pittenger 624d6b5490 AP_ADSB: add accessor to fetch a vehicle from database by icao 2019-03-15 14:50:53 -07:00
Randy Mackay 99dd588f28 Rover: version to 3.6.0-dev 2019-03-15 21:18:51 +09:00
Randy Mackay f61f93ecf3 Rover: minor simplification to guided-within-auto 2019-03-15 21:18:48 +09:00
Randy Mackay 28ac2c2600 Rover: rename guided limits start_time_ms 2019-03-15 21:18:46 +09:00
Andrew Tridgell 591e2ebeea HAL_ChibiOS: remove unused config files
these do not build correctly
2019-03-15 20:08:26 +11:00
Andrew Tridgell 7239e2bd07 Tools: fixed iomcu build with configure_all.py 2019-03-15 20:08:26 +11:00
Andrew Tridgell d942b64584 HAL_ChibiOS: fixed NucleoH743 build 2019-03-15 20:08:26 +11:00
Andrew Tridgell bf0a4a23b2 HAL_ChibiOS: fixed build of crazyflie2 2019-03-15 20:08:26 +11:00
Andrew Tridgell 3d7c6fea78 Tools: added --stop option to configure_all.py 2019-03-15 20:08:26 +11:00
Randy Mackay 467e8481fb Copter: minor formatting fix to ekf failsafe check 2019-03-15 15:44:01 +09:00
chobits 6bee4216c0 Copter: speed up EKF failsafe by checking if velocity innovations > 2x FS_EKF_THRESH 2019-03-15 15:36:13 +09:00
Bill Geyer c40312d0f9 Copter: fix to acro trainer leveling mode 2019-03-15 15:26:24 +09:00
Peter Barker 873096f791 Tools: autotest: add test for Rover offboard-in-auto function 2019-03-15 14:51:35 +09:00
Randy Mackay 27b50f125c GCS_MAVLink: send_set_position_target always sends alt-above-home 2019-03-15 14:51:35 +09:00
Randy Mackay 95d68b0cf5 Rover: reached_destination becomes const 2019-03-15 14:51:35 +09:00
Randy Mackay 3f8adb4e7d Rover: guided-within-auto target moved to structure
also guided's limit_breached made const
also guided limit check uses is_positive
2019-03-15 14:51:35 +09:00
Randy Mackay 89f0418c0f Rover: support do-guided-limits mission command 2019-03-15 14:51:35 +09:00
Randy Mackay 721c200bcc Rover: support guided-within-auto
also adds support for sending position targets to offboard controller which is assumed to return velocity commands
2019-03-15 14:51:35 +09:00
Randy Mackay 066a443e5f GCS_MAVLink: add send_set_position_target_global_int
this supports sending the position target to an offboard navigation controller
2019-03-15 14:51:35 +09:00
Randy Mackay 1e1f14f6e9 AP_Mission: add text string for do-guided-limits 2019-03-15 14:51:35 +09:00
Randy Mackay f4416cd3f2 AP_Mission: nav-guided-enable command stores location
this allows sending the location to an offboard navigation system
also add text string for nav-guided-enable command
2019-03-15 14:51:35 +09:00
Randy Mackay e57ec068f0 Copter: remove duplicate guided limit-init-time-and-pos
this is called from nav_guided_start()
2019-03-15 14:51:35 +09:00
Randy Mackay 8d66c5f547 Copter: move do_payload_place handler
commands are placed in numerical order
2019-03-15 14:51:35 +09:00
Andrew Tridgell 9f1eaf4b37 AP_RCProtocol: fixed RC option check for iofirmware 2019-03-15 14:38:57 +11:00
Andrew Tridgell ac3da71efd AP_Vehicle: added iofirmware vehicle type 2019-03-15 14:38:57 +11:00
Andrew Tridgell db9912fd58 AP_RCProtocol: use RC_IGNORE_FAILSAFE 2019-03-15 14:38:57 +11:00
Andrew Tridgell 59082a0833 RC_Channel: added RC_OPTIONS flag for failsafe ignore
this is useful for SBUS with a receiver setup for HOLD on failsafe to
not trigger a RC failsafe
2019-03-15 14:38:57 +11:00
Peter Barker 4f136512f0 Tools: autotest: fix balancebot RTL test 2019-03-15 12:22:22 +11:00