Commit Graph

48668 Commits

Author SHA1 Message Date
Pavel Kirienko be728d189e Catching up with libuavcan - some preprocessor symbols are no longer required to be defined explicitly 2014-05-07 14:24:40 +04:00
Pavel Kirienko cbf5450164 Automatic defaults for MemPoolBlockSize 2014-05-07 14:13:49 +04:00
Pavel Kirienko 72c89a1e0f Autodetect for UAVCAN_TOSTRING default value 2014-05-07 14:04:31 +04:00
Pavel Kirienko 04df4270f0 Removed the placement new workaround. It seems like we can pull <new> from the toolchain's standard includes with no harm. 2014-05-07 13:56:05 +04:00
Pavel Kirienko 4b11145797 Working UAVCAN node. No application logic is implemented yet; the node just publishes its status once a second (uavcan.protocol.NodeStatus) and responds to basic services (transport stats, node discovery) 2014-05-07 13:42:34 +04:00
Lorenz Meier 8dd0453edc Merge pull request #909 from PX4/failsafe_reporting
Much better failsafe reporting on failsafe state changes
2014-05-07 02:10:53 -07:00
Lorenz Meier 467a19f827 Merge branch 'master' into mtecs 2014-05-07 10:47:43 +02:00
Lorenz Meier 3f57aea8e0 Merge pull request #907 from PX4/failsafe_fix
commander: Fix the position failsafe to a) use proper logic to determine...
2014-05-07 01:45:33 -07:00
Lorenz Meier cd95fce612 Merge branch 'master' of github.com:PX4/Firmware into mtecs 2014-05-07 10:21:21 +02:00
Lorenz Meier 0c318f9ad7 commander: Fix the position failsafe to a) use proper logic to determine if eph / epv are good or not (the previous logic was in some states not initialized) and b) add a hysteresis time - because the check as it was before had zero hysteresis time for a bad eph / epv value 2014-05-07 08:42:57 +02:00
Lorenz Meier 319ce3de10 Minor cleanups in EKF estimator 2014-05-07 08:40:23 +02:00
Lorenz Meier 32b84b9652 Much better failsafe reporting on failsafe state changes 2014-05-06 21:46:59 +02:00
Pavel Kirienko fe16649de3 STM32 CAN driver fix 2014-05-06 22:36:34 +04:00
Pavel Kirienko 5716dad25d Added workaround for hardware issue on Pixhawk v1 2014-05-06 20:14:07 +04:00
Pavel Kirienko 7d7a375dd1 Fixed hardcoded include path 2014-05-06 19:42:40 +04:00
Pavel Kirienko 7813566e66 Initial UAVCAN integration. The library compiles successfully, CAN driver appears to be working properly. There is one hardcoded path in the module makefile that needs to be fixed; plus the compilation will likely fail unless arch/math.h contains log2l() 2014-05-06 19:30:45 +04:00
Thomas Gubler a6a2efb651 mavlink receiver: switch back to use local and not systemwide map projection 2014-05-06 16:59:09 +02:00
Pavel Kirienko 6e8cad20c6 STM32 NuttX support. Doesn't work though, hardfaults in IRQ handler. 2014-05-06 18:27:04 +04:00
Lorenz Meier 6c1a035d6b Merge pull request #906 from PX4/inair_restart_fix
Fix in-air restarts, protect against an external MAVLink sender exploiti...
2014-05-06 07:26:44 -07:00
Lorenz Meier 1d6b9fae03 Fix in-air restarts, protect against an external MAVLink sender exploiting the restart mechanism 2014-05-06 14:57:06 +02:00
Thomas Gubler 32ba39c696 Merge remote-tracking branch 'upstream/master' into geo 2014-05-06 14:57:01 +02:00
Thomas Gubler 548c7f4aaf geo: introduce global/local coordinate frame converter which uses the map projection but also converts altitude 2014-05-06 14:56:47 +02:00
Thomas Gubler fc204a1890 geo: map projection: fix stupid typo and use constants for deg to rad conversion 2014-05-06 13:14:15 +02:00
Thomas Gubler 13ad95169f Merge pull request #905 from PX4/distance_fix
mavlink: Only send the distance sensor message if the topic actually upd...
2014-05-06 13:10:30 +02:00
Lorenz Meier df6a0d5a1a mavlink: Only send the distance sensor message if the topic actually updates 2014-05-06 12:55:39 +02:00
Thomas Gubler 596b06ff2e commander: init gps eph and epv to large values, safer map projection initialization 2014-05-06 11:24:43 +02:00
Thomas Gubler f24a6187b6 geo: map projection: fix variable name to highlight the unit 2014-05-06 11:24:33 +02:00
Pavel Kirienko 87402b9701 Sign compare fix 2014-05-06 02:28:42 +04:00
Pavel Kirienko 0a9169fe87 Forgotten <cstddef> in templates.hpp 2014-05-05 22:06:37 +04:00
Pavel Kirienko b2e942c7f9 Shadowed variable fix 2014-05-05 21:59:37 +04:00
Pavel Kirienko 4361703f07 .gitignore update 2014-05-05 21:55:52 +04:00
Pavel Kirienko c3cae8d8ad Workaround for broken C++ stdlibs (NuttX) 2014-05-05 21:25:36 +04:00
Pavel Kirienko ca96854332 Fixed include: <cstdio> for snprintf() in time.hpp 2014-05-05 21:22:22 +04:00
Pavel Kirienko 2b14328787 Style fix, UAVCAN_CPP_VERSION made optional 2014-05-05 20:14:57 +04:00
Pavel Kirienko 581ee43231 UAVCAN_IMPLEMENT_PLACEMENT_NEW 2014-05-05 19:28:28 +04:00
Lorenz Meier 5bc7295145 Merge pull request #902 from PX4/ignoreorigfiles
ignore .orig files
2014-05-05 08:19:59 -07:00
Thomas Gubler 58ae1edc84 ignore .orig files 2014-05-05 17:10:33 +02:00
Lorenz Meier d1909ca94b Merge pull request #878 from PX4/sbus_out
S.BUS output
2014-05-05 08:04:28 -07:00
Thomas Gubler 7ab428976e fix wrong variable name 2014-05-05 16:49:21 +02:00
Thomas Gubler 6e0690fde1 init global map projection when gps is valid 2014-05-05 16:44:02 +02:00
Thomas Gubler 67e3c808d2 remove home position valid flag 2014-05-05 15:40:02 +02:00
Thomas Gubler 60ccbaa8bb init global map reference in commander and not in navigator 2014-05-05 15:37:53 +02:00
Thomas Gubler 474a76b553 Merge remote-tracking branch 'upstream/master' into geo 2014-05-05 14:42:46 +02:00
Pavel Kirienko 8c8732d051 Collateral fixes 2014-05-05 16:15:22 +04:00
Pavel Kirienko 17ac1f7f6b NumericTraits<> specialized for basic types instead of std integer typedefs 2014-05-05 16:07:11 +04:00
Pavel Kirienko 08cea4aacd <limits> from STL is not required 2014-05-05 15:51:49 +04:00
Lorenz Meier 6351fd1e2c Added debug printfs 2014-05-05 13:48:05 +02:00
Pavel Kirienko 1a9e1d8202 Fixed tests 2014-05-05 14:23:14 +04:00
Pavel Kirienko ad3c0af324 Some headers moved to util/ (map, bitset, linked_list); compile_time.hpp renamed to templates.hpp 2014-05-05 14:17:04 +04:00
Lorenz Meier 2e1dae2a7f Merge branch 'master' into mavlink-ftp 2014-05-05 07:14:32 +02:00