Daniel Agar
525fdc87c7
pmw3901 move to px4 work queue
2019-05-24 12:58:55 -04:00
David Sidrane
6f9a9b3d2c
px4_fmu-v4: add runtime external SPI4 detection to support pmw3901 ( #11301 )
...
* The build is built with SPI4. At run time the signal GPIO_8266_GPIO2 it tested. If it is low the SPI4 is configured. If it is high SPI4 is not configured.
* board_common: Add Notion of Board has bus manifest
2019-01-29 13:44:15 -05:00
AnnaDaiZH
3b3752b753
pmw3901 increase publish rate and max_ground_distance ( #11066 )
...
* increase pmw3901 publish rate and max_ground_distance
* set work queue to high priority
2019-01-08 14:25:39 -05:00
Daniel Agar
556a9422b5
delete IOCTL SENSOR_POLLRATE_MANUAL
...
- only used in self tests
2018-11-06 07:43:43 +08:00
Daniele Pettenuzzo
d2e2b5e8ce
add pmw3901 optical flow support for fmu-v5 ( #10750 )
2018-10-24 10:25:41 -04:00
ChristophTobler
f72e9e4385
pmw3901: set quality to zero if flow below threshold
2018-09-18 18:37:44 +02:00
ChristophTobler
6955272316
pmw3901: add specs from datasheet to opt flow msg
...
without this ekf2 rejects flow
https://wiki.bitcraze.io/_media/projects:crazyflie2:expansionboards:pot0189-pmw3901mb-txqt-ds-r1.00-200317_20170331160807_public.pdf
2018-08-27 17:32:00 +02:00
ChristophTobler
f4f112424f
pmw3901: add bus option and minor improvements
...
- remove unused distance sensor rotation
- add possibility to define SPI bus for other boards
- use SENS_FLOW_ROT param to rotate sensor
2018-08-16 17:22:33 +02:00
DanielePettenuzzo
094490190f
crazyflie: pmw3901 driver publish gyro equal to NAN for optflow estimator interface
2018-05-23 18:32:36 +02:00
DanielePettenuzzo
9cad11d832
crazyflie: clean up
2018-05-22 12:21:45 +02:00
DanielePettenuzzo
22868dd5a4
crazyflie: add downsampling to pwm3901 optflow driver
2018-05-22 12:21:45 +02:00
DanielePettenuzzo
9c8e97a1ba
crazyflie: optical flow and distace sensor driver fixes
2018-05-22 12:21:45 +02:00
DanielePettenuzzo
f49fd2acc7
crazyflie: increase imu reading rate
2018-05-22 12:21:45 +02:00
DanielePettenuzzo
2359b73d1f
pmw3901 driver: lock bus during transfers (avoid conflicts with sd card on crazyflie)
2018-05-22 12:21:45 +02:00
DanielePettenuzzo
b822966e8e
crazyflie: support for sd card board via SPI
2018-05-22 12:21:45 +02:00
DanielePettenuzzo
8a4e144e86
crazyflie: add spi expansion to board configurations (modify spi bus and device in pmw3901 driver)
2018-05-22 12:21:45 +02:00
DanielePettenuzzo
2d20f31a70
vl53lxx and pmw3901 drivers: style fix
2018-05-22 12:21:45 +02:00
DanielePettenuzzo
4098d50ff9
pmw3901 driver: remove integrator and publish data at sampling rate (about 10ms)
2018-05-22 12:21:45 +02:00
DanielePettenuzzo
3644dd2d8c
pmw3901 driver: multiply output of integrator by a constant to match gyro data during simple rotation
2018-05-22 12:21:45 +02:00
DanielePettenuzzo
6ca341f84e
pmw3901 driver: cleanup for pull request
2018-05-22 12:21:45 +02:00
DanielePettenuzzo
c73ca29f44
pmw3901 driver: added integrator
2018-05-22 12:21:45 +02:00
DanielePettenuzzo
2d3f6737d7
pmw3901 driver: fixed communication with sensor
2018-05-22 12:21:45 +02:00
Daniele Pettenuzzo
10fc3b8763
created driver for pmw3901 optical flow module
2018-05-22 12:21:45 +02:00