Daniel Agar
e731fcdbc0
sensors (accel/gyro/mag) determine if external with device id
2022-01-10 10:31:07 -05:00
Beat Küng
e644036325
drivers: use updated I2C SPI driver interface
2021-07-08 12:59:35 -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
971b1e4b4d
sensors: move mag aggregation to new VehicleMagnetometer WorkItem
...
- purge all reminaing magnetometer IOCTL usage
- mag calibration add off diagonal (soft iron) scale factors
2020-08-21 10:12:13 -04:00
Daniel Agar
38db7c8b00
lis3mdl: remove read error message
2020-08-17 09:36:05 -04:00
Daniel Agar
8252fea95b
lis3mdl: cleanup device interface on destruction
2020-08-14 09:25:47 +02:00
Daniel Agar
02f4ad61ec
I2C/SPI require device type in constructor
2020-04-01 12:24:22 -04:00
Daniel Agar
5f6f1c554b
lis3mdl: move to PX4Magnetometer and cleanup
2020-04-01 10:07:08 -04:00
Beat Küng
4d511868e6
refactor lis3mdl: use driver base class
2020-03-24 09:46:20 -04:00
Daniel Agar
ceec0238c4
replace mag_report with sensor_mag_s
2020-01-10 12:15:18 -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
Bob Long
84a0d16386
Clarify weird behavior of the LIS3MDL
...
See issue #12514
2019-07-21 12:08:26 -04:00
Daniel Agar
dffaf544ab
lis3mdl move to px4 work queue
2019-05-24 12:58:55 -04: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
dd0baaee91
delete IOCTL SENSORIOCSQUEUEDEPTH
...
- only used in test routines
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
d76155107c
delete unused IOCTL MAGIOCGRANGE
2018-11-06 07:43:43 +08:00
Daniel Agar
0ea18b2b73
delete unused IOCTL MAGIOCGSAMPLERATE
2018-11-06 07:43:43 +08:00
Daniel Agar
60a40ec131
delete unused IOCTL MAGIOCSSAMPLERATE
2018-11-06 07:43:43 +08:00
hdiethelm
33422700de
lis3mdl: fix handling when multiple sensors are available ( #10753 )
...
* lis3mdl: Report calibration successful when starting with -C option
* lis3mdl: Use PX4_OK, PX4_ERROR for return value / orb_unadvertise
* Fixes #10740
2018-11-01 10:44:41 -04:00
Daniel Agar
bb9c38a480
delete MAGIOCSELFTEST
2018-08-02 08:05:52 +02:00
Daniel Agar
cc96e5ec5e
sensor messages remove unused fields and improve comments
2018-07-29 21:04:21 +02:00
Jake Dahl
ad4b3a738a
set the range to the correct value
2018-05-16 08:35:55 +02:00
Jake Dahl
306d1e7e24
a few corrections
2018-05-16 08:35:55 +02:00
Jake Dahl
6324a8851d
Complete refactor of the lis3mdl driver. This has been bench tested, flight tested, and verified functional.
2018-05-16 08:35: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
Daniel Agar
5fba1f38b2
drivers start using uORB message print instead of custom
2018-03-28 09:15:41 -04:00
Daniel Agar
ad6df56438
lis3mdl add mixxing PX4_I2C_BUS_EXPANSION ifdef
2018-02-09 22:40:34 +01:00
Daniel Agar
bad813e911
move all magnetometers to the same folder
2018-01-16 23:46:45 -05:00