Commit Graph

28679 Commits

Author SHA1 Message Date
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
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
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
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 55cae08cf3 Merge pull request #868 from ufoncz/versioncmd
Versioncmd
2014-05-03 03:42:00 -07:00
Lorenz Meier 5199dea2b3 Merge pull request #876 from PX4/autodeclination
Added automatic declination lookup
2014-05-03 03:41:30 -07:00
Kynos 2de01964e2 Reset MS5611 baro sensor after an error
Reset MS5611 baro sensor after an error in order to avoid endless error
loops
2014-05-02 22:00:34 +02:00
Anton Babushkin f6d61dfb4c mavlink: swap x and y when handling MANUAL_CONTROL mavlink message 2014-05-01 23:45:21 +02:00
ufoncz 85ac2796a0 simplified code, which is now less robust but smaller and easier to read (comment Babushkin)
formated source code with fix_code_style.sh (comment Babushkin)
fixed Copyright (comment Babushkin)
2014-05-01 23:36:35 +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
Lorenz Meier c0d8672bf7 Merge branch 'master' into pwm_step 2014-05-01 16:32:27 +02:00
Lorenz Meier 179480ca2d Merge branch 'cmsis_fix' of github.com:PX4/Firmware 2014-05-01 16:31:48 +02:00
Lorenz Meier a8743184c3 Add command to do PWM step inputs 2014-05-01 16:02:00 +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
Julian Oes a1e4435e16 esc_calib: corrected name of mc controller 2014-04-30 17:50:18 +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