Commit Graph
29 Commits
Author SHA1 Message Date
Lorenz Meier d2459a1c8d Merge branch 'cmake-2' into cmake-2-pthread 2015-09-20 13:19:34 +02:00
Lorenz Meier 4d98bd57b6 Attitude estimator Q: Fix frame size warning 2015-09-20 13:09:03 +02:00
Lorenz Meier c1c235edb2 Merge branch 'cmake-2' into cmake-2-pthread 2015-09-20 10:34:03 +02:00
Lorenz Meier 6ef94e0dfb Merged master into cmake-2 2015-09-20 10:33:39 +02:00
Lorenz Meier b35435904c Q Estimator: Add missing check 2015-09-20 10:23:43 +02:00
James Goppert 1d6b31d196 Switch to cmake build system. 2015-09-07 20:37:45 -04:00
Lorenz Meier d558819a24 Attitude estimator Q: Add sensor priority support 2015-09-07 09:59:49 +02:00
Lorenz Meier d5e152f2cd Attitude estimator Q: Add output filter for rate outputs to bring noise level into manageable range 2015-09-06 20:15:59 +02:00
Lorenz Meier 1f66c26a62 Q estimator: Use delta angles when available 2015-09-05 17:27:43 +02:00
Lorenz Meier 46f7404078 Q estimator: Set mag timeout 2015-08-30 14:23:35 +02:00
Lorenz Meier 0732ec650f Q estimator: Use all available sensor instances 2015-08-30 11:51:26 +02:00
Lorenz Meier fd0950f046 Attitude estimator Q: Update to new sensors combined topic 2015-08-30 11:37:26 +02:00
Lorenz Meier 0b6ea40b7b Attitude estimator Q: Operational failover, warn user about excessive vibration levels 2015-08-19 10:28:01 +02:00
Lorenz Meier 822b818c3c Q estimator: Feed validator with right timestamp 2015-08-19 10:23:50 +02:00
Lorenz Meier c9d0b54a6f Attitude estimator Q: Integrate data validation lib 2015-08-19 10:23:50 +02:00
Lorenz Meier ea2975c2a9 Merged beta into master 2015-08-11 11:03:01 +02:00
Lorenz Meier 7052ddf3db Q Att estimator: Remove excessive stack use 2015-08-10 17:14:36 +02:00
Mark Charlebois 009f528266 Fixes for posix-arm and qurt builds
Ifdefed out deadcode in position_estimator_inav_main.c as the
deadcode does not compile for qurt.

Added fixes to get a successful build for posix-arm and qurt targets.
Removed CLOCK_REALTIME def from px4_time.h for qurt and removed unused
variables in att_est_q and mc_att_control.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-08-05 18:34:46 -07:00
Johan Jansen 99c448b5f0 attitude_estimator_q: Fix NaN protection 2015-07-28 16:07:05 +02:00
Lorenz Meier 92d168a476 Q attitude estimator: Resolve POSIX porting issues: Add protection against bad input and output data 2015-06-21 17:20:31 -07:00
Lorenz Meier cc499fcc29 Enable Q attitude estimator and INAV 2015-06-21 17:20:31 -07:00
Mark Charlebois 1ca05aaa64 orb_advert_t changed to void * and checks changed to nullptr
The existing orb_advert_t use thoughout the code sometimes tries
to treat it as a file descriptor and there are checks for < 0
and ::close calls on orb_advert_t types which is an invalid use
of an object pointer, which is what orb_advert_t really is.

Initially I had changed the -1 initializations to 0 but it was
suggested that this should be nullptr. That was a good recommendation
but the definition of orb_advert_t had to change to void * because
you cannot initialize a uintptr_t as nullptr.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-27 14:42:49 -07:00
Mark Charlebois a734fc96d1 extensive orb_advert_t fixes
The calls to orb_advertise were being mishandled throughout the code.
There were ::close() calls on memory pointers, there were checks
against < 0 when it is a pointer to a object and values larger than
0x7ffffffff are valid. Some places orb_advert_t variables were
being initialized as 0 other places as -1.

The orb_advert_t type was changed to uintptr_t so the pointer value
would not be wrapped as a negative number. This was causing a failure
on ARM.

Tests for < 0 were changed to == 0 since a null pointer is the valid
representation for error, or uninitialized.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-27 14:41:33 -07:00
Mark Charlebois 36f5d47ed9 Merge remote-tracking branch 'upstream/master' into linux
Signed-off-by: Mark Charlebois <charlebm@gmail.com>

Conflicts:
	src/modules/commander/gyro_calibration.cpp
	src/modules/mavlink/mavlink_ftp.cpp
2015-05-16 15:04:38 -07:00
Lorenz Meier 33338ee2d0 Q attitude estimator: Comment undocumented params 2015-05-14 17:12:31 +02:00
Mark Charlebois 35e6822d95 Added missing px4_ prefixes
NuttX build required missing px4_ prefix for systemreset and task_spawn_cmd

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-06 16:25:45 -07:00
Anton Babushkin 4ce7e2acc1 attitude_estimator_q: Max gyro bias limiting, auto declination 2015-04-13 19:32:23 +02:00
Anton Babushkin cc99e6dc1f attitude_estimator_q: Max gyro bias limiting 2015-04-13 16:21:53 +02:00
Anton Babushkin dc2bb2a85e attitude_estimator_q added 2015-04-12 01:47:48 +02:00