Commit Graph
350 Commits
Author SHA1 Message Date
Julian Oes 66527eea02 commander: workaround to prevent RC loss in HIL 2014-03-27 17:54:29 +01:00
Don Gagne 521539897e Simpler state transition code
Also fixed ARMING_STATE_ARMED_ERROR->ARMING_STATE_STANDBY_ERROR
transition.
2014-03-26 14:51:57 -07:00
Anton Babushkin 83da4ae02d 'vehicle_global_position' topic updated: removed baro_alt and XXX_valid flags. 2014-03-27 00:27:11 +04:00
Don Gagne 783a240396 Function naming and remove unneeded sprintf 2014-03-17 11:01:15 -07:00
Don Gagne 4b980b508c arming_state_transition now outputs error messages
If mavlink fd is passed in method will output reason for arming failure
to mavlink.
2014-03-16 21:39:06 -07:00
Don Gagne dec13e7f21 Use single set of arm/disarm code
Set mode and arm/disarm commands now call a single method to arm
disarm, thus removing code duplication. Also calls updated
arming_state_transition method such that the arming state logic does
not need to be duplicated outside of arming_state_transition.
2014-03-16 21:38:23 -07:00
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
Anton Babushkin b165e6ba20 Merge branch 'master' into acro2 2014-03-08 22:19:18 +04:00
Anton Babushkin d634f79422 Merge branch 'beta' into beta_mavlink2 2014-03-04 00:26:36 +04:00
Anton Babushkin b76e26c5e5 commander: allow arming with safety enabled in HIL mode 2014-03-03 21:24:59 +04:00
Anton Babushkin 3674aae4a7 commander: ignore battery voltage in HIL mode 2014-03-03 21:19:56 +04:00
Anton Babushkin 941aca2829 Merge branch 'beta' into beta_mavlink2 2014-03-03 17:40:03 +04:00
julianoes 49fe131019 Merge pull request #674 from PX4/safety_disarm
commander: disarm system when safety enabled
2014-03-03 10:59:51 +01:00
julianoes 72ae4a6dc7 Merge pull request #653 from PX4/fs_beep
Beeps and LED blinks cleanup, beep on RC failsafe added
2014-03-03 10:11:33 +01:00
Anton Babushkin 4e27fd9a38 commander/px4_custom_mode.h: added missing include 2014-02-26 00:22:19 +04:00
Anton Babushkin 8bc0287ecc commander: disarm system when safety enabled 2014-02-17 22:45:54 +04:00
Anton Babushkin 44c095b9e5 commander: allow arming from RC with safety enabled in HIL mode 2014-02-16 19:46:57 +01:00
Stefan Rado 7441efde47 Add a lot of MAVLink parameter documentation. 2014-02-14 01:48:00 +01:00
Julian Oes 036ebdbe78 Commander: add guard for parachute deployment 2014-02-13 16:08:49 +01:00
Anton Babushkin 0ead560059 commander: tunes cleanup and fixes 2014-02-11 18:24:20 +01:00
Anton Babushkin 0613b299c0 commander: play warning tune (as for low battery) when in failsafe state 2014-02-11 16:35:05 +01:00
Anton Babushkin 855944fb2e commander: beeps and blinks cleanup 2014-02-11 16:35:05 +01:00
Anton Babushkin 6631ecf04a commander: reset blink_msg_end when blink message completed to set normal LED status immediately 2014-02-11 16:35:05 +01:00
Lorenz Meier 1b978293d9 Merged master into beta 2014-02-11 08:24:18 +01:00
Lorenz Meier 773f70a9df Merged origin/master into pubsub_cleanup 2014-02-09 16:04:32 +01:00
Lorenz Meier f52f15c791 Merge pull request #626 from PX4/rc_mapping
Improved RC calibration behaviour, fully supported setting trim offsets
2014-02-09 15:49:55 +01:00
Anton Babushkin 3b2b270a40 mavlink: custom mode ACRO added 2014-02-04 21:55:12 +01:00
Anton Babushkin b54b0efc29 Merge branch 'beta' into acro2 2014-02-04 17:50:51 +01:00
Lorenz Meier 97c5daf924 Merge branch 'master' into beta 2014-02-04 15:34:35 +01:00
Anton Babushkin dfd4dc3e6a Merge branch 'beta' into acro2 2014-02-02 22:45:46 +01:00
Lorenz Meier 243a28ff8b Do not send an error message for RX pairing commands 2014-02-01 23:13:41 +01:00
Lorenz Meier 020e7dcae3 Merged master into beta 2014-02-01 19:13:13 +01:00
Lorenz Meier dd7c198268 Merged master into beta 2014-02-01 19:03:45 +01:00
Lorenz Meier 14bbecfd7a Hotfix: Check all channel mappings for valid ranges 2014-02-01 18:59:26 +01:00
Thomas Gubler 48f777d071 commander sets vstatus.condition_landed = false for fw systems (until we have a landing detector): solves multiple issues with the state machine in the navigator app 2014-02-01 13:54:39 +01:00
Lorenz Meier c1d1d67534 Improved RC calibration behaviour, fully supported setting trim offsets 2014-02-01 13:22:52 +01:00
Anton Babushkin 77c6231c8e Merge branch 'beta' into acro2 2014-02-01 11:27:41 +01:00
Anton Babushkin 2923bdf39f commander: allow disarming in ACRO without landing (as in MANUAL) 2014-02-01 11:25:29 +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 7f4f9a5f5f ACRO mode implemented 2014-01-31 22:44:05 +01:00
Anton Babushkin 7274c0ce30 Merge branch 'master' into beta 2014-01-30 23:07:28 +01:00
Lorenz Meier 8d79d91950 Revert "Merge pull request #620 from pigeonhunter/stack_sizes"
This reverts commit 3b31a6b1b9, reversing
changes made to 70afb3ca3b.
2014-01-30 21:54:29 +01:00
Anton Babushkin f64872b9b3 Merge branch 'master' into beta 2014-01-30 17:23:10 +01:00
Lorenz Meier ff753b9e24 Merged master into lockdown_disable 2014-01-30 10:00:01 +01:00
Anton Babushkin 6a1a29f77e global_position topic: added baro_alt, mc_pos_control: SEATBELT mode fixed, use baro/AMSL alt 2014-01-28 20:40:05 +01:00