Commit Graph
46848 Commits
Author SHA1 Message Date
Lorenz Meier ca3b1478ce Add ADC report
Enable building of ADC topic
2016-05-01 15:48:43 +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
Lorenz Meier a189130b52 Commander: Be less chatty on auto disarm 2016-05-01 14:22:34 +02:00
Lorenz Meier 44316ac316 FMUv1: Build camera trigger 2016-05-01 14:22:16 +02:00
Lorenz Meier 9cfd730819 Topic listener: Depend properly on msg_gen 2016-05-01 13:47:41 +02:00
Lorenz Meier 0c7a4fd66e Make parameter source file generation properly depend on board config 2016-05-01 13:47:41 +02:00
Lorenz Meier d55feb2e0e Disable mTECS, but retain code for now (#4407)
* Disable mTECS, but retain code for now

* astyle fw_pos_control_l1

* fw_pos remove pitch_max_special only used by mtecs

* move FW_T_CLMB_MAX to FW TECS param group

* fw_pos initialize tecs_status_s
2016-05-01 13:47:41 +02:00
Lorenz Meier 5a84a223e6 Param handling: Cull unused params 2016-05-01 13:47:41 +02:00
David Sidrane 1c94e27463 Bugfix:#3167 Nested parameter files under xxxx/yyyy/zzzz/kkkk are considered in the scope of xxxx/yyyy
Conflicts:
	src/lib/ecl
2016-05-01 13:47:41 +02:00
David Sidrane 64d43ad381 Scope parameter included in build by cmake/configs
Conflicts:
	Tools/px_generate_params.py
	src/lib/ecl
2016-05-01 13:47:41 +02:00
Daniel Agar 93d261a558 cmake fix px4_base linker flags 2016-05-01 13:47:41 +02:00
Paul Riseborough 0a6d95c6c2 Merge pull request #116 from PX4/pr-covReset
after a height reset zero the cross covariances for height and vertical
2016-05-01 21:44:38 +10:00
Roman 0c77ebf6bd EKF: Reduce likelihood of bad covariance values after height resets
The cross terms (covariances) are now reset before the variance variance is set.

The vertical velocity state variance following a reset without GPS has been reduced.
2016-05-01 21:39:56 +10:00
Lorenz Meier d0dd52c0d6 Better param meta 2016-05-01 11:40:11 +02:00
thedevleon 9ff6751eb5 hotfix for frsky dport telemetry (#4409) 2016-05-01 00:41:17 +02:00
Lorenz Meier 05885e4e5f Add support to enable FrSky telemetry on TELEM2 2016-04-30 12:00:56 +02:00
Lorenz Meier e7b23a557a Mag cal: Require only three sides, robustify output. 2016-04-30 09:16:12 +02:00
Lorenz Meier f386fb8bae EKF estimator: Disable vibration warnings due to excessive false positives 2016-04-30 09:15:47 +02:00
Lorenz Meier d69109c21c Q estimator: Disable vibration warning due to excessive false positives 2016-04-30 09:15:26 +02:00
Lorenz Meier ae123d9e20 MAVLink app: Do not accept config commands on wireless links when USB is connected 2016-04-30 09:15:06 +02:00
Paul Riseborough 6c57bea1c3 EKF: fix bug in IMU error application timing patch 2016-04-30 15:11:12 +10:00
Paul Riseborough 6ecbefd7e4 EKF: add matlab script to test complementary filter gains 2016-04-30 11:05:03 +10:00
Paul Riseborough 15df20831a EKF: improve output complementary filter tracking
Optimise for height tracking and adjust gains automatically with changes in time delay.
2016-04-30 11:03:45 +10:00
Paul Riseborough 4fa1e9c651 EKF: Fix timing errors in state prediction
IMU corrections were being applied at the wrong time horizon to the EKF states
IMU downsampling rotates the delta velocities into the orientation produced by the last delta angle, but this wasn't consistent with the way the state prediction was using the delta velocity data.
2016-04-30 11:02:19 +10:00
Lorenz Meier 796af52df2 MAVLink app: Offer a little more RAM 2016-04-29 22:05:56 +02:00
Lorenz Meier 2a963dc3b7 Initialize MAVLink system to sane defaults 2016-04-29 22:00:00 +02:00
Lorenz Meier bf0ea86bd9 Fix battery params to better defaults 2016-04-29 20:34:32 +02:00
Lorenz Meier c1bf70eea0 EKF: Bump vibration warning threshold 2016-04-29 17:39:50 +02:00
Lorenz Meier 7fcb53ec74 Q Estimator: Bump vibration warning threshold 2016-04-29 17:39:49 +02:00
Julian Oes ef6892a885 sdlog2 bugfix of vehicle_status conflicting with commander_state (#4402)
* sdlog2: move from STAT.MainState to COMM.MainState

This fixes a bug where vehicle_system_status and the commander internal
state were conflicting.

This will need adaptations in logging tools.

* sdlog2: don't bother changing STAT.MainState

For compatibility reasons, let's stick to the used log field (but still
fix the bug where the buffer (union) was overwrittern.
2016-04-29 17:16:45 +02:00
Julian Oes eb1ab4011a sensors: the ifdef logic was inverted (#4401) 2016-04-29 16:21:52 +02:00
Julian Oes 49ae3e17d5 land_detector: fix wrong astyle formatting (#4399) 2016-04-29 15:36:18 +02:00
Lorenz Meier 1b11049e42 Land detector: fix code style 2016-04-29 15:01:39 +02:00
Lorenz Meier a741257293 Enable new ESP8266 TELEM2 output mode 2016-04-29 14:59:11 +02:00
Lorenz Meier 18b72241ce System params: Update choices for ESP8266 2016-04-29 14:58:41 +02:00
Lorenz Meier 8b9b02bee8 Land detector: Update params 2016-04-29 14:58:27 +02:00
Lorenz Meier 5c1d2c1cee Land-detector: Better granularity for manual and auto flight modes 2016-04-29 14:50:45 +02:00
Julian Oes 234068989b sensors: treat RPi like QURT 2016-04-29 13:50:18 +02:00
Lorenz Meier 3ccd9988d3 Multicopter land detector: Enforce sync between system and detector 2016-04-29 12:34:58 +02:00
Lorenz Meier 109f88564d Commander: Init land detector 2016-04-29 12:34:28 +02:00
Lorenz Meier 567364317a Fix formatting in battery 2016-04-29 11:16:41 +02:00
Lorenz Meier 4a94835880 Fix formatting in sensors 2016-04-29 11:16:27 +02:00
Beat Küng 825d754036 orb nuttx: add irqsave() guard around 64bit timestamp readout 2016-04-29 11:15:16 +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 4269db73a0 refactor semaphore: move into separate file 2016-04-29 11:15:15 +02:00
Beat Küng 843e54f554 orb DeviceMaster posix: make destructor virtual 2016-04-29 11:15:15 +02:00
Beat Küng c6da90ac63 orb nuttx: fix threadding issue in uORB::DeviceNode::write
same issue as in posix code: 64bit values are not atomic in general.
2016-04-29 11:15:15 +02:00
Beat Küng 44012be8b6 orb posix: fix multi-threading issues
in detail:
- in the write method: the following are not necessarily atomic operations:
 	_last_update = hrt_absolute_time();
 	_generation++;
- appears_updated() was called with a lock held in some cases, but not
  in ioctl
- use the SmartLock class, so that unlock() is not needed before every
  return call. Makes it less error prone
2016-04-29 11:15:15 +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