40 Commits

Author SHA1 Message Date
Lorenz Meier
2fe9f65c45 commander: Fixed compile error and some stupidity in usage of path names 2014-03-16 19:16:18 +01:00
Lorenz Meier
6db2191a71 commander: Skip devices we do not want to touch in HIL 2014-03-16 18:50:20 +01:00
Lorenz Meier
c52969639f Merged upstream mavlink2_hil branch 2014-03-16 18:42:07 +01:00
Lorenz Meier
8383603f76 commander: Linting: Reduce scope of variable 2014-03-16 18:41:03 +01:00
Lorenz Meier
772fce9f82 commander: Improve HIL publication blocking call handling 2014-03-16 18:38:55 +01:00
Anton Babushkin
8818425e58 commander: fixed message formatting when disabling sensors publishing in HIL mode 2014-03-16 18:25:09 +04:00
Lorenz Meier
1b978293d9 Merged master into beta 2014-02-11 08:24:18 +01:00
Anton Babushkin
8897894b19 commander, navigator, mc_att_control, mc_pos_control: code style fixed 2014-02-01 11:14:21 +01:00
Anton Babushkin
d1508a7813 vehicle_control_mode publication moved to commander, WIP 2014-01-27 20:49:17 +01:00
Anton Babushkin
b7c69262a7 state_machine_helper: added missed transition to FAILSAFE_STATE_LAND, transition conditions fixed 2014-01-26 11:58:50 +01:00
Anton Babushkin
7d2efe9367 commander, navigator: minor cleanup (refactoring), code style fixed 2014-01-26 11:52:33 +01:00
Anton Babushkin
c7f0553938 cammander: state machine can now deny current state (e.g. when position lock lost during EASY mode), added FAILSAFE_STATE_LAND 2014-01-26 11:50:34 +01:00
Anton Babushkin
ebc7cb03b7 «flighttermination state» replaced by more general «failsafe state» 2014-01-25 23:24:12 +01:00
Lorenz Meier
c4dc310ebd Fixed bogus return value of publication blocking disable 2014-01-14 14:03:57 +01:00
Lorenz Meier
b23af61087 System disables all driver publications it can get hold of once entering HIL 2014-01-12 11:47:35 +01:00
Anton Babushkin
7e29028429 Moving nav state from commander to navigator, WIP 2013-12-29 12:16:49 +04: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
668f9dc552 enable seatbelt without position lock for non rotary wing vehicles 2013-11-08 16:45:22 +01: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
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
Anton Babushkin
3a00def189 commander: switch to AUTO_READY or AUTO_MISSION immediately, don't try to stay on ground 2013-08-30 10:11:24 +02:00
Anton Babushkin
66c61fbe96 Full failsafe rewrite. 2013-08-27 23:08:00 +02:00
Anton Babushkin
c5731bbc3f TAKEOFF implemented for multirotors, added altitude check to waypoint navigation. 2013-08-26 09:12:17 +02:00
Lorenz Meier
c57b345e70 merged 2013-08-19 09:44:42 +02:00
Anton Babushkin
ffc2a8b7a3 vehicle_local_position topic updated, position_estimator_inav and commander fixes, only altitude estimate required for SETBELT now. 2013-08-18 23:05:26 +02:00
Lorenz Meier
e5f1a7c2c3 Better transparency in IO mode display, fixes to commander arming, minimum publishing rate for arming 2013-08-18 12:42:24 +02:00
Lorenz Meier
eda528157a Make state updates atomic (just to be really, really sure) 2013-08-17 18:40:28 +02:00
Anton Babushkin
c543f89ec1 commander, multirotor_pos_control, multirotor_att_control: bugfixes 2013-08-16 23:36:49 +02:00
Julian Oes
ec9de4ad84 Critical voltage now leads to a proper arming state transition 2013-08-16 09:27:05 +02:00
Lorenz Meier
cc9f1e81ad Rejecting arming if safety switch is not in safe position, added reboot command 2013-08-15 09:52:22 +02:00
Anton Babushkin
02d4480e8e commander rewrite almost completed, WIP 2013-07-31 20:58:27 +04:00
Anton Babushkin
8c1067a017 State machine rewritten, compiles, WIP 2013-07-28 23:12:16 +04:00
Anton Babushkin
7c1693a877 commander: don't notify user about rejected disarm to not confuse, flag_control_altitude_enabled added, flags values fixed 2013-07-23 14:56:12 +04:00
Anton Babushkin
963abd66ba commander: WIP, SEATBELT renamed to ASSISTED, added SIMPLE mode, added ASSISTED switch, some cleanup and reorganizing 2013-07-22 21:48:21 +04:00
Lorenz Meier
68ab69de01 moved commander to C++, preparation for better gyro scale calibration respecting the current attitude for more accurate results 2013-07-20 13:47:51 +02:00