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
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
mcsauder
b495ddbdd3
Delete unnecessary #includes from the imu driver directory.
2019-07-08 23:45:01 -04:00
Daniel Agar
f7ff82c754
Bosch BMI055 IMU cleanup
...
- move to PX4Accelerometer and PX4Gyroscope helpers
2019-05-27 18:03:32 -04:00
Daniel Agar
e27a8e1010
bmi055 move to px4 work queue
2019-05-24 12:58:55 -04:00
Dennis Millard
70681f990f
BMI055 IMU driver fix temperature reporting
2019-04-16 22:53:16 -04:00
Beat Küng
c9d32578e3
fix bmi055: increase DLPF from 62.5 to 500
...
With a DLPF of 62.5 Hz, the sampling rate is apperently not 1 kHz anymore,
because the driver got duplicate samples and published only at 128 Hz.
We have to increase the filter back to 500 Hz so that we get 1 kHz sampling
rate, with 250 Hz publications.
2019-03-21 11:50:37 -04: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
Beat Küng
75bb3e9bac
bmi055: add support for IMU_GYRO_CUTOFF and IMU_ACCEL_CUTOFF
2019-02-21 12:30:44 -05:00
Beat Küng
ba6ef19314
bmi055: fixes for on-chip filter
...
- Accel: use cutoff of 62.5 Hz instead of 500 Hz
- Gyro: the cutoff frequency is coupled with the ODR and is fixed to 116 Hz
at 1 kHz readout rate. So this patch does not change anything for the
gyro.
2019-02-21 12:30:44 -05: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
Daniel Agar
2ffb49b734
delete px4_includes.h header and update boards/ to use syslog
2019-01-23 18:25:18 -05:00
Daniel Agar
dd0baaee91
delete IOCTL SENSORIOCSQUEUEDEPTH
...
- only used in test routines
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
acc24da0c2
delete gyro_report (alias for sensor_gyro_s)
2018-11-06 07:43:43 +08:00
Daniel Agar
3daf37433e
delete unused IOCTL GYROIOCSSAMPLERATE
2018-11-06 07:43:43 +08:00
Daniel Agar
60c14fe8f1
delete unused IOCTL GYROIOCGSAMPLERATE
2018-11-06 07:43:43 +08:00
Daniel Agar
ef65e5267a
delete unused IOCTL GYROIOCGRANGE
2018-11-06 07:43:43 +08:00
Daniel Agar
068dcb37df
delete unused IOCTL GYROIOCSRANGE
2018-11-06 07:43:43 +08:00
Daniel Agar
aaf0b6fb5c
delete unused IOCTL GYROIOCGSCALE
2018-11-06 07:43:43 +08:00
Daniel Agar
2a83a40491
delete accel_report (alias for sensor_accel_s)
2018-11-06 07:43:43 +08:00
Daniel Agar
e759e0e1a5
delete unused IOCTLs ACCELIOCSSAMPLERATE and ACCEL_SAMPLERATE_DEFAULT
2018-11-06 07:43:43 +08:00
Daniel Agar
77abcab46f
delete unused IOCTL ACCELIOCGRANGE
2018-11-06 07:43:43 +08:00
Daniel Agar
5d3d120705
delete unused IOCTL ACCELIOCSRANGE
2018-11-06 07:43:43 +08:00
Daniel Agar
b0c3e12139
delete unused IOCTL ACCELIOCGSCALE
2018-11-06 07:43:43 +08:00
Daniel Agar
8ad59160c9
delete unused IOCTL ACCELIOCGSAMPLERATE
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
6abd0c2672
BMI055 increase MAIN stack
2018-09-02 16:15:03 -04:00
Daniel Agar
568a5f1c4c
delete ACCELIOCSELFTEST and GYROIOCSELFTEST
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
Daniel Agar
e4be8eccc9
bmi055 add measure interval perf counter
2018-07-08 20:14:34 +02:00
Daniel Agar
0da8125ac0
bmi055 remove unused reset retries perf counter
2018-07-08 20:14:34 +02:00
Daniel Agar
adf6ea3596
bmi055 remove unused gyro duplicates perf counter
2018-07-08 20:14:34 +02:00
Daniel Agar
734fc1bf8d
bmi055 remove cdev read (gyro_reads) perf counter
2018-07-08 20:14:34 +02:00
Daniel Agar
7bc364207e
bmi055 remove cdev read (accel_reads) perf counter
2018-07-08 20:14:34 +02:00
Daniel Agar
cd07e756b9
bmi055 name separate accel and gyro perf counters properly
2018-07-08 20:14:34 +02:00
Daniel Agar
b6399dbdf0
bmi055 remove common good_transfers perf counter
2018-07-08 20:14:34 +02:00
Daniel Agar
eef325e2af
bmi055 split accel and gyro headers
2018-07-08 20:14:34 +02:00
Daniel Agar
977ab4e7b8
improve end to end control latency measurement ( #9388 )
2018-05-02 03:03:32 -04: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
d75fd72c02
stop manually defining physical constants
2018-04-19 07:24:58 +02:00
Daniel Agar
5fba1f38b2
drivers start using uORB message print instead of custom
2018-03-28 09:15:41 -04:00
Daniel Agar
1b174eeca2
drivers replace math::Vector<3> with matrix::Vector3f
2018-03-21 13:48:45 -04:00
Daniel Agar
681e351f62
organize all IMU drivers in subdirectory
2018-02-09 22:40:34 +01:00