Commit Graph

187 Commits

Author SHA1 Message Date
Peter Barker f26372b46e AC_Avoidance: add missing include
../../libraries/AC_Avoidance/AC_Avoidance_Logging.cpp: In member function 'void AP_OABendyRuler::Write_OABendyRuler(uint8_t, bool, float, float, bool, float, const Location&, const Location&) const':
../../libraries/AC_Avoidance/AC_Avoidance_Logging.cpp:23:46: error: 'ahrs' is not a member of 'AP'
   23 |         yaw         : (uint16_t)wrap_360(AP::ahrs().yaw_sensor * 0.01f),
      |                                              ^~~~
compilation terminated due to -Wfatal-errors.
2024-12-15 12:46:22 +11:00
Peter Barker 2c150f42bf AC_Avoidance: re-order initialiser lines so -Werror=reorder will work 2024-09-24 22:50:28 +10:00
Andy Piper 29a320b310 AC_Avoidance: correctly set back away speed for minimum alt fences 2024-07-24 08:24:06 +10:00
Andy Piper 8287d4f2d0 AC_Avoidance: take into account minimum altitude fence when calculating climb rate 2024-07-24 08:24:06 +10:00
Andrew Tridgell c36c37099d AC_Avoidance: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
Iampete1 97449b0572 AC_Avoid: add "BACKZ_SPD" vertical backup speed limit parameter 2024-05-01 17:25:07 +10:00
Peter Barker 6e5ed88087 AC_Avoidance: move AC_Avoidance defines into libraries 2024-03-11 18:07:18 +11:00
rishabsingh3003 d91147552b AC_Avoid: Remove sensor status checks 2024-03-07 18:14:04 +11:00
xianglunkai 9123554db3 AP_OAPathPlanner: using static constexpr instead const 2024-02-20 09:30:13 +11:00
Iampete1 8c72304ab9 AC_Avoidance: AP_OADijkstra: correct use of uninitialised value when retrying fence 2024-01-24 19:20:02 +11:00
Simon Hancock d6b08c87a1 AC_Avoidance: Updates to log message units and help text
Remove units on fields set to Bytes which are not
2024-01-21 14:26:54 +11:00
Peter Barker b1c29c5033 AC_Avoidance: allow compilation with HAL_LOGGING_ENABLED false 2024-01-17 18:25:55 +11:00
Randy Mackay 6c24f80669 AC_Avoidance: Dijsktras comment and const fix 2023-12-28 08:45:23 +09:00
Randy Mackay 58b6429893 AC_Avoidance: oapathplanner gets fast-waypoint option 2023-12-28 08:45:23 +09:00
Randy Mackay a1e03cbbe1 AC_Avoidance: bendy ruler comment update 2023-12-28 08:45:23 +09:00
Randy Mackay cb1853b9bb AC_Avoidance: Dijkstra's returns control when clear of obstacles 2023-12-28 08:45:23 +09:00
Randy Mackay 5aeabc5779 AC_Avoidance: path planner accepts next destination 2023-12-28 08:45:23 +09:00
Randy Mackay 82984577d2 AC_Avoidance: path planner avoids timeout when first activated 2023-12-28 08:45:23 +09:00
Randy Mackay d01a330588 AC_Avoidance: constify get_shortest_path_point 2023-12-28 08:45:23 +09:00
Mykhailo Kuznietsov 6c426ab637 AC_Avoidance: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Peter Barker ee1ce32ead AC_Avoidance: allow more libraries to compile with no HAL_GCS_ENABLED 2023-09-05 22:23:51 +10:00
Peter Barker 1aa5a8f789 AC_Avoidance: make _output_level AP_Enum
Also remove namespacing from OA_DbOutputLevel
2023-05-15 09:25:57 +10:00
Peter Barker 4f355f7c8b AC_Avoidance: correct compilation when fence and beacon compiled out 2023-04-12 09:24:39 +10:00
Peter Barker 86d2f07f3d AC_Avoidance: avoid using struct Location
clang reports this could be a problem when compiling under some EABIs.  Remove it from most places as it is just noise, replace with class where we want to avoid including Location.h
2023-02-04 22:51:54 +11:00
Peter Barker 8a20820a41 AC_Avoidance: enumeration format fixes 2023-01-25 19:50:34 +11:00
Andrew Tridgell e184e78e52 AC_Avoidance: check for alloc failure of ObjectBuffer 2023-01-08 15:11:32 +11:00
Peter Barker 1e9d0f59c0 AC_Avoidance: add and use AP_BEACON_ENABLED 2022-11-16 08:16:31 +11:00
Peter Barker cf8acf613d AC_Avoidance: change namespace of MultiCopter and FixedWing params
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Peter Barker faa69f672a AC_Avoidance: include required AP_Vehicle_Type header 2022-11-02 18:35:48 +11:00
jackhong12 4a4f361a17 all: use CLASS_NO_COPY() macro 2022-10-04 11:23:04 +11:00
Peter Barker b238f95032 AC_Avoidance: correct compilation for header changes 2022-09-27 09:26:45 +10:00
Iampete1 e78d5cd793 AC_Avoidance: params always use set method 2022-08-03 13:43:48 +01:00
Iampete1 5f31818658 AC_Avoidance: change AC_FENCE to AP_FENCE_ENABLED 2022-07-27 19:04:56 +10:00
Iampete1 ed356d94cd AC_Avoid: fix complilation with no fence 2022-07-27 19:04:56 +10:00
Peter Barker 666ac39e31 AC_Avoidance: tidy includes 2022-05-03 09:14:58 +10:00
Randy Mackay 995ff30cd6 AC_Avoid: enable slide behaviour for rover 2022-03-30 15:34:14 +09:00
Peter Barker 8572c2bef3 AC_Avoidance: get Vector3f when checking all components of relpos 2022-02-02 19:09:25 +11:00
Andrew Tridgell 2435c9451c AC_Avoidance: don't build avoidance on plane
this catches uses of avoidance which cause it to be linked in
2022-01-11 09:51:47 +11:00
Rishabh 647cbe8b68 AC_Avoid: Convert Dijkstras to A-star 2021-11-16 15:08:16 +09:00
Andy Piper f9b6934d7d AC_Avoidance: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI 2021-10-26 11:42:12 +11:00
Iampete1 84db897b7f AC_Avoidance: Dijkstra: convert Vector3f to curly brace init 2021-10-20 03:45:40 -04:00
Iampete1 8937802f77 AC_Avoidance: Dijkstra: don't consider points in corners 2021-10-20 03:45:40 -04:00
Iampete1 ae9300134a AC_Avoidance: add option to log vis graph 2021-10-20 03:45:40 -04:00
Rishabh 13f3d04300 AC_Avoid: Early exit Dijkstra's path finder if destination is found 2021-10-11 02:21:48 -04:00
Gone4Dirt 765f6b69fa AC_Avoidance: Add APM_BUILD_Heli 2021-09-29 19:55:48 +10:00
Josh Henderson c0b18e4d52 AC_Avoid: use vector.xy().length() instead of norm(x,y) 2021-09-14 10:43:46 +10:00
Pierre Kancir 4bccdada16 AC_Avoidance: do fence pointer check before using it 2021-08-11 13:43:23 +10:00
Andrew Tridgell 5af59fb555 AC_Avoidance: mark log messages as streaming 2021-08-03 10:23:36 +10:00
Tatsuya Yamaguchi 43da962d34 AC_Avoid: use proximity_avoidance_enabled function 2021-08-02 08:52:41 +09:00
Tatsuya Yamaguchi 04deabbacb AC_Avoid: confirm USE_PROXIMITY_SENSOR to check if proximity is enabled 2021-08-02 08:52:41 +09:00