Commit Graph

1133 Commits

Author SHA1 Message Date
Lorenz Meier c57b345e70 merged 2013-08-19 09:44:42 +02:00
Anton Babushkin 3370ceceaf vehicle_control_mode.flag_armed added, reset integrals in multirotor_att_control when disarmed 2013-08-19 08:43:16 +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
Lorenz Meier 36d474bfa3 WIP on getting low-priority non-command tasks out of the commander main loop 2013-08-17 18:39:46 +02:00
Lorenz Meier 6ff3f51f88 Added dim RGB led support, not operational yet 2013-08-17 15:47:42 +02:00
Anton Babushkin 2be5240b9f commander, multirotor_att_control, position_estimator_inav: position valid flag fixed, other fixes and cleaunup 2013-08-17 12:37:41 +02:00
Anton Babushkin c543f89ec1 commander, multirotor_pos_control, multirotor_att_control: bugfixes 2013-08-16 23:36:49 +02:00
Julian Oes 451adf2aa0 Added part of RGBLED stuff to commander 2013-08-16 18:05:59 +02:00
Julian Oes 02c23c785e System status load is now from 0 to 1 instead of non-intuitive 0 to 1000 2013-08-16 10:17:57 +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 3f9f1d60e0 Added audio and text warning if arming is refused due to mode switch 2013-08-16 09:23:39 +02:00
Julian Oes d75c3c4e73 Try to open RGBLEDs in commander (WIP) 2013-08-15 17:48:28 +02:00
Julian Oes 98f403002f Lov voltage warning should work again 2013-08-15 17:29:27 +02:00
Julian Oes f51320d1af Lov voltage warning should work again 2013-08-15 17:27:29 +02:00
Julian Oes 56575eb068 Merge remote-tracking branch 'px4/new_state_machine_drton' into fmuv2_bringup_new_state_machine_drton
Conflicts:
	src/drivers/blinkm/blinkm.cpp
	src/drivers/px4io/px4io.cpp
	src/modules/commander/state_machine_helper.c
	src/modules/px4iofirmware/protocol.h
	src/modules/px4iofirmware/registers.c
	src/modules/systemlib/systemlib.h
	src/systemcmds/reboot/reboot.c
2013-08-15 14:04:46 +02:00
Julian Oes 561ec495b7 Merge branch 'new_state_machine_drton' of github.com:DrTon/Firmware into new_state_machine_drton
Conflicts:
	Documentation/flight_mode_state_machine.odg
2013-08-15 10:43:11 +02:00
Anton Babushkin 7476b03543 Merge branch 'master' into new_state_machine_drton 2013-08-15 10:33:45 +02:00
Julian Oes 39ae01dd07 Fix the low priority loop, calibration routines work again 2013-08-15 10:31:35 +02:00
Julian Oes e5af29be17 Fixed param save and load 2013-08-15 10:21:58 +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
Lorenz Meier aebdd6e059 Merged master 2013-08-14 22:53:42 +02:00
Anton Babushkin 27d0885453 gyro_calibration: confusing typo in mavlink message fixed 2013-08-14 22:38:14 +02:00
Julian Oes 53def47216 Fixed gyro scale calibration (it was storing scale even though the scale calibration was skipped 2013-08-14 22:33:43 +02:00
Anton Babushkin 9505654f91 commander/px4_custom_mode.h added 2013-08-14 17:57:01 +02:00
Anton Babushkin d7730a3444 commander, mavlink: fixed base_mode and custom_mode in mavlink 2013-08-14 10:59:22 +02:00
Lorenz Meier dccdc977d5 Made accel / gyro self tests aware of offsets and scales, added support to config command to call these 2013-08-09 17:56:32 +02:00
Anton Babushkin 32439d748a commander: set mode using base_mode and custom_mode 2013-08-07 20:21:49 +02:00
px4dev e931d3b9cd Add an option to the systemreset() call and to the reboot command (-b) to reboot into the bootloader.
The system will remain in the bootloader until it's reset, or until an upload is completed.
2013-08-03 22:35:18 -07:00
Anton Babushkin 02d4480e8e commander rewrite almost completed, WIP 2013-07-31 20:58:27 +04:00
Lorenz Meier 1543c99003 Merge branch 'master' of github.com:PX4/Firmware into fmuv2_bringup 2013-07-30 11:28:30 +02:00
Lorenz Meier d14891554e Merge branch 'config' of github.com:PX4/Firmware 2013-07-30 11:03:45 +02:00
Anton Babushkin 8c1067a017 State machine rewritten, compiles, WIP 2013-07-28 23:12:16 +04:00
Lorenz Meier 4e5eb9740b Fixed led and reboot linker challenges in C++ environments 2013-07-28 14:50:27 +02:00
Lorenz Meier 95dde5f1be Implemented config command, fixed a number range set / get issues for some sensor drivers, fixed gyro calibration 2013-07-26 18:24:37 +02: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 dc5bcdda76 Hotfix: Made accel calibration a bit more forgiving about motion threshold 2013-07-21 11:29:10 +02: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
Lorenz Meier da1bf69ce2 Added gyro scale estimation (but param is NOT written) 2013-07-19 13:07:51 +02:00
Lorenz Meier 1575da4390 Merge branch 'master' of github.com:PX4/Firmware into new_state_machine 2013-07-19 12:53:37 +02:00
Lorenz Meier a5c8d8c5f2 Robustified accel cal 2013-07-18 14:24:32 +02:00
Julian Oes bcdedd9a35 Changed location of lots of flags and conditions, needs testing and more work 2013-07-16 18:56:31 +02:00
Lorenz Meier 6e44a486c1 Merged 2013-07-16 18:28:05 +02:00
Julian Oes 76edfa896b Fixed disarming bug, use flag instead of mode switch 2013-07-16 13:24:02 +02:00
Julian Oes 6dc3fcd1ad Some more commander cleanup, param update handling code was doubled 2013-07-16 10:05:51 +02:00
Julian Oes 08926019ea Just some reordering in commander 2013-07-16 09:35:31 +02:00
Julian Oes 3e161049ac Got rid of useless orb_receive_loop, moved some helper functions 2013-07-16 09:24:21 +02:00
Lorenz Meier 1d883ad4c6 Hotfix: Fixed RC calibration 2013-07-16 08:10:38 +02:00