Commit Graph

74 Commits

Author SHA1 Message Date
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 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
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
murata b041a8206b AP_OpticalFlow: Deleted parameter descriptions without variables 2020-01-11 11:33:13 +09:00
Pierre Kancir e7ae1b4fb6 AP_OpticalFlow: pass mavlink_message_t by const reference 2019-07-16 20:51:42 +10:00
Siddharth Purohit 67fcd773a6 OpticalFlow: add support for HereFlow message over can 2019-05-15 16:01:53 +09:00
Randy Mackay cb3de81058 AP_OpticalFlow: fix _ENABLE param desc for stable release 2019-04-25 16:34:10 +09:00
Randy Mackay d2a2caf3a6 OpticalFlow: replace ENABLE with TYPE 2019-04-08 11:26:59 +09:00
Randy Mackay 97b5c2b031 OpticalFlow: add MAVLink driver 2019-04-08 11:26:59 +09:00
Tom Pittenger 679ccb95bf AP_OpticalFlow: rename dataflash to logger 2019-03-28 16:40:57 +11:00
Randy Mackay 2cbd97dd7a AP_OpticalFlow: support cx-of on all boards 2019-03-28 08:07:29 +11:00
Tom Pittenger 699b7b9788 AP_OpticalFlow: unify singleton naming to _singleton and get_singleton() 2019-02-10 19:09:58 -07:00
Peter Barker b47733142f GLOBAL: rename DataFlash_Class to AP_Logger 2019-01-18 18:08:20 +11:00
Randy Mackay 760989d786 AP_OpticalFlow: add range to POS param description 2018-12-13 20:14:03 +09:00
Randy Mackay 4f738ca906 AP_OpticalFlow: driver for Cheerson CX-OF 2018-11-28 20:38:58 +09:00
Peter Barker ac83765487 OpticalFlow: take care of own logging 2018-11-13 10:40:23 +11:00
Peter Barker e88358ccc6 AP_OpticalFlow: use AHRS singleton 2018-11-13 10:40:23 +11:00
Peter Barker ebf038eb57 AP_OpticalFlow: add singleton 2018-11-13 10:40:23 +11:00
auturgy d2cb4db191 AP_OpticalFlow: add defined(HAL_HAVE_PIXARTFLOW_SPI)
This addition will build in support for the Pixart pmw3901 if it is defined in the hwdef.dat for a board
2018-11-12 06:35:59 +11:00
Michael du Breuil 3d7d23531a AP_OpticalFlow: No need to clear already zerod objects 2018-10-30 16:17:03 -07:00
Lucas De Marchi 49d08ba72a Global: remove minlure
Minlure is a port of ArduPilot to Minnow Board connected to daughter
board. Very few of those were produced and nobody is flying with it.

It served its purpose and all the the improvements to ArduPilot remain
regardless of it not being supported anymore. Now it's just adding
maintenance work with no clear benefit, so pull the plug.
2018-06-26 07:32:08 -07:00
Andrew Tridgell ead72214ac AP_OpticalFlow: support SP01 board 2018-02-14 18:27:00 +11:00
Andrew Tridgell 429a2beb86 AP_OpticalFlow: enable pixart flow on PCNC1 boards 2018-02-08 17:36:33 +11:00
Andrew Tridgell 85f4958e4e AP_OpticalFlow: use AP_FEATURE_BOARD_DETECT 2018-01-15 11:46:02 +11:00
Andrew Tridgell 3cd5386a7e AP_OpticalFlow: support ChibiOS 2018-01-15 11:46:02 +11:00
Randy Mackay cf24eef359 AP_OpticalFlow: init checks if enabled 2017-08-23 11:19:14 +09:00
Randy Mackay fdb4c7b5ee AP_OpticalFlow: failure to init leaves enabled unchanged 2017-08-23 11:19:14 +09:00
Randy Mackay a7afffe14a AP_OpticalFlow: rename BUS_ID parameter to ADDR
This makes the parameter more consistent with RangeFinder
2017-08-23 11:19:14 +09:00
Jacob Walser a9a8521383 AP_OpticalFlow: Fix parameter metadata 2017-03-22 16:16:26 -07:00
mirkix ad208cab56 AP_OpticalFlow: BBBmini remove onboard OpticalFlow 2017-03-07 22:48:48 -08:00
Randy Mackay a517db4b5e AP_OpticalFlow: resolve compiler warning 2016-11-30 18:00:15 +09:00
Andrew Tridgell 06dfbc3e09 AP_OpticalFlow: added common driver for PX4Flow
used on Linux and NuttX boards
2016-11-28 08:26:57 +11:00
Andrew Tridgell 0be1b1aac2 AP_OpticalFlow: give access to AHRS from all backends 2016-11-28 08:26:56 +11:00
Andrew Tridgell 2e2f8ad8cf AP_OpticalFlow: added SITL flow driver as normal driver
move away from HAL_SITL embedded drivers
2016-11-28 08:26:56 +11:00
Andrew Tridgell 0889b25afa AP_OpticalFlow: initial code for Pixart optical flow chip 2016-11-28 08:26:56 +11:00
Julien Beraud d50fd3a6cd AP_OpticalFlow: fix onboard init
mistake in patch to avoid segfault which enabled
AP_OpticalFlow_Linux instead of AP_OpticalFlow_Onboard.
Store a reference to ahrs in order to execute init later, when
ahrs is initialized.
2016-11-21 16:38:59 -02:00
Julien Beraud dc86a53862 OpticalFlow: move onboard alloc to init()
No reason to keep it in the constructor
2016-11-16 20:38:00 +11:00
murata c808ee2f49 Global: To nullptr from NULL.
RC_Channel: To nullptr from NULL.

AC_Fence: To nullptr from NULL.

AC_Avoidance: To nullptr from NULL.

AC_PrecLand: To nullptr from NULL.

DataFlash: To nullptr from NULL.

SITL: To nullptr from NULL.

GCS_MAVLink: To nullptr from NULL.

DataFlash: To nullptr from NULL.

AP_Compass: To nullptr from NULL.

Global: To nullptr from NULL.

Global: To nullptr from NULL.
2016-11-02 16:04:47 -02:00
priseborough 1bde180f98 AP_OpticalFlow: Update parameter documentation
Add brief description of body frame conventions.
2016-10-27 14:54:45 +11:00
priseborough 9c7ab639a1 AP_OpticalFlow: Add parameters for flow sensor position offset 2016-10-27 14:54:41 +11:00
Mathieu OTHACEHE 152edf7189 Global: remove mode line from headers
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
2016-10-24 09:42:01 -02:00
LukeMike 9f8b66758c VRBRAIN / AP_OpticalFlow: enabled OpticalFlow_PX4 for all VirtualRobotix boards 2016-08-07 20:31:51 +10:00
Lucas De Marchi 388a6683ad AP_OpticalFlow: fix optical flow initialization
This fixes the initialization for Linux boards using the PX4Flow module.
The problem is that after the conversion to use I2CDevice we now need to
use I2CDeviceManager, which is statically constructed after the vehicle
object.

So, if we try to call hal.i2c_mgr->get_device(), it will call the
get_device() method before the constructor is called and receive a
SIGSEGV:

Program received signal SIGSEGV, Segmentation fault.
0x000b06c0 in OpticalFlow::OpticalFlow (this=0x140914 <copter+4980>, ahrs=...)
    at ../../libraries/AP_OpticalFlow/OpticalFlow.cpp:54
54      ../../libraries/AP_OpticalFlow/OpticalFlow.cpp: No such file or directory.
2016-05-13 11:22:12 -03:00