Commit Graph

75 Commits

Author SHA1 Message Date
Peter Barker 7c1d37f374 AP_VisualOdom: use GCS_SEND_TEXT rather than gcs().send_text
Co-authored-by: muramura <ma2maru@gmail.com>
2024-08-07 18:33:16 +10:00
Andrew Tridgell 659ecf6159 AP_VisualOdom: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
Peter Barker f55c35487b AP_VisualOdom: correct unused variable in visualodom
when both logging and gcs are compiled out
2024-04-10 21:52:28 +10:00
Randy Mackay d1360c14f8 AP_VisualOdom: use Odometry quality 2024-02-28 18:52:37 +11:00
Peter Barker 03be6e13b7 AP_VisualOdom: allow compilation with HAL_LOGGING_ENABLED false 2024-01-17 18:25:55 +11:00
Peter Barker 7e0ea05ae9 AP_VisualOdom: correct compilation when AP_AHRS_ENABLED is off
e.g. CubeOrange-periph-heavy
2024-01-16 16:14:04 +11:00
Peter Barker 283a1edb9f AP_VisualOdom: correct compilation when HAL_GCS_ENABLED is false 2023-12-12 11:41:47 +11:00
Peter Barker 34a508bfd8 AP_VisualOdom: visualodom requires DCM to work 2023-09-27 08:00:54 +10:00
Ryan Friedman 1615038e57 AP_VisualOdom: Change name from position to pose
* The function takes position (linear) + orientation (angular), therefore it's a pose, not a position

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-08-10 13:58:00 +09:00
muramura 9bcc26046c AP_VisualOdom: Check for driver availability first 2023-07-03 19:22:52 +10:00
Peter Barker b10c576134 AP_VisualOdom: allow VisualOdom backends to be compiled in individually 2023-04-15 22:19:21 +10:00
Peter Barker b1066bb9e7 AP_VisualOdom: don't check MINIMIZE_FEATURES when also checking BOARD_FLASH_SIZE
we have an assertion that no board with >1MB of flash is minimized
2023-04-15 09:33:35 +10:00
Randy Mackay 923520d455 AP_VisualOdom: handle voxl yaw and pos jump on reset 2023-01-24 11:07:02 +11:00
Randy Mackay 115d33e300 AP_VIsualOdom: general purpose align yaw and position methods 2023-01-24 11:07:02 +11:00
Randy Mackay 8336814607 AP_VisualOdom: rename align_sensor_to_vehicle to align_yaw_to_ahrs
also separate request to align from code that actually performs the alignment
2023-01-24 11:07:02 +11:00
Peter Barker 9be030309a AP_VisualOdom: include cleanups 2022-11-08 09:49:19 +11:00
Iampete1 8afc07d85b AP_VisualOdom: only include log structure if enabled 2022-07-13 18:14:12 +10:00
Peter Barker 678d51f47e AP_VisualOdom: tidy includes 2022-05-03 09:14:58 +10:00
murata 8f91fe9c2e AP_VisualOdom: Change from division to multiplication 2022-03-16 18:41:52 +11:00
Andrew Tridgell 97fee2d1cc AP_VisualOdom: added VOXL backend type
this will make it easier to have custom behaviour for VOXL
2021-12-27 12:32:41 +11:00
Andrew Tridgell 8654ea886d AP_VisualOdom: support error estimates with quaternion 2021-12-27 12:32:41 +11:00
Jaaaky e991bff0d5 AP_VisualOdom: Fix multi #include's 2021-12-21 10:38:46 +11:00
divyateja04 2406877a60 AP_VisualOdom: removed empty constructors 2021-10-31 09:47:12 +11:00
Peter Barker df3cfe12a9 AP_VisualOdom: move from HAL_NO_GCS to HAL_GCS_ENABLED 2021-09-22 21:37:00 +10:00
Randy Mackay e5bde1a085 AP_VisualOdom: use AP_AHRS::using_extnav_for_yaw to protect against aligning to oneself 2021-08-31 09:20:17 +10:00
Randy Mackay b984f1370c AP_VisualOdom: integrate rename to using_noncompass_for_yaw 2021-08-31 09:20:17 +10:00
Peter Barker d2822635ca AP_VisualOdom: adjust for rename yaw_initialised -> dcm_yaw_initialised 2021-08-18 18:37:39 +10:00
Peter Barker 1ae7d68988 AP_VisualOdom: rename for AHRS restructuring 2021-07-21 21:01:39 +10:00
Peter Barker 6a914ce4be AP_VisualOdom: do not build on 1MB boards
master: bin/arduplane  978396  1956  129204  1109556
new   : bin/arduplane  971716  1956  129204  1102876
2021-06-09 20:12:44 +09:00
Randy Mackay f8d39e65ec AP_VisualOdom: pre_arm check fix for camera attitude 2021-06-08 12:55:17 +09:00
murata e9686b77b5 AP_VisualOdom: Change the GCS message level to INFO 2021-05-26 10:53:43 +09:00
Tatsuya Yamaguchi f2acad4099 AP_VisualOdom: use get_yaw instead of to_axis_angle 2021-05-25 20:19:24 +09:00
Randy Mackay 1ee7f00192 AP_VisualOdom: fix T265 criteria for aligning to AHRS 2021-02-10 18:37:45 +11:00
Randy Mackay f4e6d63a7c AP_VisualOdom: minor formatting fixes 2021-02-09 20:17:39 +09:00
Josh Henderson 8135d9e60a AP_VisualOdom: Privatize Logging 2021-02-09 19:33:14 +09:00
Randy Mackay 9dbfb99cc3 AP_VisualOdom: add align_position_to_ahrs 2020-11-20 16:43:44 +09:00
Randy Mackay 835e6fc764 AP_VisualOdom: T265 ignores position and speed for 1sec after reset 2020-10-06 09:18:04 +09:00
murata 9cc8b2f21a AP_VisualOdom: Shorten the distinguished name.
AP_VisualOdom: Shorten the distinguished name.
2020-07-28 09:09:27 +09:00
chobitsfan 4477e2c617 AP_VisualOdom: fix desc typo 2020-06-09 13:31:21 +09:00
chobitsfan 01e6b316a6 AP_VisualOdom: clarify POS_M_NSE and YAW_M_NSE description 2020-06-09 13:31:21 +09:00
chobits 5d271d1e04 AP_VisualOdom: support covariance from msg and add pos, ang err parameters 2020-06-09 13:31:21 +09:00
Randy Mackay 79901ffc1b AP_VisualOdom: pass velocity error to logger 2020-06-02 08:33:42 +09:00
chobits 66a5f645d7 AP_VisualOdom: support VISION_SPEED_ESTIMATE 2020-06-01 17:51:24 +09:00
Randy Mackay b71403c11a AP_VisualOdom: provide delay to ahrs:writeBodyFrameOdom 2020-05-15 10:07:52 +09:00
Randy Mackay 69560ec147 AP_VisualOdom: provide delay to ahrs::writeExtNavData 2020-05-15 10:07:52 +09:00
murata 1a346e5b19 AP_VisualOdom: Change the tab code to whitespace 2020-04-27 09:30:00 +09:00
Randy Mackay 33d29feab9 AP_VisualOdom: T265 supports vision-position-delta
implementation is the same for both backends so move to AP_VisualOdom_Backend
2020-04-18 08:07:20 +09:00
Randy Mackay 2164293cc0 AP_VisualOdom: remove sensor position from call to ahrs writeExtNavData 2020-04-14 10:28:03 +10:00
Randy Mackay 3557104787 AP_VisualOdom: log corrected position instead of raw position 2020-04-14 10:28:03 +10:00
Randy Mackay 6622927a23 AP_VisualOdom: support position resets 2020-04-14 10:28:03 +10:00