Commit Graph

420 Commits

Author SHA1 Message Date
rishabsingh3003 5cb77d9f81 AC_WPNav: Allow changing circle rate without changing parameter 2023-02-15 19:14:43 +11:00
Leonard Hall be7d550d5e AC_WPNav: Fix Bug to use WPNAV_ACCEL_C 2023-01-28 08:11:51 +09:00
Prathamesh Patil 21a54b5533 AC_WPNav: AC_Circle: circle_rate param description added 2023-01-24 08:27:15 +09:00
Leonard Hall ed24a635c6 AC_WPNav: Add corner acceleration limit parameter 2022-12-30 17:03:32 +09:00
Leonard Hall 638379d3ed AC_WPNav: remove _wp_accel_cmss.set_and_save_ifchanged 2022-12-30 15:16:08 +09:00
Leonard Hall 55e19bbf5b AC_WPNav: Support changing update period 2022-12-13 17:10:06 +11:00
Leonard Hall af54acd202 AC_WPNav: AC_Loiter: Fix loiter level bug 2022-09-02 09:02:46 +09:00
Henry Wurzburg ec95f10b81 AC_WPNav: correct metadata in libraries failing checks on emitter 2022-08-16 11:50:11 +10:00
Iampete1 ac1b8ab7be AC_WPNav: params always use set method 2022-08-03 13:43:48 +01:00
Peter Barker d73cd7d0e3 AC_WPNav: stop libraries including AP_Logger.h in .h files
AP_Logger.h is a nexus of includes; while this is being improved over
time, there's no reason for the library headers to include AP_Logger.h
as the logger itself is access by singleton and the structures are in
LogStructure.h

This necessitated moving The PID_Info structure out of AP_Logger's
namespace.  This cleans up a pretty nasty bit - that structure is
definitely not simply used for logging, but also used to pass pid
information around to controllers!

There are a lot of patches in here because AP_Logger.h, acting as a
nexus, was providing transitive header file inclusion in many (some
unlikely!) places.
2022-04-08 19:18:38 +10:00
Andrew Tridgell f824be726c AC_WPNav: use angle/accel functions 2022-03-18 13:36:16 +11:00
Leonard Hall 289b1ca75a AC_WPNav: Support pause 2022-03-08 13:12:36 +09:00
Leonard Hall 0ce44ad1ba AC_WPNav: init optionally accepts stopping point 2022-03-07 16:14:23 +09:00
Leonard Hall 376dc72907 AC_Loiter: use Pos_Control soften_for_landing_xy 2022-03-07 16:14:23 +09:00
Leonard Hall 93aea67810 AC_WPNav: Increase corner speeds 2022-03-05 11:34:40 +09:00
Leonard Hall 5fa37e253e AC_WP_Nav: Convert S-Curves to use maximum Snap to remove minimum time between waypoints 2022-03-05 11:34:40 +09:00
Shiv Tyagi e01ca79251 AC_WPNav: rename circle_nav.set_radius to circle_nav.set_radius_cm 2022-03-01 09:31:10 +09:00
Peter Barker 05a5754452 AC_WPNav: rename AP_AHRS::get_position to get_location 2022-01-25 10:47:22 +11:00
Andrew Tridgell 6e5bb1eb23 AC_WPNav: don't link AC_Avoid on plane
saves about 7k of flash
2022-01-11 09:51:47 +11:00
Randy Mackay 7744dda4b0 AC_WPNav: add comment above get_wp_radius_cm 2022-01-04 16:44:13 +09:00
Leonard Hall 30ddc4e06c AC_WPNav: Support error input to kinematic shaper 2021-12-07 09:47:42 +09:00
Josh Henderson e10edabd5d AC_WPNav: INAV rename for neu & cm/cms 2021-11-30 10:08:07 +11:00
Josh Henderson 9e11f09a7f AC_WPNav: inav use _xy() 2021-11-30 10:08:07 +11:00
Josh Henderson d5769f70ac AC_WPNav: get_bearing & get_horizontal_distance use Vector2f 2021-11-30 10:08:07 +11:00
Iampete1 7ec7b478f0 AC_WPNav: add getter for wp_radius_cm 2021-09-15 20:36:56 +10:00
Iampete1 febf843e6d AC_Loiter: protect against negative angle max 2021-09-13 07:55:34 +09:00
Leonard Hall 8c51271b45 AC_WPNav: Add units to the AC_AttitudeControl Library 2021-09-09 08:01:14 +09:00
Leonard Hall 7852e9d1b0 AC_WPNav: Fix calculation of _scurve_jerk_time using radians. 2021-09-09 08:01:14 +09:00
Peter Barker 8a3a787b76 AC_WPNav: honour changes to wp-speed-up and wp-speed-down in-flight 2021-09-08 21:29:38 +10:00
Andrew Tridgell 9342ded2bb AC_WPNav: cope with negative WPNAV_SPEED_DN
a user set WPNAV_SPEED_DN to a negative value, with odd results. Take
absolute value to cope. Even though the param docs clearly say range
should be positive, it is one where it is easy to think it should be
negative
2021-09-07 18:55:00 +09:00
Peter Barker ec53a41ffd AC_WPNav: monitor WPNAV_SPEED for changes 2021-09-07 10:04:07 +09:00
Josh Henderson a91c0f4b12 AC_WPNav: simplify get_wp_destination_loc 2021-09-07 08:02:18 +09:00
Randy Mackay 8a5ade1f46 AC_WPNav: protect against divide-by-zero 2021-09-06 16:02:25 +09:00
Randy Mackay 28a14b3602 AC_WPNav: move definitions to .cpp file 2021-09-06 16:02:25 +09:00
Randy Mackay af9a91c853 Copter: terrain spelling fix 2021-09-06 16:02:25 +09:00
Randy Mackay ba50f68390 AC_WPNav: terrain spelling fix 2021-09-06 16:02:25 +09:00
Leonard Hall 94002101fd AC_WPNav: Separate landing and terrain following. 2021-09-06 16:00:19 +09:00
Leonard Hall 520883b504 AC_WPNav: Fix Jerk units 2021-08-26 12:22:52 +09:00
Iampete1 58e14b2dc3 AC_Loiter: update ANG_MAX param description 2021-08-24 22:14:08 +01:00
Andrew Tridgell 973466856c AC_WPNav: update variable name for consistency 2021-08-19 14:42:28 +10:00
Leonard Hall a1b47f36ef AC_WPNav: support Control: Refactor to use Jerk 2021-08-11 17:07:29 +09:00
Leonard Hall 32b2510893 AC_WPNav: Fix Angle Vel units on function 2021-08-11 17:07:29 +09:00
Randy Mackay 83e85c7125 AC_WPNav_OA: minor formatting and comment fixes 2021-07-22 08:51:41 +09:00
Randy Mackay cf797dfca9 AC_WPNav_OA: separate handlers for results from Dijkstra's and BendyRuler
also bendy ruler uses pos controller
2021-07-22 08:51:41 +09:00
Peter Barker 8396925ece AC_WPNav: rename for AHRS restructuring 2021-07-21 21:01:39 +10:00
Pierre Kancir a7f14efef2 AC_WPNav: remove unused variable following https://github.com/ArduPilot/ardupilot/pull/18076 2021-07-21 19:00:15 +10:00
Randy Mackay c55c160f48 AC_WPNav: use get_terrain_margin instead of constant 2021-07-21 16:03:44 +09:00
Randy Mackay fb5c458132 AC_WPNav: add TER_MARGIN param 2021-07-21 16:03:44 +09:00
Leonard Hall 5dcfee07d9 AC_WPNav: Auto Terain following update 2021-07-21 16:03:44 +09:00
Leonard Hall ce254153c1 WP_Nav: Return Crosstrack error 2021-07-21 15:40:41 +09:00