Peter Barker
b3dfeac812
AP_OpticalFlow: use minimize.inc for HAL_MSP_ENABLED and dependencies
2023-06-14 17:44:13 +10:00
Peter Barker
3e1388b7e6
AP_OpticalFlow: add and use AP_OpticalFlow_config.h
2023-05-09 10:56:13 +10:00
Andrew Tridgell
d1d7cdfb52
AP_OpticalFlow: rename more variables, types and defines
2023-04-11 10:31:31 +10:00
Andrew Tridgell
6bc060d8ab
AP_OpticalFlow: rename AP_UAVCAN to AP_DroneCAN
2023-04-08 07:11:23 +10:00
bugobliterator
bcecda5c3f
AP_Opticalflow: replace libuavcan with libcanard based driver
2023-03-29 17:16:39 +11:00
Peter Barker
988aa992bf
AP_OpticalFlow: add and use a "bool read(c)" method to AP_HAL
...
this is much less likely to not work vs the int16_t equivalent
2023-03-22 17:59:11 +11:00
Peter Barker
e06a0c6876
AP_OpticalFlow: add some units to OFCA log message
...
Mainly just to get the instance column to make graphing axes easier
pbarker@fx:~/rc/ardupilot(master)$ mavlogdump.py logs/00000003.BIN --t FMTU | grep 251
2022-12-12 09:41:47.06: FMTU {TimeUS : 62248424, FmtType : 251, UnitIds : s#-???, MultIds : F00000}
pbarker@fx:~/rc/ardupilot(master)$ mavlogdump.py logs/00000003.BIN --t FMT | grep OFCA
2022-12-12 09:41:46.48: FMT {Type : 251, Length : 25, Name : OFCA, Format : QBBfff, Columns : TimeUS,Axis,Num,FRate,BRate,LPred}
MAV> graph OFCA[1].
OFCA[1].Axis OFCA[1].BRate OFCA[1].FRate OFCA[1].LPred OFCA[1].Num OFCA[1].TimeUS
MAV> graph OFCA[1].LPred
2022-12-12 13:27:25 +11:00
Stephen Dade
e6b3028007
AP_OpticalFlow: Add support for fixed height optical flow
2022-12-01 08:03:47 +09:00
Peter Barker
0bea140239
AP_OpticalFlow: include cleanups
2022-11-08 09:49:19 +11:00
Peter Barker
46aebe3020
AP_OpticalFlow: allow use of OpticalFlow on SimOnHardWare
2022-08-24 18:27:32 +10:00
Peter Barker
e45f938056
AP_OpticalFlow: rename OpticalFlow class to AP_OpticalFlow
...
Brings us in-line with other classes in ArduPilot.
Removes ambiguity with AP_HAL::OpticalFlow which can cause compilation errors as we start to make code more portable across targets
2022-08-18 14:24:01 +10:00
Iampete1
1a3391ebef
AP_OpticalFlow: params always use set method
2022-08-03 13:43:48 +01:00
Peter Barker
fa2c78f057
AP_OpticalFlow: tidy includes
2022-05-03 09:14:58 +10:00
murata
42d1fd984c
AP_OpticalFlow: Change division to multiplication
2022-02-01 17:34:40 +11:00
Randy Mackay
7a35fa2214
AP_OpticalFlow: integrate calibrator
2022-01-29 08:26:12 +09:00
Randy Mackay
5a2bf89384
AP_OpticalFlow: add calibrator
2022-01-29 08:26:12 +09:00
Randy Mackay
8afe5b9e3b
AP_OpticalFlow: update comment
2022-01-25 20:04:24 +09:00
Peter Barker
170b8da2fa
AP_OpticalFlow: tighten scope on variables
2022-01-24 21:11:56 +09:00
Peter Barker
d86c1c6fd1
AP_OpticalFlow: fix example when OpticalFlow compiled out
2022-01-06 13:35:51 +11:00
Peter Barker
fdfdc9f999
AP_OpticalFlow: remove un-needed forward AP_AHRS declaration
2022-01-06 09:12:59 +11:00
Peter Barker
f361d9b0d0
AP_OpticalFlow: create and use AP_OPTICALFLOW_ENABLED
2021-12-29 18:12:03 +11:00
Peter Barker
99ccbee474
AP_OpticalFlow: create and use AP_OPTICALFLOW_ENABLED
...
Including a define for each backend.
2021-12-29 18:12:03 +11:00
Peter Barker
d8d73eb44c
AP_OpticalFlow: adjust for backend file name change
2021-12-28 10:16:20 +11:00
Peter Barker
3a22ee2cc7
AP_OpticalFlow: rename OpticalFlow_backend files to include AP_
2021-12-28 10:16:20 +11:00
Peter Barker
20c91c03a2
AP_OpticalFlow: rename OpticalFlow.cpp to AP_OpticalFlow.cpp
2021-12-28 10:16:20 +11:00
Peter Barker
3030c0b4f8
AP_OpticalFlow: adjust for rename of OpticalFlow.h to AP_OpticalFlow.h
2021-12-28 10:16:20 +11:00
Peter Barker
e8fc4b33e1
AP_OpticalFlow: move OpticalFlow.h to AP_OpticalFlow.h
2021-12-28 10:16:20 +11:00
Hwurzburg
84d0cdb5d0
AP_OpticalFlow: change UAVCAN to DroneCAN in param metadata
2021-12-15 09:53:21 +11:00
Randy Mackay
9313535a35
AP_OpticalFlow: SITL driver applies _FX/YSCALER params
2021-08-24 16:49:04 +09:00
bugobliterator
392ba06f6e
AP_OpticalFlow: change class name from SITL::SITL to SITL::SIM
2021-08-05 07:25:31 +10:00
Peter Barker
ed5303d1b8
AP_OpticalFlow: rename for AHRS restructuring
2021-07-21 21:01:39 +10:00
Hwurzburg
0012074ef6
AP_OpticalFlow: make centideg metadata incr and range consistent
2021-05-25 10:10:18 +10:00
Tatsuya Yamaguchi
c06ed9f7f5
AP_OpticalFlow: TYPE param becomes enable flag
2021-04-30 19:06:14 -04:00
zhouzhiwen2000
7c6d5d9bf4
AP_OpticalFlow:add UPFLOW sensor
2021-03-24 08:42:14 +09:00
yaapu
b84baf06d3
AP_OpticalFlow: fix MAVLink opflow driver, only apply yaw to flowRate as body rate comes from AHRS
2021-01-13 17:56:27 +11:00
yaapu
5b2d430a2a
AP_OpticalFlow: fix CXOF opflow driver, only apply yaw to flowRate as body rate comes from AHRS
2021-01-13 17:56:27 +11:00
yaapu
480c9f10df
AP_OpticalFlow: fix for msp opflow sensor alignement
2021-01-08 09:29:23 +09:00
yaapu
efca0c04eb
AP_OpticalFlow: aligned msp message data struct name to gps,baro and mag
2020-09-09 06:35:50 +10:00
Andrew Tridgell
3517ab9c45
AP_OpticalFlow: allow separate enable of MSP opticalflow
2020-09-02 05:56:46 +10:00
Andrew Tridgell
f3a0ba0138
AP_OpticalFlow: fixed non-MSP build
2020-09-02 05:56:46 +10:00
yaapu
7170adf50e
AP_OpticalFlow: added support for MSP based flow sensors
2020-09-02 05:56:46 +10:00
Siddharth Purohit
8a31448709
AP_OpticalFlow: move to using CANManager library
2020-08-19 17:31:09 +10:00
murata
dec231348e
AP_OpticalFlow: Change the tab code to whitespace
2020-04-27 09:29:39 +09:00
Randy Mackay
176e8b8861
AP_OpticalFlow: add orient-yaw parameter units
2020-02-03 19:35:40 +09:00
Randy Mackay
dd49f199cb
AP_OpticalFlow: reduce POS param range to 5m and add increment
2020-02-01 08:46:03 +09:00
Andrew Tridgell
b47181a86f
AP_OpticalFlow: probe all I2C buses for px4flow on Hex Cubes
2020-01-28 14:54:30 +09:00
Peter Barker
a4d9673f39
AP_OpticalFlow: EKF objects have moved into AP_AHRS_NavEKF
2020-01-21 11:53:18 +11:00
murata
b041a8206b
AP_OpticalFlow: Deleted parameter descriptions without variables
2020-01-11 11:33:13 +09:00
Peter Barker
4ff75d75f8
AP_OpticalFlow: NavEKF constructors no longer take rangefinder
2019-12-11 08:09:01 +11:00
Pierre Kancir
e7ae1b4fb6
AP_OpticalFlow: pass mavlink_message_t by const reference
2019-07-16 20:51:42 +10:00