Mark Sauder
f1c66749e3
vl53lxx: migrate variable initialization from constructor list to declaration uniform initialization ( #11896 )
...
* Format whitespace
* Alphabetize/group/order variables and methods.
* Deprecate IOCTL usage and simplify a few methods.
2019-06-15 23:18:46 -04:00
Kabir Mohammed
ce784d1ef0
Sensordots Mappydot+ driver ( #12147 )
...
* Add MappyDot+ driver capable of utilizing multiple sensors on a single i2c bus.
2019-06-15 21:13:51 -04:00
Mark Sauder
eaa3d4a24f
tfmini: migrate driver class member variable initialization to declarations ( #11893 )
...
* format whitespace
* alphabetize/group/order var/method declarations
* added a default port to start the tfmini driver without requiring arguments.
2019-06-15 21:01:36 -04:00
Daniel Agar
6c495bc4a3
leddar_one move help to bottom and format
2019-06-08 03:23:50 -07:00
Daniel Agar
835a38f6dc
vl53lxx move to px4 work queue
2019-05-24 12:58:55 -04:00
Daniel Agar
593aaa48ca
tfmini move to px4 work queue
2019-05-24 12:58:55 -04:00
Daniel Agar
eb8fbaf93d
teraranger move to px4 work queue
2019-05-24 12:58:55 -04:00
Daniel Agar
a1f3f2112b
srf02 move to px4 work queue
2019-05-24 12:58:55 -04:00
Daniel Agar
592037851a
sf1xx move to px4 work queue
2019-05-24 12:58:55 -04:00
Daniel Agar
a6bbf0b945
sf0x move to px4 work queue
2019-05-24 12:58:55 -04:00
Daniel Agar
ce3b5103fc
mb12xx move to px4 work queue
2019-05-24 12:58:55 -04:00
Daniel Agar
22b89034d9
ll40ls move to px4 work queue
2019-05-24 12:58:55 -04:00
Daniel Agar
4d41dcaee2
leddar_one move to px4 work queue
2019-05-24 12:58:55 -04:00
Daniel Agar
9a0f145fc0
hc_sr04 move to px4 work queue
2019-05-24 12:58:55 -04:00
Daniel Agar
6ef42e2c52
cm8jl65 move to px4 work queue
2019-05-24 12:58:55 -04:00
Julian Oes
b20feacdb5
drivers: fix -Wstringop-truncation
...
GCC 9 complained about stringop-truncation which is a cautionary message
to prevent using strncpy with non-null terminated strings.
We can fix this by copying one byte less than the destination size and
then manually adding the null termination, as we already do.
2019-05-16 13:06:25 +02:00
Julian Kent
911df49045
increase stacks in drivers identified by stackcheck builds
2019-04-09 17:20:50 +02:00
Burak Han
d2a0c857ed
sf0x.cpp: change baudrate to 115200 for SF11/C
2019-04-04 10:17:50 +02:00
Mark Sauder
4c228eaf4a
cmake whitespace fixes to quiet git hook.
2019-03-16 14:48:44 -04:00
Daniel Agar
b35d048566
cmake enable -Wcast-align and disable per module
2019-03-16 11:47:15 -04:00
mcsauder
ca92b8016d
Move member variable initialization out of the constructor list to variable declarations, format whitespaces/tabs in sf1xx.cpp.
2019-02-26 10:42:00 -05:00
Oleg Kalachev
fbc8d01a7e
Rename distance_sensor.covariance to variance
2019-02-22 18:31:27 +00:00
bazooka joe
922c19aa9c
using only px4_getopt() and never the unsafe getopt()
...
using only <px4_getopt.h> as include, cleanup related includes
added check that all the option are valid (myoptind >= argc). if there are invalid options on some script that might now lead not to run commands
2019-02-21 09:45:45 +01:00
mcsauder
d6dc5a7302
Rename MB12XX_MAX_RANGEFINDERS to RANGE_FINDER_MAX_SENSORS.
2019-02-18 13:07:47 -05:00
Hamish Willee
6302452066
Remove unwanted info option
2019-02-15 10:41:32 +01:00
Hamish Willee
f8c0849ff7
Add module docs for leddar_one
2019-02-15 10:41:32 +01:00
Hamish Willee
3a34209dc1
Fix error text to: unrecognised command
2019-02-13 09:42:05 +01:00
Hamish Willee
1aaf342e86
Add usage output to command
2019-02-13 09:42:05 +01:00
Hamish Willee
48105ba878
Add module docs for tfmini driver
2019-02-13 09:42:05 +01:00
Hamish Willee
2b20c50659
Add module docs for teraranger
2019-02-13 09:20:07 +01:00
Beat Küng
4452669614
module documentation: add support for subcategories
2019-02-08 09:29:46 +01:00
Daniel Agar
2ffb49b734
delete px4_includes.h header and update boards/ to use syslog
2019-01-23 18:25:18 -05:00
Daniel Agar
7008558fac
drivers/distance_sensor replace std::vector usage with px4::Array
2019-01-20 12:03:53 +01:00
Dave Royer
f537c98ca2
ulanding radar: update driver for new 2nd gen hardware ( #11035 )
2019-01-18 12:06:34 -05:00
Beat Küng
d8ab059ff3
cm8jl65: add comment which CRC is used
2019-01-15 09:19:52 +01:00
Claudio Micheli
8a313ffc26
Applied code-review suggestions.
...
- Removed blocking serial.
- Added passing variables by reference to parser.
- Removed commented code.
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-01-15 09:17:24 +01:00
Claudio Micheli
d1da46ef46
Added generic UART configuration.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-01-15 09:17:24 +01:00
Claudio Micheli
ca0cd27c6b
Formatted code.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-01-15 09:17:24 +01:00
Claudio Micheli
7124cbf3af
Fixed CI broken build. Made TELEM2 default port.
...
Device port can be set via SENS_EN_CM8JL65 parameter:
SENS_EN_CM8JL65 = 0 -> Disabled
SENS_EN_CM8JL65 = 1 -> Enabled on TELEM2
SENS_EN_CM8JL65 = 2 -> Enabled on TELEM1
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-01-15 09:17:24 +01:00
Claudio Micheli
e4381bfc87
Added sensor enable/disable parameter (SENS_EN_CM8JL65).
...
Disabled by default.
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-01-15 09:17:24 +01:00
Claudio Micheli
46c5a79b57
Renamed files according to distance sensor hardware.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-01-15 09:17:24 +01:00
Claudio Micheli
aee6a83fe0
Code Cleanup. Added configuration notes.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-01-15 09:17:24 +01:00
Claudio Micheli
c5fece6568
Redefined reading strategy from serial to get the latest available data.
...
First "stable" version of the driver.
TODO: - Cleanup the code
- Bench test (compare data with IMU)
- Flight Test
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-01-15 09:17:24 +01:00
Claudio Micheli
39ed84b5cd
Debugging printf.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-01-15 09:17:24 +01:00
Claudio Micheli
5d70ac7fd9
Removed dismissed folder.
...
TODO : Adjust work_queue rescheduling (to always have a 10Hz cycle)
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-01-15 09:17:24 +01:00
Claudio Micheli
b0ac8fe963
Removed blocking "while" cycle to access serial port.
...
Serial is now cycled with work_queue rescheduling if some bytes are missing.
TODO: - Fix occasional sensor spikes (can be identified with crc)
- Clean up the code
- disable debug printf
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-01-15 09:17:24 +01:00
Claudio Micheli
93b3cf241b
Renamed driver folder.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-01-15 09:17:24 +01:00
Claudio Micheli
dd300dca0a
Solved frequency rate issue. Now driver publish at ~10Hz.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-01-15 09:17:24 +01:00
Claudio Micheli
4b7be38e67
Added uORB publishing.
...
TODO: Need to fix driver cycling.
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-01-15 09:17:24 +01:00
Claudio Micheli
700fd5652d
Added parsing function. Everything works OK.
...
TODO:
- Clean up the code
- Add uORB publishing messages
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-01-15 09:17:24 +01:00