Commit Graph

48 Commits

Author SHA1 Message Date
Lorenz Meier 066be5b9b3 Q estimator: Code style fix 2015-11-08 10:24:55 +01:00
Lorenz Meier e5b8a70680 Attitude estimator Q: Add low pass to yaw axis for control state topic, publish raw attitude and prevent double filtering of attitude 2015-11-08 10:23:37 +01:00
jgoppert c6b84f5226 Attitude estimator hot fix. 2015-11-07 16:40:51 -05:00
Youssef Demitri 556a5dbd1d astyle fix 2015-11-06 13:48:50 +01:00
Youssef Demitri 170f0032fd updated to master (solve merge conflicts) 2015-11-06 12:18:31 +01:00
Kabir Mohammed f6a9647fe6 attitude_estimator_q : add external heading support 2015-11-05 14:31:53 +05:30
Youssef Demitri dd59409e31 updated to master (solved merge conflicts) 2015-10-27 09:26:27 +01:00
Lorenz Meier e5ccf82fa2 Attitude Q estimator: Set decimal places 2015-10-23 19:53:22 +02:00
Lorenz Meier 43834e3faf Att Q estimator: Lowpass output for all three rates with adjusted lowpass frequencies 2015-10-20 08:49:56 +02:00
Lorenz Meier 6342f4e586 Q Estimator: Fix code style 2015-10-19 13:52:12 +02:00
Lorenz Meier c4f9318e75 Q attitude estimator: Prevent division by zero 2015-10-18 15:49:01 +02:00
Youssef Demitri c22c678b7d Merge branch 'master' of github.com:PX4/Firmware into control_state 2015-10-14 11:02:23 +02:00
Youssef Demitri 65837bdc98 publish control state from attitude_estimator_q 2015-10-10 21:05:10 +02:00
Daniel Agar 4151522902 only enforce frame size for nuttx 2015-10-06 23:37:33 -04:00
Lorenz Meier 451e6883bd Att estimator Q: Remove param file 2015-10-06 11:25:03 +02:00
Lorenz Meier fa5071b3c5 Remove module.mk files to prevent confusion of adopters upgrading 2015-10-06 11:23:20 +02:00
Lorenz Meier fefdcd3fa9 Merge master into cmake-2 2015-10-03 15:34:30 +02:00
Lorenz Meier 6973023f5a Attitude estimator Q: Raise vibration warning threshold 2015-10-03 15:24:47 +02:00
Mark Charlebois 3f758490a4 QuRT: move to HexagonTools 7.4 toolchain
Some subsystems error on frame size without the included patches.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-24 15:16:01 -07:00
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