Konrad
82a7d0410c
DistanceSensorModeChangeRequest: renaming of variable
2024-09-16 09:11:23 +02:00
Konrad
e6f07bde2a
lightware_laser: add option to listen to system to enable/disable distance sensor
2024-09-16 09:11:23 +02:00
bresch
15e9c65a8f
dist-sensor: reduce enum names
2024-09-09 15:40:40 +02:00
Konrad
80d4fad624
DistanceSensorCheck: do not raise a distance sensor failure if the SFXX_MODE is set to 2 and we are in a VTOL FX flight phase
2024-09-03 15:53:09 +02:00
Matthias Grob
f2bca92221
Fix duplicate newlines at the end of files
2024-07-19 14:33:36 +02:00
Jacob Dahl
2515b8fc63
kconfig: common_distance_sensor: remove MB12XX
2024-06-17 12:01:13 -04:00
dirksavage88
6a3e57d428
Shift vertical orientation above scaling yaw operation, cp angle sign change
...
Signed-off-by: dirksavage88 <dirksavage88@gmail.com >
2024-04-24 15:58:12 -04:00
dirksavage88
0f6f4c5b07
fix to orientation offsets for scaled yaw, removed unused param
...
Signed-off-by: dirksavage88 <dirksavage88@gmail.com >
2024-04-24 15:58:12 -04:00
alexklimaj
528ad1e87d
boards: ARK Pi6X Initial Commit
2024-04-12 14:44:01 -04:00
Jacob Dahl
8a8f481c29
remove PGA460 from COMMON_DISTANCE_SENSOR
2024-04-12 14:43:20 -04:00
alexklimaj
cc11e1fbbf
drivers: broadcom AFBR fix close to ground false readings
2024-04-10 11:47:04 -04:00
alexklimaj
b81ad8841e
drivers: broadcom AFBR update to API 1.5.6
2024-03-09 16:40:59 -05:00
Matthias Grob
b355c16141
Lanbao driver: correct rangefinder type to IR
2024-02-09 06:19:12 +01:00
Niklas Hauser
c769fc7785
SF1xx: optionally disable sensor in forward flight
2023-12-13 09:02:26 +01:00
Daniel Agar
f703f07399
drivers/distance_sensor: update kconfig common sensors
...
- mappydot is EOL
- LL40LS_PWM is a fairly special case that's not common
2023-12-08 13:32:23 -05:00
Matthias Grob
1c25d65a1e
Add missing newline at the end of files
2023-12-01 13:11:00 -05:00
ZeroOne
6dfede0806
fix lightware_laser_serial: prevent potential heap buffer overflow ( #22202 )
...
In the lightware_parser function, LW_PARSE_STATE2_GOT_DIGIT0 state can be repeated unexpectedly without proper parserbuf_index or state checking. This behavior will trigger a heap buffer overflow vulnerability by allowing to write some data. And the writable size is sizeof(unsigned).
2023-10-11 07:01:09 +02:00
AlexKlimaj
7ff00db9c5
Update AFBR to 1.4.4. Remove changing measurement modes. Add parameters. Default to Long range mode"
2023-09-19 19:15:02 -04:00
Beat Küng
0d6cb46c83
lightware_laser_i2c: add SF30/D
2023-07-06 22:42:39 -04:00
Andrew Brahim
24665f10f2
VL53L1X: fix scheduling ( #21787 )
...
* should be 50 Hz instead of 50,000 Hz
Signed-off-by: dirksavage88 <dirksavage88@gmail.com >
2023-07-03 10:49:53 -04:00
Matthias Grob
18d89e4bc1
lightware_lase_serial: fix pointer for enabling serial mode
...
const char *data = "www\r\n";
Defines a cstring of 6 bytes: 'w', 'w', 'w', '\r', '\n', '\0'
type of data: char const*
type of &data: char const**
So when we call
write(_fd, &data, strlen(data));
then strlen(data) == 5
and we send the 4 byte memory address of data
+ some additional random byte.
Correct is
write(_fd, data, strlen(data));
where char const* gets casted to const void * and we pass
the pointer to the content of data.
The fundamental problem here is write() not being typesafe.
2023-06-21 15:59:12 +02:00
numan
ed174d54e9
fix typo in LeddarOne.cpp
...
added missing "~"
2023-03-20 07:51:00 +01:00
Andrew Brahim
71c746b9bf
drivers/distance_sensor/lightware_sf45_serial: fix path to crc lib (no longer in systemlib)
...
Signed-off-by: dirksavage88 <dirksavage88@gmail.com >
2023-03-17 09:35:46 -04:00
Andrew Brahim
184c7fe79d
drivers/distance_sensor: Lightware Lidar SF45/B rotating sensor serial driver ( #19891 )
...
Signed-off-by: dirksavage88 <dirksavage88@gmail.com >
2023-03-01 16:16:25 -05:00
Beat Küng
98705ced2f
lightware_laser_i2c: fix unreliable startup detection
...
In rare occasions asking for the protocol values after setting it returned
[0, 0]. I did not see any documentation for having to wait, but adding a
short wait period fixes it.
2023-01-18 23:02:56 -05:00
murata
82ecbccd85
distance_sensor: Add TF02 Pro I2C
2023-01-14 09:28:33 -05:00
Daniel Agar
45912066d2
fix copyright header year range
2023-01-14 09:16:16 -05:00
Julian Oes
72d36fc874
sensors: Add param for VL53L0X to startup
...
It turns out there was no param to enable starting the VL53L0X at
startup.
Signed-off-by: Julian Oes <julian@oes.ch >
2023-01-11 09:52:27 -05:00
pandafeng1999
e4b4df4e5d
drivers/distance_sensor/gy_us42: add the specified i2c address
2022-10-04 11:35:45 -04:00
Yang Hau
e2f3157ecb
fix: Add missing comma for const strings
2022-09-29 08:11:03 +02:00
Ville Juven
59e86c490d
Remove include <log.h> from defines.h
...
The reason for this is that log.h includes drv_hrt.h which sucks in
half the project's include files with it, which causes strange build
issues
2022-09-29 07:56:24 +02:00
alexklimaj
fdf4b668eb
Ark flow rev 3 with PAA3905"
...
Add AFBR-S50LX85D
2022-09-22 20:36:43 -04:00
Vojtech Spurny
7ca16cd504
increased rate of Lidar Lite driver over I2C
2022-09-13 09:11:12 -04:00
alexklimaj
ba1b6f4d2c
Standardize AFBR irq lock calls
2022-09-12 19:14:18 -04:00
alexklimaj
3398380262
Switch to async AFBR measurement calls and use schedule.
2022-09-12 13:00:25 -04:00
bresch
d9d127a237
lightware dist sensor: set min range based on datasheet
2022-08-08 19:32:44 -04:00
Hamish Willee
30e2490d5b
Docs are now in user guide and main ( #19977 )
...
* Fix links to docs in source to point to docs on main not master
* More docs and scripts that need to point to main
2022-08-01 11:39:39 +10:00
Hamish Willee
e6eed43648
Spelling errors ( #19935 )
2022-07-27 14:33:16 +10:00
murata
3b277667ff
tfmini: If the distance is 0xFFFF, a negative value is returned
2022-01-28 17:31:12 -05:00
alexklimaj
333629ce37
Update Broadcom AFBR to v1.3.5 API
2021-11-13 12:05:08 -05:00
Harrison MG
c9b89ee869
fixed ulanding_radar autostart command
2021-10-28 00:01:37 -04:00
Tia
6e3e6846f4
Fix srf05 driver.
2021-10-18 21:00:59 -04:00
alexklimaj
f5e1da5b0f
Fix broadcom afbrs50 build
2021-10-13 17:22:26 -04:00
Jacob Dahl
fd39d5b9a1
drivers/distance_sensor/lightware_laser_serial: add LW20/C support
2021-10-08 17:30:41 -04:00
Peter van der Perk
1eb9a77a9b
[Kconfig] Added missing sensor drivers
2021-10-07 10:09:01 -04:00
Peter van der Perk
b3e799e277
[Kconfig] Add all distance sensors
2021-10-07 10:09:01 -04:00
Peter van der Perk
d5e3e9a7bc
[Kconfig] Decompose Kconfig, now each module has its own Kconfig
...
Which is better for versioning and decomposability
2021-10-07 10:09:01 -04:00
Peter van der Perk
e4f9fd8f53
[Kconfig] forgot distance sensor furthermore K66 build should be equal now
2021-10-07 10:09:01 -04:00
Andrew Brahim
04adf6c9be
drivers/distance_sensor/vl53l1x: added multiple region of interest settings ( #18073 )
...
Signed-off-by: dirksavage88 <dirksavage88@gmail.com >
2021-08-23 14:15:41 -04:00
alexklimaj
810dbbd25b
AFBR mode switching, rate switching, and test
2021-08-17 19:38:33 -04:00