BazookaJoe1900
4d83badba1
fix files tags on the header comments ( #23564 )
2024-09-19 09:25:18 +03:00
Matthias Grob
1c25d65a1e
Add missing newline at the end of files
2023-12-01 13:11:00 -05:00
Daniel Agar
45912066d2
fix copyright header year range
2023-01-14 09:16:16 -05: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
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
Daniel Agar
cb610caf1e
drivers: minimize additional I2C retries
2021-08-17 09:54:50 -04:00
Beat Küng
e644036325
drivers: use updated I2C SPI driver interface
2021-07-08 12:59:35 -04:00
David Sidrane
810e9e174f
distance_sensor: Use inttypes
2021-06-16 17:07:47 +02:00
David Sidrane
84dd8839a2
i2c_spi_buses:Track NuttX change to getopts avoid name collision
...
NuttX #defined optarg and getopt to move to TLS. This fixes the
name collision.
2021-06-16 17:07:47 +02:00
JacobCrabill
85796fbd84
Drivers: Distance Sensors: Add proper device IDs
...
Add new DeviceBusType_SERIAL to Device::DeviceId union
Add DRV_DIST_DEVTYPE's for all distance sensors
Change distance_sensor_s.id to distance_sensor_s.device_id
Modify all distance_sensor drivers to apply 'proper' device_id
2021-01-27 17:02:20 -05:00
bresch
644ede5698
distance_sensor: allow setting no rotation (-R 0)
2020-08-28 12:00:47 -04:00
Daniel Agar
27f23ac290
move initial sensor priority to parameters and purge ORB_PRIORITY
...
- CAL_ACCx_EN -> CAL_ACCx_PRIO
- CAL_GYROx_EN -> CAL_GYROx_PRIO
- CAL_MAGx_EN -> CAL_MAGx_PRIO
2020-08-21 10:12:13 -04:00
Daniel Agar
f55ed0992c
accel and gyro calibration refactor and cleanup
...
- remove all remaining IOCTLs for accel and gyro and handle all calibration entirely in sensors module with parameters
- sensor_accel and sensor_gyro are now always raw sensor data
- calibration procedures no longer need to first clear existing values before starting
- temperature calibration (TC) remove all scale (SCL) parameters
- gyro and baro scale are completely unused
- regular accel calibration scale can be used (CAL_ACC*_xSCALE) instead of TC scale
2020-06-17 22:50:09 -04:00
Hamish Willee
8236b8da81
Fix up doc links to point to master branch
2020-04-21 08:58:40 +02:00
Daniel Agar
02f4ad61ec
I2C/SPI require device type in constructor
2020-04-01 12:24:22 -04:00
Beat Küng
83b367f000
refactor teraranger: use driver base class
2020-03-17 23:31:17 -04:00
Daniel Agar
eef508cc4a
teraranger: move to PX4Rangefinder and cleanup
2020-01-08 12:36:42 -05:00
Daniel Agar
1c4e854f93
cmake don't build param "c" files and remove param defines
...
- these aren't actual source code
2019-11-11 10:25:42 -05:00
Beat Küng
3198610f85
src/platforms: move all headers to platforms/common/include/px4_platform_common
...
and remove the px4_ prefix, except for px4_config.h.
command to update includes:
for k in app.h atomic.h cli.h console_buffer.h defines.h getopt.h i2c.h init.h log.h micro_hal.h module.h module_params.h param.h param_macros.h posix.h sem.h sem.hpp shmem.h shutdown.h tasks.h time.h workqueue.h; do for i in $(grep -rl 'include <px4_'$k src platforms boards); do sed -i 's/#include <px4_'$k'/#include <px4_platform_common\/'$k/ $i; done; done
for in $(grep -rl 'include <px4_config.h' src platforms boards); do sed -i 's/#include <px4_config.h/#include <px4_platform_common\/px4_config.h'/ $i; done
Transitional headers for submodules are added (px4_{defines,log,time}.h)
2019-10-30 11:48:47 +01:00
Daniel Agar
26364d44c9
px4_work_queue: command line status output and shutdown empty queues
...
* adds a work_queue systemcmd that will bring a tree view of all active work queues and work items
* WorkQueues now track attached WorkItems and will shutdown when the last WorkItem is detached
2019-10-02 12:23:17 -04:00
mcsauder
cdbe4a3ee8
Refactor the terraranger driver.
2019-09-22 12:23:25 -04:00
Daniel Agar
78ef8aab2d
STACK_MAIN increase default 1024 -> 2048
2019-08-30 19:11:51 -07:00
Beat Küng
f8e0441e7b
src/platforms/common: move to platforms/common
...
Script to update include paths:
for i in $(grep -rl 'include <px4_work_queue' src platforms); do sed -i 's/#include <px4_work_queue/#include <px4_platform_common\/px4_work_queue/' $i; done
2019-08-30 07:59:44 +02:00
Daniel Agar
eb8fbaf93d
teraranger move to px4 work queue
2019-05-24 12:58:55 -04:00
Daniel Agar
b35d048566
cmake enable -Wcast-align and disable per module
2019-03-16 11:47:15 -04:00
Oleg Kalachev
fbc8d01a7e
Rename distance_sensor.covariance to variance
2019-02-22 18:31:27 +00:00
Hamish Willee
2b20c50659
Add module docs for teraranger
2019-02-13 09:20:07 +01:00
Julian Oes
5b9dea5604
Replacing usleep with px4_usleep
...
This is a step towards isolating time from the system.
2018-12-22 10:32:18 +01:00
Daniel Agar
7caf9803ed
delete unimplemented SENSORIOCRESET IOCTL
2018-11-06 07:43:43 +08:00
Daniel Agar
d2ed091a1d
delete IOCTL SENSOR_POLLRATE_MAX
...
- only SENSOR_POLLRATE_DEFAULT is needed
2018-11-06 07:43:43 +08:00
Daniel Agar
556a9422b5
delete IOCTL SENSOR_POLLRATE_MANUAL
...
- only used in self tests
2018-11-06 07:43:43 +08:00
Daniel Agar
8dfd55fc9e
delete unused IOCTL SENSORIOCGPOLLRATE
2018-11-06 07:43:43 +08:00
Daniel Agar
9cd3e3d1cf
distance sensors delete unused IOCTL SENSORIOCSQUEUEDEPTH
2018-11-06 07:43:43 +08:00
Daniel Agar
f59f0d4b2d
delete unused IOCTL SENSOR_POLLRATE_EXTERNAL
2018-11-06 07:43:43 +08:00
Daniel Agar
483bacad87
teraranger cleanup unnecessary Device CDev usage
2018-08-27 13:14:15 -04:00
Philipp Oettershagen
da2fbf60b5
distance sensors: Improve variable naming / description
2018-07-16 21:59:04 +10:00
Philipp Oettershagen
35bde5c9fc
LL40LS: Implement driver-specific filtering based on the datasheet and experiments
2018-07-16 21:59:04 +10:00
DanielePettenuzzo
6cb17839ee
distance sensors: remove bus_option array and add it to i2c.h header
2018-07-03 17:33:18 +02:00
DanielePettenuzzo
c13d69a610
distance sensor drivers: change all open and close to px4_open and px4_close
2018-07-03 17:33:18 +02:00
DanielePettenuzzo
fed6c9ae34
srf02 driver: add -b and -a flags to choose i2c busses and remove nuttx stuff such as exit functions
2018-07-03 17:33:18 +02:00
DanielePettenuzzo
5b259a008a
vl53lxx driver: add -b, -a and -R flags to choose i2c busses and sensor rotation and remove nuttx stuff such as exit functions
2018-07-03 17:33:18 +02:00
DanielePettenuzzo
040662ff04
sf1xx driver: add -b and -a flags to choose i2c busses and remove nuttx stuff such as exit functions
2018-07-03 17:33:18 +02:00
DanielePettenuzzo
7d281b2619
teraranger driver: add -b and -a flags to choose i2c busses and remove nuttx stuff such as exit functions
2018-07-03 17:33:18 +02:00
Daniel Agar
9ce83f2208
fix all sign-compare warnings
2018-07-01 09:36:55 +00:00
Daniel Agar
cf74166801
double promotion warning fix or ignore per module
2018-07-01 09:36:55 +00:00
Philipp Oettershagen
f5847a4a7b
Subsystem_info status flags & checks: Switch back to uORB for inter-process communication, handle GPS checks completely inside ekf2, add distance_sensor checks
2018-06-06 18:54:24 +02:00
Philipp Oettershagen
6f1f414b49
Subsystem_info status flags & checks : Initial commit, updating the health flags in a centralized way mostly in commander and the votedSensorsUpdate function.
2018-06-06 18:54:24 +02:00
Beat Küng
eabfac71d6
teraranger: add argc check and fix argv index
2018-06-04 16:33:55 +02:00
Daniel Agar
ea3acb7121
cmake remove circular linking and reorganize
...
- px4_add_module now requires MAIN
- px4_add_library doesn't automatically link
2018-04-29 21:48:54 -04:00
Mateusz Sadowski
f0a8569c93
Drivers: Add TeraRanger Evo 600Hz support ( #9169 )
2018-04-04 00:28:53 -04:00