Commit Graph
9209 Commits
Author SHA1 Message Date
Mark Charlebois f3126e9d3a Fixes for DriverFramework, accelsim and gyrosim
DriverFramework was updated to properly delete nodes in managed lists.

Baro was fixed to use DriverFramework.

Accelsim was fixed with change to DriverFramework to return < 0 when start()
is called and the driver was already started, or stop() is called but the
driver was not running.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-24 22:46:20 -08:00
Daniel Agar 56a6809486 HIL calculate TAS from IAS 2015-11-24 18:05:42 -05:00
Nate Weibley 483cb11157 Fix comparison error in RC+GPS triggered FTS failsafe check
This bug would cause loss of RC + loss of GPS to trigger a FTS when flying in non-manual modes with a good data link
2015-11-24 23:14:25 +01:00
tumbili 78ace92530 reset position hold flag 2015-11-24 16:57:19 +01:00
Lorenz Meier 17caae00aa Attitude estimator Q: Add performance counters for delay 2015-11-24 14:24:18 +01:00
Lorenz Meier bd4497f883 Simulator: Add performance counters for delay 2015-11-24 14:23:59 +01:00
Andreas Antener 6bec773423 changed isfinite to PX4_ISFINITE 2015-11-24 13:37:06 +01:00
Andreas Antener 67dd28e2c4 update distance sensor separate from flow 2015-11-24 11:56:57 +01:00
Andreas Antener a87ffe9bf3 added terrain estimator to inav 2015-11-24 11:56:57 +01:00
Andreas Antener b7dfa3a9d0 made inav compile with c++ 2015-11-24 11:56:57 +01:00
David Sidrane 99921db5cf Temporary (or not) fix calibration failure due
Due to the uOrb publishing rate difference beteen the mpu9250 driver and
the mpu6000 driver on the ICM-20608-G. The latter driver has an integrator output
the limit the publishing rate
2015-11-24 11:37:39 +01:00
Lorenz Meier d4c8be3933 Update driver framework with fixed DF list deletion 2015-11-24 09:29:00 +01:00
Mark Charlebois 36208255bd Address Sanitizer found delete vs delete[] issue
mavlink_main.cpp used new char[n] and delete vs delete[].

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-23 23:23:02 -08:00
Mark Charlebois 1aeca4f64d Fixed code format and removed unused std::list
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-23 23:09:10 -08:00
Mark Charlebois 0a8075ee33 Fixed accelsim
Accelsim runs the accel and mag separately now.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-23 21:30:33 -08:00
Lorenz Meier da47e8ade8 Validator: Reset error state if no error condition triggers 2015-11-24 00:11:49 +01:00
Lorenz Meier a7cb170cc4 PX4 semaphores: Formatting fix 2015-11-23 22:05:17 +01:00
Lorenz Meier 86a66fe771 POSIX Formatting change 2015-11-23 21:50:51 +01:00
DroneBuster 4ee04e3530 multirotor mixer: add H configuration 2015-11-23 22:00:28 +02:00
Lorenz Meier f42b338f16 VDev: Switch to a timed wait semaphore 2015-11-23 19:51:45 +01:00
Lorenz Meier 1b91f78430 Add timed wait semaphore 2015-11-23 19:51:15 +01:00
Lorenz Meier e2894c4a46 Added timed wait semaphore 2015-11-23 19:50:44 +01:00
Lorenz Meier 6d842bd432 Merge pull request #3184 from PX4/takeoff_detect
Takeoff detect
2015-11-23 10:51:19 +01:00
Lorenz Meier 57b9ac05de Navigator: taking off now on takeoff command, but not yet holding altitude once completed. 2015-11-23 00:23:13 +01:00
Lorenz Meier 34f4c57456 commander: Handle takeoff state 2015-11-22 16:03:58 +01:00
Lorenz Meier 4950762d4e Navigator: Fix compile error 2015-11-22 15:55:49 +01:00
Lorenz Meier 2730d8ab20 Fix HRT init compile error 2015-11-22 15:50:14 +01:00
Lorenz Meier f6a6c41af5 POSIX: More Travis compile fixes 2015-11-22 15:30:36 +01:00
Lorenz Meier 17882cee78 Fix Travis build error 2015-11-22 15:17:07 +01:00
Lorenz Meier 65cca56c29 Code style fix 2015-11-22 14:07:27 +01:00
Lorenz Meier 9c13e4c4be Fix race in task create 2015-11-22 14:01:52 +01:00
Lorenz Meier 734ec9094e Posix tasks: Initialization and locking 2015-11-22 14:01:52 +01:00
Lorenz Meier e3b13e1324 HRT: initialize queue 2015-11-22 14:01:52 +01:00
Lorenz Meier c81e9714c7 INAV: Robustify polling 2015-11-22 14:01:52 +01:00
Lorenz Meier 4fa0123652 Navigator: Only indicate timeout if we really time out 2015-11-22 14:01:52 +01:00
Lorenz Meier 4c60f4d98a Q estimator: Ensure init 2015-11-22 14:01:52 +01:00
Lorenz Meier c003305472 HRT thread: Fix style 2015-11-22 14:01:52 +01:00
Lorenz Meier cda3c28661 HRT driver: Initialize work struct 2015-11-22 14:01:52 +01:00
Lorenz Meier 274eb39208 Tone alarm: Reset work when resetting notes 2015-11-22 14:01:52 +01:00
Lorenz Meier e12766826c VDev posix: Initialize HRT work 2015-11-22 14:01:52 +01:00
Lorenz Meier 0a883fd11d HRT thread: Do not make implicit assumptions about struct members 2015-11-22 14:01:52 +01:00
Lorenz Meier 3af906b9a8 Ensure g_hrt_work is zero-initialized 2015-11-22 14:01:52 +01:00
Lorenz Meier a3e15e161c Gyro sim: do not spam output 2015-11-22 14:01:52 +01:00
Lorenz Meier 5432d7a246 sensors: Param file cleanup 2015-11-22 14:01:52 +01:00
Lorenz Meier 86eb011f7d MAVLink log: protect against empty field 2015-11-22 14:00:31 +01:00
Lorenz Meier 1bfde3823c Commander: More efficient printing 2015-11-22 14:00:31 +01:00
Lorenz Meier 40ef8c063c PWM Sim: Less verbose 2015-11-22 14:00:31 +01:00
Lorenz Meier 352b1692d1 Geo lib: Do not hardcode assumptions about process name. 2015-11-22 14:00:31 +01:00
Lorenz Meier aafb11ae92 VDev: Less verbose in header 2015-11-22 14:00:31 +01:00
Lorenz Meier bffce0c9eb VDEV: Less verbose 2015-11-22 14:00:31 +01:00