Commit Graph

2477 Commits

Author SHA1 Message Date
Daniel Agar eb29b33620 use gcc attributes to align and pack 2016-05-14 11:27:07 +02:00
Daniel Agar 76387b1693 uorb autogeneration 2016-05-14 11:27:07 +02:00
Daniel Agar 6f49f861d6 px4io_params.c param metadata 2016-05-13 20:25:22 -04:00
Daniel Agar 3bda6e0883 mkblctrl_params.c param metadata 2016-05-13 20:25:21 -04:00
Daniel Agar 18b6815eec camera_trigger_params.c param metadata 2016-05-13 20:25:20 -04:00
Lorenz Meier 29d6c95ec4 FMUv4: Build all Bosch drivers so they get built at least for one target 2016-05-13 15:02:58 +02:00
Lorenz Meier 637396359d BMA180: Fix compilation 2016-05-13 15:02:58 +02:00
Lorenz Meier 13a819730d BMP280: Cleanup to make it compile 2016-05-13 15:02:58 +02:00
Lok Tep ea4896813c astyle formatted 2016-05-13 15:02:58 +02:00
Lok Tep 07557bc362 SPI bmp280 driver, I2C skeleton 2016-05-13 15:02:58 +02:00
Daniel Agar 848e87ff76 lis3mdl use STACK_MAIN 2016-05-13 13:01:41 +02:00
Julian Oes 080a136e50 integrator: add function to return filtered data
Instead of only being able to get the integral and its integration time,
it can also be handy to get the integral divided/differentiated by the
the integration time. This data is then just filtered by the integrator.
2016-05-12 12:41:40 +02:00
Lorenz Meier 4aec95b239 HMC5883: Be less sensitive to large scaling errors and offsets 2016-05-07 14:37:55 +02:00
Daniel Agar 7b0078a20d bosch bmi160 driver (#4469) 2016-05-06 21:07:34 +02:00
Lorenz Meier ebaca071f6 Battery charge estimation: Factor in voltage drop for idle props 2016-05-06 18:14:34 +02:00
Lorenz Meier dd774a60e3 IO driver: Reduce perf counters 2016-05-05 20:08:11 +02:00
Lorenz Meier e250d12184 Board drivers: Shorten perf names 2016-05-05 20:06:42 +02:00
Julian Oes bdaa1b58f6 uart_esc: fix eagle build 2016-05-05 14:28:20 +02:00
Daniel Agar 7aa6e85563 enable Wshadow 2016-05-05 13:32:42 +02:00
Julian Oes f528c63030 integrator: add a put method for known intervals
This adds a second put method to the integrator class. This allows to
integrate with known intervals between samples, rather than based on
timestamps. This makes integrating the samples coming out of the MPU9250
FIFO buffer easier.
2016-05-04 22:28:19 +02:00
Lorenz Meier 6b756ca95a FMU driver: Do not fake RSSI values, but report that we have no proper RSSI available 2016-05-01 16:55:42 +02:00
Lorenz Meier 887dfd1ec4 Fix RSSI lower bound 2016-05-01 16:42:30 +02:00
Lorenz Meier 4ec4deabbd FMU driver: Make auto-detection of analog RSSI more stable 2016-05-01 16:36:15 +02:00
Lorenz Meier 34081c1d3c FMU: Fix rc lost flag handing 2016-05-01 16:24:33 +02:00
Lorenz Meier bdd2070dd7 FMU driver: Report RSSI for RC
Move RSSI sampling into FMU driver from sensors
2016-05-01 15:48:50 +02:00
Lorenz Meier 3335d32c0a ADC driver: Publish via uORB 2016-05-01 15:48:50 +02:00
Lorenz Meier b5b4769d1f Enable RSSI sampling on Pixracer 2016-05-01 14:23:25 +02:00
Andrew Tridgell 82aca3d65c FMUv4: enable RSSI analog input pin 2016-05-01 14:22:58 +02:00
thedevleon 9ff6751eb5 hotfix for frsky dport telemetry (#4409) 2016-05-01 00:41:17 +02:00
Beat Küng 1ce5d795be orb: move SmartLock into global space and use it also for NuttX 2016-04-29 11:15:16 +02:00
Beat Küng 9a0cff2a00 vdev: add a SmartLock class that automatically unlocks when going out of scope 2016-04-29 11:15:15 +02:00
Beat Küng aacfd8d553 orb: add some comments about locking 2016-04-29 11:15:15 +02:00
Lorenz Meier 5bcdfed203 Improve trigger meta 2016-04-27 19:57:26 +02:00
David Sidrane 161f92250f Update CMakeLists.txt (#4377)
Removes warning as Cmake now using STACK_MAIN
2016-04-27 08:29:06 +02:00
Andrew Tridgell 6552f925f8 px4fmu: allow control of safety state on FMUv4
allows for MAVLink control of safety state
2016-04-25 17:25:47 +02:00
Nicolas de Palezieux 9199c5ec17 changed parameters to int32_t to prevent stack smashing 2016-04-25 16:16:04 +02:00
Nicolas de Palezieux b1c6a2c7ab ensure PWM_DISARMED value is sent to ESCs if snapdragon does not send anything else 2016-04-25 16:11:49 +02:00
Julian Oes 2e476ce6bf gps/devices: updated submodule
This includes the mtk bugfix for Snapdragon.
2016-04-25 06:21:36 -07:00
Julian Oes c975d01200 gps: fix Snapdragon build 2016-04-25 06:21:36 -07:00
Beat Küng b855d76f28 fix gps: subscribe to topics in the gps thread instead of the shell thread
NuttX does not inherit file descriptors when creating new tasks.
2016-04-25 13:35:41 +02:00
Beat Küng 58a7db51c3 gps: add RTCM message rate to the 'gps status' command 2016-04-25 13:35:41 +02:00
Julian Oes fa6fe4ca96 px4io: small change after perf_counter API change 2016-04-25 12:48:48 +02:00
Julian Oes d824ca3a14 integrator: fix style 2016-04-25 12:48:48 +02:00
Julian Oes 302bf879de integrator: improvements and cleanup
The integrator had an untested read mode which did not apply the coning
correction. Instead of keeping two integrals (auto/read) it is now one
and the reset mechanism can be selected by setting the
auto_reset_interval to 0 to disable it or some positive number else.

Also, the integrator could potentially explode if a (single) timestamp
was wrong, so before the last integrated one. This is now caught with a
dt of 0 instead of inf/nan.
2016-04-25 12:48:48 +02:00
Beat Küng afefa4d2a0 gps: use a max poll timeout of 50ms to check for orb msgs more often
Before this, I measured a max time spent in poll of 197ms. By checking at
least every 50ms we make sure to not lose any orb messages.
2016-04-25 09:48:24 +02:00
Beat Küng 6029551c63 gps & mavlink receiver: use C arrays instead of std::array<> 2016-04-25 09:48:24 +02:00
Beat Küng 4cf08ba580 gps handleInjectDataTopic: repeatedly check for new orb messages
Without that there were still lost messages, now it's all fine (tested
under Linux)
2016-04-25 09:48:24 +02:00
Beat Küng c8f2a7ea02 update gps submodule (fix coding style) 2016-04-25 09:48:24 +02:00
Beat Küng 1085f33f88 gps: remove the old driver files 2016-04-25 09:48:24 +02:00
Beat Küng 7ef718912a drv_gps.h: cleanup the file, remove unneeded stuff 2016-04-25 09:48:24 +02:00