Commit Graph

7404 Commits

Author SHA1 Message Date
Lorenz Meier 639a589233 Fix RTL abort detection on stick change 2016-05-05 16:55:04 +02:00
Lorenz Meier bbd2b763a3 Fix battery charge level filter 2016-05-05 16:13:58 +02:00
Lorenz Meier 2801a54544 Snapdragon param build fix 2016-05-05 14:15:25 +02:00
Lorenz Meier 192510ee1c FMUv4 compile fix 2016-05-05 14:09:03 +02:00
Daniel Agar 7aa6e85563 enable Wshadow 2016-05-05 13:32:42 +02:00
Lorenz Meier 45a5f2aaa4 MC vel control: Better defaults, better min and max gains 2016-05-04 22:49:36 +02:00
Beat Küng e24bef1f70 fix AttPosEKF::FuseOptFlow: move fuse block into 'if (fuseOptFlowData)' block
if fuseOptFlowData == false, then K_LOS was not initialized, but it was
accessed in the next fuse block to update states variable.
2016-05-03 17:34:42 +02:00
Beat Küng 27d821ac9f fix position_estimator_inav_main: put terrain_estimator on the stack
This fixes a memory leak
2016-05-03 17:34:42 +02:00
tumbili 57f73e59b7 warn immediately if ekf2 instance allocation has failed 2016-05-03 16:09:26 +02:00
tumbili 9f5e9594f5 implement ekf instance and block parameter instance as class members
in order to avoid memory management
2016-05-03 16:09:26 +02:00
Julian Oes a6e1df06d9 Merge pull request #4422 from PX4/fix_snappy_muorbinit
muorb: call `initialize()` before `get_instance()`
2016-05-03 15:51:21 +02:00
Michal Stasiak 9db80b75f4 Auto take-off corner case: Reset work item type when landed 2016-05-03 14:04:33 +02:00
Lorenz Meier b883b30404 Simulator: Drain the battery to 15%, reffill it once disarmed to allow for more testing 2016-05-03 13:45:15 +02:00
Lorenz Meier e1e15add01 Reposition: Do not yaw for small dispsplacements 2016-05-03 13:35:53 +02:00
Lorenz Meier a4ad826958 Loiter: Face travel direction when performing reposition 2016-05-03 13:16:19 +02:00
Lorenz Meier 6de02c460a Battery estimation: Widen thresholds and filter more 2016-05-03 12:35:35 +02:00
Lorenz Meier 4c61f52269 Code style fixes 2016-05-03 11:42:28 +02:00
Lorenz Meier c958bfeaa3 MAVLink app: Report OS and Firmware version 2016-05-03 11:39:54 +02:00
Lorenz Meier ff3e17df0d Systemlib: Add FW and OS versioning 2016-05-03 11:39:39 +02:00
Lorenz Meier c84b2ddeb0 Navigator: Clarify geofence params, remove terminate 2016-05-01 18:28:20 +02:00
Lorenz Meier 9b1e4c42de Multicopter: Clarify speed params 2016-05-01 18:28:01 +02:00
Lorenz Meier be467f606b Sensors: Use C++ init style 2016-05-01 16:25:25 +02:00
Lorenz Meier 088ee74591 Sensor params: Add two param handles that should have been there for a long time 2016-05-01 16:25:14 +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 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
Lorenz Meier a189130b52 Commander: Be less chatty on auto disarm 2016-05-01 14:22:34 +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
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
Lorenz Meier d0dd52c0d6 Better param meta 2016-05-01 11:40:11 +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
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 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