Commit Graph

167 Commits

Author SHA1 Message Date
Anton Babushkin d35a169907 navigator: NAV_STATE_INIT removed, minor fixes 2013-12-31 12:46:35 +04:00
Anton Babushkin 33385a783c Added NONE = not mapped state for mission and return switches 2013-12-30 14:04:24 +04:00
Anton Babushkin fa20fae6fb Some mavlink fixes to use vehicle_control_mode, WIP 2013-12-29 22:38:41 +04:00
Anton Babushkin 7e29028429 Moving nav state from commander to navigator, WIP 2013-12-29 12:16:49 +04:00
Julian Oes 72d9c80ce9 Home position: corrected wrong conversion 2013-12-27 14:00:27 +01:00
Julian Oes 32c7aea2a6 Home position: use double for lat/lon and float for altitude, set home position to global position instead of GPS position once we have a fix 2013-12-27 11:07:45 +01:00
Thomas Gubler 68d8230e78 Merge remote-tracking branch 'upstream/control_groups' into fw_autoland_att_tecs_navigator_termination_controlgroups
Conflicts:
	src/systemcmds/tests/module.mk
	src/systemcmds/tests/tests.h
2013-12-23 11:13:42 +01:00
Lorenz Meier b9a533acae Merge pull request #505 from PX4/rc_failsafe
Futaba RC failsafe support
2013-12-19 07:41:25 -08:00
Thomas Gubler 23d0c6f8dd temporary workaround to trigger failsafe with remote control 2013-12-14 11:03:02 +01:00
Thomas Gubler 367d5d0cf2 fix wrong usage of navigation state in flighttermination state machine 2013-12-14 11:02:16 +01:00
Thomas Gubler 278e05e425 added simple flight termination state machine which enbales parachute on request 2013-12-08 16:52:41 +01:00
Thomas Gubler ea9fcaa27f update the commander to only use local pos for landing detection when on rotary wing
Conflicts:
	src/modules/commander/commander.cpp
2013-11-26 18:56:06 +01:00
Thomas Gubler a94ed67b3f update the commander to only use local pos for landing detection when on rotary wing 2013-11-26 13:47:37 +01:00
Thomas Gubler ae9fae5aae fix MEAS airspeed and airspeed calibration 2013-11-10 19:25:38 +01:00
Thomas Gubler 22ef0c7735 fix MEAS airspeed and airspeed calibration 2013-11-10 19:24:57 +01:00
Thomas Gubler 668f9dc552 enable seatbelt without position lock for non rotary wing vehicles 2013-11-08 16:45:22 +01:00
Julian Oes c75c5a5f30 Fixedwing: Enable loiter mode, tested in HIL 2013-11-06 23:11:14 +01:00
Julian Oes 4502c285eb Startup scripts: Start the commander early and let it try to open the mavlink_fd with 20Hz 2013-11-05 19:56:33 +01:00
Anton Babushkin 19fab5f395 Merge branch 'master' into rc_failsafe 2013-11-04 16:56:09 +04:00
Lorenz Meier b53d86ed68 Hotfix for mag calibration 2013-11-03 18:26:02 +01:00
Anton Babushkin 97acb49028 commander: bug fixed in failsafe 2013-11-01 13:58:23 +04:00
Lorenz Meier 5781b58640 Minor bugfix to commander, emits arming sound now on the right occasions. Fixes an annoying issue where the arming sound would go off constantly if the safety was re-engaged in arming mode, something that we consider to be ok operationally 2013-11-01 09:05:28 +01:00
Lorenz Meier 1336d625a8 Hotfix: Announcing important messages via audio 2013-10-28 14:47:37 +01:00
Lorenz Meier 17ddc7f471 Merge pull request #483 from PX4/calib_rotation
Calibration of rotated board
2013-10-23 03:32:20 -07:00
Anton Babushkin 28b4e97853 Fixed bug with fd leak in rc_calibration_check 2013-10-22 21:01:30 +02:00
Anton Babushkin 495073935e accelerometer_calibration: stability fix 2013-10-21 23:33:01 +02:00
Anton Babushkin ef42ef15c6 accel/gyro/mag calibration: big cleanup, use common messages 2013-10-21 22:24:59 +02:00
Anton Babushkin ea89f23c91 calibration: bugs fixed, mavlink messages cleanup 2013-10-21 20:07:47 +02:00
Stefan Rado ed79b686c5 Adjusted mavlink info messages during gyro calibration to not break QGroundControl. 2013-10-21 09:32:37 +02:00
Anton Babushkin 0dc9c9ac26 accelerometer_calibration: code style fixed, lib/conversion copyright fix 2013-10-20 23:28:09 +02:00
Anton Babushkin b75c8e672f accelerometer calibration fix 2013-10-20 23:16:23 +02:00
Anton Babushkin ef6f1f6f80 get_rot_matrix() moved to separate library, accel calibration of rotated board fixed 2013-10-20 19:36:42 +02:00
Stefan Rado 6a624ff753 Fix gyro calibration for rotated sensors.
The calibration routine now uses the raw sensor values instead of the already rotated values.
2013-10-19 23:04:36 +02:00
Lorenz Meier db4ff7f080 Merge pull request #446 from PX4/commander_fixes
commander fixes
2013-10-13 03:10:23 -07:00
Anton Babushkin 3fd2048188 commander: remove duplicate publishing of vehicle_control_mode and actuator_armed topics, remove unused "counter" field from topics 2013-10-07 22:16:57 +02:00
Lorenz Meier d1871bd7bb State machine fixes for HIL 2013-10-06 14:18:28 +02:00
Lorenz Meier 6616aa6f99 Fixed in-air restart, now obeys the right order 2013-09-22 14:58:06 +02:00
Lorenz Meier 826d5687be Fixed in-air restart 2013-09-22 14:43:12 +02:00
Anton Babushkin 2362041dc1 commander: state indication changed, 3 green blinks = succsess, 3 white blinks = neutral, 3 red blinks = reject 2013-09-19 19:58:41 +02:00
Lorenz Meier ac00100cb8 Hotfix: Disable gyro scale calibration to prevent people from wrongly using it 2013-09-18 08:43:38 +02:00
Randy Mackay 1a641b791d tone_alarm: more device paths replaced with #define 2013-09-16 07:21:16 +02:00
Anton Babushkin 8a70efdf43 Beep and print message when arming is not allowed 2013-09-14 08:55:45 +02:00
Lorenz Meier 8bd018c561 Merge branch 'fixedwing_l1' of github.com:PX4/Firmware into fixedwing_l1 2013-09-08 21:50:14 +02:00
Lorenz Meier 11e4fbc374 Added additional vector functions, fixed seatbelt for global estimators 2013-09-08 21:49:59 +02:00
Lorenz Meier d3ac8c9ff3 Fixed HIL mode switching, HIL works 2013-09-08 21:06:55 +02:00
Lorenz Meier 56a35cc889 Fixed commander start / stop to ensure the state is sane once NSH returns 2013-09-08 20:05:15 +02:00
Lorenz Meier aa785b0d2b Hotfix: Better error reporting, fixed sched param setup 2013-09-05 13:24:21 +02:00
Anton Babushkin 40e1894872 Added parameter NAV_TAKEOFF_GAP 2013-09-02 23:30:32 +02:00
Lorenz Meier 2d83c6f825 Closing all opened file descriptors, fixed param save issue, tests clean 2013-09-01 12:47:10 +02:00
Lorenz Meier f6bf1c7bf2 Closing files that should be closed 2013-09-01 10:29:30 +02:00