Commit Graph

2888 Commits

Author SHA1 Message Date
Lorenz Meier d62f3b8aa7 Added mixing code, not complete, not compiliing 2014-05-08 09:14:23 +02:00
Lorenz Meier ab5e76e3d9 Fixed printing of bit rate 2014-05-07 15:03:08 +02:00
Lorenz Meier 973b193261 Fixed comments and code style of UAVCAN node 2014-05-07 14:29:30 +02:00
Lorenz Meier de5bdbb863 Merged master into uavcan 2014-05-07 14:28:23 +02:00
Lorenz Meier 2569338919 Merge pull request #891 from Kynos/master
Reset MS5611 baro sensor after an error
2014-05-07 04:18:50 -07:00
Lorenz Meier 8a2a0019a4 Merge pull request #896 from PX4/modules_cleanup
Unused deprecated modules removed
2014-05-07 04:18:15 -07:00
Lorenz Meier ab2a85a153 Merge pull request #782 from PX4/fmu_mixer
px4fmu: support all actuator control groups
2014-05-07 04:17:27 -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 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
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
Lorenz Meier df6a0d5a1a mavlink: Only send the distance sensor message if the topic actually updates 2014-05-06 12:55:39 +02:00
Lorenz Meier d1909ca94b Merge pull request #878 from PX4/sbus_out
S.BUS output
2014-05-05 08:04:28 -07:00
Anton Babushkin e04b8d221b att_pos_estimator_ekf restored 2014-05-04 21:39:15 +02: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
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
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
Julian Oes a1e4435e16 esc_calib: corrected name of mc controller 2014-04-30 17:50:18 +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 5429b82ae0 Fix last data type and casting compiler nuisances 2014-04-30 08:53:22 +02:00
Lorenz Meier 48a9ba39af Fixed typos in declination table lookup 2014-04-30 08:26:08 +02:00
Anton Babushkin 0c58588a87 mc_att_control: yaw feed-forward in manual control modes fixed 2014-04-29 19:51:05 +02:00
Lorenz Meier 2ee02e5e4b Merge pull request #874 from jean-m-cyr/master
Proper data manager restart handling
2014-04-29 07:53:30 +02:00
Lorenz Meier ec50f73cbe Updated geo lib C/C++ interfacing 2014-04-28 20:44:11 +02:00
Lorenz Meier da525f29f1 Add missing header in mixer load command 2014-04-28 19:25:13 +02:00
Lorenz Meier 002ff7da7e Add missing header in HRT 2014-04-28 19:21:37 +02:00
Anton Babushkin 4378454a10 mc_pos_control: hotfix, MPC_TILTMAX_AIR and MPC_TILTMAX_LND parameters fixed 2014-04-28 17:49:57 +02:00
Lorenz Meier e134537ae8 Added automatic declination lookup 2014-04-28 17:44:29 +02:00
Andrew Tridgell ab1939c6a3 pwm: added PWM_SERVO_SET_FORCE_SAFETY_OFF ioctl
this allows the safety switch on px4io to be forced off
2014-04-28 11:45:45 +02:00
Andrew Tridgell ac52111085 px4io: support PX4IO_P_SETUP_FORCE_SAFETY_OFF
this allows the FMU to force the safety off on the IO board. Useful in
two cases:

 1) vehicles where the safety switch is impractical or not useful
 (eg. HAB planes or internal combustion motors)

 2) doing ESC calibration on multi-copters
2014-04-28 11:45:20 +02:00
Randy Mackay 9f2c4b7513 tone_alarm: add PARACHUTE_RELEASE_TUNE 2014-04-28 11:43:25 +02:00
Jean Cyr ab257ebcce Proper data manager restart handling
Introduce SYS_RESTART_TYPE parameter having one of 3 values: boot
restart, inflight restart, or unknown restart, and defaulting to unknown
restart.

px4io.cpp sets this parameter according to the type of restart detected.

dataman.c retrieves this parameter and clears data entries according to
their persistence level. Does nothing if unknown restart.
2014-04-28 00:52:19 -04:00
ufoncz bd5a0cef1a ver command ready including hwcmp which replaces hw_ver, removed hw_ver
updated all scripts to use new ver hwcmp command
q
2014-04-27 17:42:45 +02:00
Lorenz Meier 08408594ec Renamed parameters which changed from RAD to DEGREES to avoid user confusion. Also made naming of the two parameters more consistent. 2014-04-27 16:06:34 +02:00