Commit Graph

1948 Commits

Author SHA1 Message Date
Thomas Gubler 08002fbc15 mavlink receiver: use new manual control setpoint variable names 2014-05-12 09:23:20 +02:00
Thomas Gubler 1795d7d6e1 fw pos control: use new manual control setpoint variable names 2014-05-12 09:22:20 +02:00
Thomas Gubler 3779e216be fw att control: use new manual control setpoint variable names 2014-05-12 09:22:07 +02:00
Thomas Gubler cde4c9addb commander: use new manual control setpoint variable names 2014-05-12 09:21:39 +02:00
Thomas Gubler d9333a1993 manual control setpoint: rename variables 2014-05-12 09:20:40 +02: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 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
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 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
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
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 da525f29f1 Add missing header in mixer load command 2014-04-28 19:25:13 +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
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
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
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
Lorenz Meier e6d332aa7c Make commander less pedantic about position status 2014-04-27 15:50:53 +02:00
Lorenz Meier c74248c8b1 Merged mpc_rc with master 2014-04-27 15:45:33 +02:00
Lorenz Meier 4a949a9565 Merge pull request #749 from DonLakeFlyer/ArmDisarm
Arm/Disarm duplication removal and support for Disarm in VEHICLE_CMD_COMPONENT_ARM_DISARM
2014-04-26 12:24:42 +02:00
Lorenz Meier 5bd8e6f6b3 Merge pull request #845 from PX4/mag_decl_hotfix
Mag declination hotfix
2014-04-26 12:23:48 +02:00
Lorenz Meier eb520e7dcd Merge pull request #849 from PX4/compile_pedantic
Compile pedantic
2014-04-26 12:22:13 +02:00
Anton Babushkin 84943644d7 mc_pos_control: parameters comments minor fixes 2014-04-25 23:06:32 +02:00
Anton Babushkin a432ed4900 mc_pos_control: convert tilt_max to degrees 2014-04-25 22:53:48 +02:00
Anton Babushkin 2453b354fa Failsafe landing without position control fixed 2014-04-25 22:26:51 +02:00
Anton Babushkin 0c1de81785 Merge branch 'master' into mpc_rc 2014-04-25 21:39:59 +02:00
Lorenz Meier f0298e005a Merge pull request #852 from PX4/sensors_loop
sensors: Keep looping in sensors app even if gyros do not update any mor...
2014-04-25 16:52:53 +02:00
Anton Babushkin 22aaae197b Merge branch 'rc_timeout' into mpc_rc 2014-04-24 22:40:46 +02:00
Anton Babushkin 63c50676f9 MISSION switch renamed to LOITER 2014-04-24 22:38:19 +02:00
Anton Babushkin db474072a7 Merge branch 'rc_timeout' into mpc_rc 2014-04-23 19:03:03 +02:00
Anton Babushkin 56592ec77d commander: don't start RTL on failsafe if landed 2014-04-23 19:01:05 +02:00
Thomas Gubler d7d6a3d3b7 filter gps simulation hil gps message with sysid 2014-04-23 16:26:44 +02:00
Thomas Gubler a2940182ef add parameter to mavlink app to allow parsing of HIL GPS message even if not in HIL mode
Conflicts:
	src/modules/mavlink/mavlink_receiver.cpp
2014-04-23 15:53:48 +02:00
Anton Babushkin 34597599fc navigator: merging bug fixed 2014-04-23 15:26:24 +02:00
Anton Babushkin dc8a0b291a Merge branch 'mpc_local_pos' into mpc_rc 2014-04-23 15:25:13 +02:00
Anton Babushkin 320c97c498 navigator: check if mission reached on vehicle_status updates 2014-04-23 15:24:45 +02:00
Anton Babushkin 2998685a3a Merge branch 'mpc_local_pos' into mpc_rc 2014-04-23 14:22:52 +02:00
Anton Babushkin 60554c8a56 navigator: publish global_position_setpoint on vehicle_status updates 2014-04-23 14:15:59 +02:00
Anton Babushkin a1cf8801bb sdlog2: add failsafe state logging 2014-04-22 11:36:25 +02:00