Commit Graph

13526 Commits

Author SHA1 Message Date
Lorenz Meier 8a2a0019a4 Merge pull request #896 from PX4/modules_cleanup
Unused deprecated modules removed
2014-05-07 04:18:15 -07:00
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 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 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 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
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
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
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
Lorenz Meier 6351fd1e2c Added debug printfs 2014-05-05 13:48:05 +02:00
Lorenz Meier 2e1dae2a7f Merge branch 'master' into mavlink-ftp 2014-05-05 07:14:32 +02:00
Anton Babushkin e04b8d221b att_pos_estimator_ekf restored 2014-05-04 21:39:15 +02:00
px4dev ef7c57f1ce Implement directory listing 2014-05-04 12:25:25 -07:00
px4dev 12390d7281 WIP: Mavlink file server 2014-05-04 11:19:26 -07:00
Anton Babushkin f2094b9a1f Unused deprecated modules removed: att_pos_estimator_ekf, fixedwing_att_control, fixedwing_pos_control, position_estimator, position_estimator_mc, sdlog 2014-05-04 16:05:15 +02:00
Thomas Gubler 5f786af8fa mavlink: status is a pointer 2014-05-04 15:02:37 +02:00
Thomas Gubler 0e31b5935e remove trailing whitespace 2014-05-04 15:02:30 +02:00
Lorenz Meier ee580206b4 mavlink: Only sending HIL control commands if the system is actually armed 2014-05-04 14:06:38 +02:00
Thomas Gubler f20a9c4873 Merge remote-tracking branch 'upstream/master' into mtecs 2014-05-03 23:19:12 +02:00
Anton Babushkin 4bf8327118 Merge branch 'master' into smooth_pos_hold 2014-05-03 20:05:09 +02:00
Anton Babushkin 75796e95b4 mc_att_control: MC_YAWRATE_MAX parameter added 2014-05-03 19:19:57 +02:00
Lorenz Meier 5199dea2b3 Merge pull request #876 from PX4/autodeclination
Added automatic declination lookup
2014-05-03 03:41:30 -07:00
Anton Babushkin f6d61dfb4c mavlink: swap x and y when handling MANUAL_CONTROL mavlink message 2014-05-01 23:45:21 +02:00
Anton Babushkin 7232c0354b mc_pos_control: use MPC_XXX_FF to adjust setpoint on reset 2014-05-01 23:01:30 +02:00
Anton Babushkin f4c36f8c5c mc_pos_control: use current velocity to calculate position setpoint on reset to make transition to stabilized modes more smooth 2014-05-01 20:57:36 +02:00
Thomas Gubler dd8bfc2a0b mtecs: landing mode which limits pitch and as well throttle at the end of the landing 2014-05-01 13:53:47 +02:00
Thomas Gubler 76e47c3135 Merge remote-tracking branch 'upstream/master' into mtecs 2014-05-01 11:43:35 +02:00
Lorenz Meier 6cb96d074d EKF: Introduce proper check flags for sensor init states 2014-04-30 17:01:32 +02:00
Lorenz Meier 7a4049b12a Fix use of declination in estimator, remove bogus measurement value reset on reinit 2014-04-30 16:55:08 +02:00
Lorenz Meier 918c87912d Merge branch 'master' of github.com:PX4/Firmware into ekf_params 2014-04-30 15:43:08 +02:00
Lorenz Meier 2829d65871 Merge pull request #881 from PX4/led_fix
commander: Stop mixing board support and high level code - just accept t...
2014-04-30 06:34:34 -07:00
Lorenz Meier 1dfa2f100e commander: Stop mixing board support and high level code - just accept that non-mandatory leds may or may not be there 2014-04-30 15:33:47 +02:00
Lorenz Meier be1f39e385 ekf Print declination on init 2014-04-30 08:52:37 +02:00
Lorenz Meier e2af77123f ekf: Cleanup init 2014-04-30 08:25:36 +02:00
Lorenz Meier 81525f6d8a Merge branch 'master' of github.com:PX4/Firmware into ekf_params 2014-04-30 08:08:14 +02:00
TickTock- 6c76e8ea50 shortened rc_assisted_th to rc_assist_th in case we add a dedicated switch mapping later 2014-04-29 20:51:04 -07:00