Commit Graph

10614 Commits

Author SHA1 Message Date
Julian Oes 36d580bdc8 DF wrappers: use abs time instead of DF timestamp
The timestamp in the DriverFramework is not the same as the one
provided by hrt_absolute_time() in PX4. Because we are publishing on the
PX4 side, let's also use the timestamp from there.
2016-04-08 15:51:16 +02:00
Julian Oes 8422280f18 muorb: typo and added comment for magic number 2016-04-08 15:51:16 +02:00
Julian Oes 2bce8f2803 muorb: abs time on aDSP in sync with Linux side
This adds a call on startup of the muorb on the aDSP side to use an
offset for hrt_absolute_call(). This means that the hrt_absolute_call()
on the appsproc (Linux) side should now match the one on the aDSP
(QURT) side.
The accuracy still needs to be determined.
2016-04-08 15:51:16 +02:00
Julian Oes ae2c28677d mavlink: adapt network detection for Mac, use heap
It seems that Mac does not support the ioctl to check how big the ifconf
buffer needs to be. Therefore we just have to make a guess.
Alos, instead of allocating the variable size array on the stack, it's
probably safer to use the heap.
2016-04-08 09:41:10 +02:00
Julian Oes 20cd5f3e76 mavlink: make broadcast detection Mac compatible
This adresses that the ifconf interface is a bit different on Mac.
2016-04-07 15:21:24 +02:00
Julian Oes 66567baf89 mavlink: only try broadcast if valid address found 2016-04-07 13:20:48 +02:00
Lorenz Meier 9fdbaa5a22 Mag cal 2016-04-06 14:30:51 -07:00
Lorenz Meier 6d24e33819 Commander: Space out mag feedback further 2016-04-06 14:23:49 -07:00
Julian Oes 9c8f67dfb8 platforms: fix build for QURT 2016-04-06 11:18:24 +02:00
Nicolas de Palezieux 00352565ee added I2C driver for TeraRanger One 2016-04-06 10:35:38 +02:00
Lorenz Meier 43e0186eb3 Commander: Space out MAVLink log messages more 2016-04-05 21:33:40 -07:00
Mark Whitehorn 817c0eafbc add low battery warning and comment out the "resolved" messages 2016-04-05 19:13:49 -07:00
Mark Whitehorn b4520f538e report sensor init failure 2016-04-05 19:13:49 -07:00
Lorenz Meier f5c3b349a8 MAVLink sim: Fix code style 2016-04-05 19:09:30 -07:00
Lorenz Meier 9c9ca9211f HRT fix for negative time instrumentation 2016-04-05 19:09:30 -07:00
Lorenz Meier 5828c7fa4f system_time: Use more strict time 2016-04-05 19:09:30 -07:00
Lorenz Meier 805439c0f2 Simulator fixes 2016-04-05 19:09:30 -07:00
Lorenz Meier b2029f7a35 POSIX: Fix code style of main app 2016-04-05 19:09:30 -07:00
Lorenz Meier 205650efd7 Simulator: Fix code style 2016-04-05 19:09:30 -07:00
Lorenz Meier 437041f302 POSIX API extensions 2016-04-05 19:09:30 -07:00
Lorenz Meier 6ed99a2325 Remove debug output 2016-04-05 19:09:30 -07:00
Lorenz Meier 0baa625681 Adjustements and improvements in the simulation interface 2016-04-05 19:09:30 -07:00
Lorenz Meier 3cfb6ba4a7 Do not send unneeded NSH command any more 2016-04-05 19:09:29 -07:00
Lorenz Meier 3232912c77 Update ECL version 2016-04-05 19:09:04 -07:00
Paul Riseborough e66a3bd99f ekf2: incorporate fixes to covariance prediction and initialisation
Update ecl library reference.
Update default parameters
2016-04-05 19:08:39 -07:00
Paul Riseborough 222566de6e ekf2: Fix error in parameter documentation 2016-04-05 19:08:39 -07:00
CarlOlsson 16dea15d54 AStyle 2016-04-05 16:23:26 -07:00
CarlOlsson 7c88d599ee publish wind_estimate topic 2016-04-05 16:23:25 -07:00
Julian Oes 8707cfe9f2 commander: use macro with wait in all calibrations 2016-04-05 15:36:03 -07:00
Julian Oes f583f51027 commander: add macros for log messages and wait
As a current workaround we need to wait some time after publishing a
mavlink log message in order for it to arrive in QGC.
2016-04-05 15:36:02 -07:00
Felix Hu afdf8bbaaa Fix the build of mindpx-v2 default 2016-04-05 15:32:40 -07:00
Lorenz Meier 321440281b Fix land detection for altitude hold 2016-04-05 15:32:13 -07:00
Roman 65d491cafc ekf2: update airspeed fusion (not yet active) 2016-04-05 21:37:36 +02:00
Roman 42a5be5afe replay cleanup 2016-04-05 21:24:11 +02:00
Roman 1ce99e3b96 ekf2 replay: some cosmetics 2016-04-05 21:24:11 +02:00
Roman bd4a0e30de ekf2 replay: allow user to change parameters 2016-04-05 21:24:11 +02:00
Julian Oes 7352dc6f2e commander: workaround to wait 1s before param save
Without this wait, we end up saving the old parameters on Snapdragon.
2016-04-05 13:02:53 +02:00
Julian Oes 60d66dc23f param_shmem: before saving update the param 2016-04-05 13:02:53 +02:00
Julian Oes 57c134a23d DriverFramework: updated submodule
This fixes the clock used for pthread_cond_timedwait properly.
2016-04-05 09:30:33 +02:00
Julian Oes e5c64c7629 DriverFramework: update submodule
This fixes a bug that the mainapp on Snapdragon uses 100% CPU.
2016-04-04 16:01:44 +02:00
Julian Oes 2b95b3dff1 sdlog2: fixed wrong memset 2016-04-04 13:02:36 +02:00
tumbili 94aaf0d298 increase sleep time in accel calibration routine to make accel calibration work on snapdragon 2016-04-04 11:17:26 +02:00
Mark Whitehorn 2f057939ad fix bug in handling of missing default current scaling parameter 2016-04-02 21:40:34 +01:00
Lorenz Meier 0d94800b50 VTOL: Add missing fields to log. Fixes #4080 2016-04-02 21:39:03 +01:00
sander cbe7bd2198 Set virtual waypoint for VTOL_TAKEOFF item 2016-04-02 21:29:27 +01:00
sander 4fc24dce60 Set correct setpoint type for vtol transitions 2016-04-02 21:29:27 +01:00
sander dcacefb0d3 Ignore position for VTOL_TAKEOFF 2016-04-02 21:29:26 +01:00
sander a9511478f2 Don't allow yaw updates during transition 2016-04-02 21:29:26 +01:00
sander f9037b9ca7 Force vtol by default and correct param name 2016-04-02 21:29:26 +01:00
sander 4171e89137 Code style and commenting 2016-04-02 21:29:26 +01:00