Commit Graph

21923 Commits

Author SHA1 Message Date
Lucas De Marchi 260b8ea940 aerofc: remove USB
There's no USB, don't bring it in.
2017-04-06 12:18:30 +02:00
Lucas De Marchi 5744a0bcec aerofc: update NuttX config 2017-04-06 12:18:30 +02:00
Lucas De Marchi 06408b8a4e ROMFS: allow to run without sercon 2017-04-06 12:18:30 +02:00
Lucas De Marchi c39e9a9695 ROMFS: aerofc: set default EKF2 params 2017-04-06 12:18:30 +02:00
Lucas De Marchi 366ff1f3e9 ist8310: remove undef
Use PX4_ERROR instead.
2017-04-06 12:18:30 +02:00
Lucas De Marchi 04dac46eaf ist8310: be resilient to bad data coming from sensor
It doesn't hurt to test if the sensor is outputing data in the expected
range and it should help with elimination of spikes in case of errors.
2017-04-06 12:18:30 +02:00
Lucas De Marchi e40209ead9 ist8310: remove commented out and dead code
This code just makes it harder to grok the driver. When support for this
feature is available we can bring it back.
2017-04-06 12:18:30 +02:00
Lucas De Marchi ade6336fd0 ist8310: lower sample rate 2017-04-06 12:18:30 +02:00
Lucas De Marchi 3c48aa4cf1 aerofc: use MPU9250 driver 2017-04-06 12:18:30 +02:00
Lucas De Marchi 3200b032c0 mpu9250: add support to MPU6500
MPU9250 is mostly an MPU6500 with a mag (AK8963) in the same package.
Support driving MPU6500 with the MPU9250 driver. The id of the driver
isn't set differently since this way it allows to force a recalibration.

Ideally MPU9250 driver could even not exist and the support for these
sensors be merged back in the MPU6000 that's more complete. This is an
intermediate step in that direction.
2017-04-06 12:18:30 +02:00
Lucas De Marchi 2805bffe52 ms5611: reduce macro scope
Move the addresses to .cpp where they are used. This should help
noticing discrepancies like the OSR we are using and the sampling
interval.
2017-04-06 12:18:30 +02:00
Lucas De Marchi 47d4c75214 ms5611: poll sensor at 100Hz 2017-04-06 12:18:30 +02:00
Lucas De Marchi c5108cafff aerofc: fix documentation about pins
- There's no I2C2, so remove it
  - Fix alignments everywhere in board_config.h
  - Clarify STM32 ADC (not available) and the ADC on the FGPA
  - Fix format on some comments
2017-04-06 12:18:30 +02:00
Lucas De Marchi 11d419161b mpu6500: switch driver to 16G range
All the other drivers use 16G, do the same for MPU6500.
2017-04-06 12:18:30 +02:00
Lucas De Marchi 16cd710251 aerofc: set tap esc mode 2017-04-06 12:18:30 +02:00
Lucas De Marchi 6b8c0f7db2 tap_esc: enable closed loop control if supported by board 2017-04-06 12:18:30 +02:00
Lucas De Marchi 173001e73a aerofc: add BOARD_ prefix to define and update description 2017-04-06 12:18:30 +02:00
Lucas De Marchi 41e51a7c85 tap_esc: change define to use BOARD_ prefix 2017-04-06 12:18:30 +02:00
Lucas De Marchi e535156599 ROMFS: set baudrate to 460800 for aerofc
We are getting way to much transfer errors with high baudrate
2017-04-06 12:18:30 +02:00
bresch 12182ec1fc Increase max yawrate default parameters for standard delta VTOL
MC_YAWRATE_MAX 20  => 50

Signed-off-by: bresch <brescianimathieu@gmail.com>
2017-04-06 12:13:14 +02:00
Pavel Kirienko 5788701cc7 Replaced warn() with PX4_WARN() 2017-04-06 12:05:57 +02:00
Pavel Kirienko 02a9ccc4f2 Removed dependency on <algorithm> 2017-04-06 12:05:57 +02:00
Pavel Kirienko 098b57534d UAVCAN GNSS bridge: proper handling of various time bases 2017-04-06 12:05:57 +02:00
Pavel Kirienko 8e61ed9b77 Republishing GNSS Fix2 if no GNSS publishers are available on the bus 2017-04-06 12:05:57 +02:00
Pavel Kirienko 14249d3318 UAVCAN GNSS bridge status output shows whether support for the old Fix message is active 2017-04-06 12:05:57 +02:00
Pavel Kirienko 75c45b62d7 UAVCAN GNSS Fix2 handling 2017-04-06 12:05:57 +02:00
Pavel Kirienko 32ac1288ba Libuavcan update 2017-04-06 12:05:57 +02:00
Beat Küng 58f42c19ad mpu6000: use MPU6000_ACCEL_DEFAULT_RANGE_G define for accel range 2017-04-06 11:50:35 +02:00
Beat Küng 2506b4099f lsm303d: set accel range to 16g 2017-04-06 11:50:35 +02:00
Beat Küng 51add81f6b bmi160: set accel range to 16g 2017-04-06 11:50:35 +02:00
Beat Küng 4d7ed14606 unittests: add PARAM_NO_AUTOSAVE definition
Seems that the work queue is not available for the tests.
2017-04-06 11:49:03 +02:00
Beat Küng 2946aafc2b cmake configs: add -DPARAM_NO_AUTOSAVE for esc32, px4esc, px4cannode, s2740vc
These configs do not have the work queue enabled.
2017-04-06 11:49:03 +02:00
Beat Küng 044a767235 param: add PARAM_NO_AUTOSAVE: if defined, do not depend on LP work queue
Some NuttX configs do not have the work queues enabled.
2017-04-06 11:49:03 +02:00
Beat Küng b5bb5cffc8 gps: check for allocation failure & avoid busy loop 2017-04-06 11:49:03 +02:00
Beat Küng 1be639ec46 temperature_calibration: turn off param autosave 2017-04-06 11:49:03 +02:00
Beat Küng 43afb8d41e sensor calibration: remove param_save_default() calls 2017-04-06 11:49:03 +02:00
Beat Küng 4b18f8ea46 LandDetector: remove param_notify_changes()
not needed anymore because of autosave
2017-04-06 11:49:03 +02:00
Beat Küng f256d03364 param command: remove param_save_default() calls
Not needed anymore due to autosave
2017-04-06 11:49:03 +02:00
Beat Küng dffba3e03b param: move variable definitions to the top of the file 2017-04-06 11:49:03 +02:00
Beat Küng a0e2b0c5a2 param: add param_control_autosave to enable/disable autosave 2017-04-06 11:49:03 +02:00
Beat Küng f3e9739ab0 param export: use writer lock
to protect against concurrent writes to the same file
2017-04-06 11:49:03 +02:00
Beat Küng a5cdff06d5 param: implement rate-limited autosave
- add a saving delay of 300ms
- save at most once every 2 seconds
2017-04-06 11:49:03 +02:00
Beat Küng 7c43689ddc commander: remove param autosave 2017-04-06 11:49:03 +02:00
Beat Küng f179049e95 replay: ignore the ULogMessageType::INFO message
This got introduced the the addition of the perf counter to the log.

Fixes the error:
unknown log message type 73
2017-04-06 11:48:35 +02:00
Beat Küng c7d9a7a6d1 mavlink_log_handler: fix potential buffer overflow 2017-04-06 11:48:35 +02:00
Beat Küng b0ee1579a9 local_position_estimator: fix typo in params 2017-04-06 11:48:35 +02:00
Beat Küng 04303dcf72 PreflightCheck: use orb_unsubscribe instead of px4_close 2017-04-06 11:48:35 +02:00
Beat Küng ecb0dc2bc4 IridiumSBD: use strncpy instead of strcpy 2017-04-06 11:48:35 +02:00
Beat Küng 9be11c048a batt_smbus: fix string length, use correct delete[] for array 2017-04-06 11:48:35 +02:00
Beat Küng d9dac8a6a8 Tools/px_process_params.py: set executable bit 2017-04-06 11:48:35 +02:00