Commit Graph

554 Commits

Author SHA1 Message Date
Lorenz Meier ac3bc34d15 S.BUS decoder: Do not report initial sync as dropped frame 2015-12-07 11:41:01 +01:00
Lorenz Meier 990e8acaea S.BUS parser rewrite to address FrSky timing and S.BUS2 commands 2015-12-07 11:41:01 +01:00
Lorenz Meier 7b73e8f9ee S.BUS parsing improvements 2015-12-07 11:41:01 +01:00
Lorenz Meier 66bc96f4b3 S.BUS: Adjust timeout interval 2015-12-07 11:41:01 +01:00
Lorenz Meier ec3282a925 S.BUS parser: Empty complete buffer 2015-12-07 11:41:00 +01:00
Lorenz Meier e41fa79b81 S.BUS: Expose frame drop variable 2015-12-07 11:41:00 +01:00
Lorenz Meier 55cd24a4fa Runway lib: Do not attempt to build params file 2015-12-06 11:38:24 +01:00
Lorenz Meier 3c349236e1 Fix S.BUS compile error 2015-12-04 21:19:31 +01:00
Roman Bapst 4e824e55d7 Merge pull request #3323 from PX4/att_est_q_declination
Attitude estimator Q: fix magnetic declination inducing gyro bias growth
2015-12-04 16:46:36 +01:00
Anthony Kenga a5a3357928 Attitude estimator Q: fix magnetic declination inducing gyro bias growth 2015-12-04 16:11:57 +01:00
Peter Duerr 6b78b72ab2 Fix code style according to astyle 2015-12-04 14:53:59 +09:00
Peter Duerr c070d326e0 Avoid violation of acos' domain in map_projection
* There are pathological cases (e.g., setpoint very close to reference
  for certain reference latitudes), where numerical errors lead to a sum
  larger than 1.0 passed to acos, resulting in NaN values.

This should fix issue #2813
2015-12-04 14:14:31 +09:00
Andreas Antener 08a1797eec changed isnan checks and cmake compiler condition for apple machines 2015-12-03 15:39:41 +01:00
Lorenz Meier f0a4979da6 Merged master into driver_framework 2015-12-01 12:34:02 +01:00
Lorenz Meier 151402748e S.BUS input: Be less sensitive on timing 2015-11-29 14:55:03 +01:00
Lorenz Meier 5500ad16d8 Fix RC 2015-11-28 09:13:15 +01:00
Lorenz Meier 38724d9e12 Sumd: Fix code style 2015-11-28 09:13:15 +01:00
Lorenz Meier f101ad6e85 S.BUS header: Fix code style 2015-11-28 09:13:15 +01:00
Lorenz Meier 81d9d8b259 S.BUS: Fix code style 2015-11-28 09:13:15 +01:00
Lorenz Meier 09ef7fa9ca DSM: Fix code style 2015-11-28 09:13:15 +01:00
Lorenz Meier d2b154cd07 Build S.BUS and DSM decoders in RC lib 2015-11-28 09:13:15 +01:00
Lorenz Meier ba4fdf197e Move S.BUS and DSM decoders into RC lib 2015-11-28 09:13:15 +01:00
David Sidrane a67097731a Renamed pax4fmu-v3 to pax4fmu-v4 2015-11-28 09:13:15 +01:00
David Sidrane f3b7585a89 Wip FMUV3 2015-11-28 09:13:15 +01:00
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
Lorenz Meier d4c8be3933 Update driver framework with fixed DF list deletion 2015-11-24 09:29:00 +01:00
Lorenz Meier da47e8ade8 Validator: Reset error state if no error condition triggers 2015-11-24 00:11:49 +01:00
Lorenz Meier 352b1692d1 Geo lib: Do not hardcode assumptions about process name. 2015-11-22 14:00:31 +01:00
Lorenz Meier b4e64f4914 Update version of Matrix library 2015-11-22 12:26:07 +01:00
Lorenz Meier b157bee75c Update Driver framework version 2015-11-22 12:19:10 +01:00
Lorenz Meier 240b13e003 DriverFramework: Update 2015-11-21 17:43:24 +01:00
Lorenz Meier 2b8cb692ca Update DriverFramework to fix locking and missing field initializers 2015-11-21 14:25:04 +01:00
Lorenz Meier 75e962ee7c Merged master into driver_framework 2015-11-20 09:14:37 +01:00
Lorenz Meier c9c5f59bce Update driver framework to include Mac build fixes 2015-11-20 09:05:38 +01:00
Mark Charlebois ec250ea9d4 Updated to latest DriverFramework
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-19 20:40:45 -08:00
Mark Charlebois 59b1e6b559 Added qurt stub for pthread_cont_init
Updated to latest DriverFramework

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-19 20:15:14 -08:00
Mark Charlebois 34410e7ce4 Changes for updated DriverFramework
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-19 19:03:10 -08:00
Mark Charlebois c4438bf50a Fix to move DriverFramework includes to common
Nuttx now gets to link phase. But there are two unresolved symbols:

arm-none-eabi/include/c++/4.7.4/bits/basic_string.h:1128: undefined reference to `std::string::assign(char const*, unsigned int)'
arm-none-eabi/include/c++/4.7.4/bits/stl_list.h:1534: undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)'

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-19 09:35:18 -08:00
Mark Charlebois 52957ab0cc Don't add DriverFramework dir for NuttX
I am unable to get the nuttx build dependencies set up so that
it builds the export dir before it builds df_driver_framework.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-18 20:14:48 -08:00
Mark Charlebois af155b8e59 Fixed SITL build
The SITL build seems to run correctly now

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-18 13:02:39 -08:00
Mark Charlebois b8c40ecb6b Enabled DriverFramework drivers for SITL build
The code here works only for SITL at the present time.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-18 11:58:21 -08:00
Mark Charlebois 238db8c6d7 Moved IOCTL definitions to DevIOCTL.h in DriverFramework
Removed sched.h from platform/qurt since it is now in DSPAL.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-17 19:30:51 -08:00
tumbili 154fa07a46 fixes after review 2015-11-17 22:28:09 +01:00
Roman c989c21269 fixed geo functions 2015-11-17 22:28:09 +01:00
Roman e48cf53ce8 fix code style 2015-11-17 22:28:09 +01:00
Roman 2719789b2e use matrix lib to enable building for posix 2015-11-17 22:28:09 +01:00
Roman 4abff89be0 updated terrain estimator and runway takeoff libs to cmake build system 2015-11-17 22:28:09 +01:00
Andreas Antener 5b1c7321e7 reverted navigation on landing back to old heading hold 2015-11-17 22:28:09 +01:00
Roman 896dff40cf added geo functions to create new waypoints from given setting 2015-11-17 22:28:09 +01:00
Andreas Antener 4e22d65325 don't use virtual line anymore for takeoff but use correct starting point to navigate, updated default parameters for wheel controller 2015-11-17 22:28:09 +01:00