Commit Graph

159 Commits

Author SHA1 Message Date
Lorenz Meier 00b79764d7 minor code cleanup, not changing functionality 2012-11-28 23:00:43 +01:00
Lorenz Meier faa672f8bb mode switching for all platforms, additional fixed wing modes 2012-11-25 13:55:28 +01:00
Lorenz Meier d1cde9858d Fixed typo in console message string 2012-11-21 14:59:17 +01:00
Lorenz Meier 7820024d90 Disabling commander black magic 2012-11-20 16:50:55 +01:00
Julian Oes 33e750602a Merge remote-tracking branch 'upstream/master' into io
Fixed Conflicts:
	apps/multirotor_att_control/multirotor_att_control_main.c

rc loss failsafe throttle tested
2012-11-15 11:55:55 -08:00
Lorenz Meier 3016ae72a3 minor cosmetic changes in commander 2012-11-15 17:20:14 +01:00
Lorenz Meier 68346fbfeb Cleaned up include list 2012-11-15 13:21:09 +01:00
Lorenz Meier c4bf3ea3ed better system status reporting, work in progress 2012-11-14 15:18:16 +01:00
Julian Oes 359cc4bb86 Merge remote-tracking branch 'upstream/master' into io 2012-11-13 14:18:59 -08:00
Lorenz Meier e52c7e3c4b Merge branch 'master' of github.com:PX4/Firmware 2012-11-12 21:08:57 +01:00
Lorenz Meier e9942e4af7 minor HIL related tweaks 2012-11-12 21:08:51 +01:00
Lorenz Meier 0baca3ee31 Better, platform independent failsafe handling 2012-11-09 16:30:00 +01:00
Lorenz Meier b48fc5362c Minor cleanup of leftover function definition 2012-11-09 16:05:14 +01:00
Lorenz Meier 82c4dbaaa8 param load / store cleanup, storage location selection now exclusively through dedicated "param select <path>" command 2012-11-02 15:21:37 +01:00
Lorenz Meier 6af2ea9fbc Minor tweaks to offboard control reception 2012-11-01 10:51:55 +01:00
Lorenz Meier fbdf30b7d4 Merge branch 'master' of github.com:PX4/Firmware 2012-10-31 17:09:11 +01:00
Lorenz Meier 0ddfd7c75c New param interface for microSD and EEPROM 2012-10-31 16:31:21 +01:00
px4dev 34a3b260f3 Move the last of the board-specific code for PX4FMU out of the NuttX tree. Now it's just configuration. 2012-10-31 00:37:15 -07:00
Lorenz Meier 137afdbd3c Remove excessive mem usage 2012-10-30 19:11:27 +01:00
Lorenz Meier 96dc901cae Fixed mag calibration 2012-10-30 16:44:16 +01:00
Lorenz Meier 574eb96a2e Calibration improvement 2012-10-29 16:41:53 +01:00
px4dev 98791bc674 Remove reboot() API, replace with a prototype for up_systemreset() which is portable. 2012-10-27 22:42:43 -07:00
px4dev 3d79b9a0b0 Tease the PWM driver out and fix some build issues after cleaning up behind the cpuload pieces. 2012-10-23 23:51:13 -07:00
px4dev c3fe915b44 Checkpoint - moving things out of the NuttX configs/*/src directories 2012-10-23 23:51:12 -07:00
Lorenz Meier d7d373f465 System state updates 2012-10-23 13:15:36 +02:00
Lorenz Meier f13c7821d9 Fixed mavlink app termination, terminates now cleanly 2012-10-23 10:58:47 +02:00
Lorenz Meier 9e8a02b928 Switched to a more convenient audio tune 2012-10-22 13:58:13 +02:00
Lorenz Meier 3a26708203 Resolved wrong TX drop display 2012-10-22 13:28:53 +02:00
Lorenz Meier 3932bad137 Merge branch 'master' of github.com:PX4/Firmware into calibration 2012-10-22 12:14:40 +02:00
Lorenz Meier df8148033a Cleaned up calibration, added text messages ring buffer 2012-10-22 08:14:43 +02:00
px4dev 5925d146bc Move the tone_alarm driver out of the NuttX configs area and add it as an stm32-specific driver in the PX4 apps space.
Add a new tone_alarm command that can be used to start/stop alarm tones from the shell.
2012-10-21 17:51:21 -07:00
Lorenz Meier 096bf2dc93 Checkpoint: Working, but non-verified full mag calibration 2012-10-21 15:36:29 +02:00
Lorenz Meier d3ae83cb22 Merge branch 'daregger_rate_control' of github.com:PX4/Firmware into calibration 2012-10-19 00:39:06 +02:00
Lorenz Meier d1429f266d Calibration progress, needs sphere fitting 2012-10-17 18:27:49 +02:00
Lorenz Meier 8b000b3317 Fixed an abort condition, fixed value initialization, implemented naive three-step calibration 2012-10-17 15:09:28 +02:00
Lorenz Meier 97726fa679 Calibration WIP, not compiling 2012-10-17 08:02:50 +02:00
daregger b50bc7798a Wip on inner rate loop 2012-10-16 16:49:45 +02:00
Lorenz Meier 0b26ca84d4 Merged 2012-10-16 11:13:05 +02:00
Lorenz Meier a720bfff5e Merge branch 'tobi' 2012-10-16 11:07:41 +02:00
Lorenz Meier 965bd35e2b Ignore measurement parts not projected to the plane 2012-10-16 00:02:53 +02:00
Lorenz Meier 084cde72f7 Reworked calibration 2012-10-15 08:52:41 +02:00
Lorenz Meier 4dbf7befe3 Disable rate control, disable offset estimation 2012-10-13 12:25:30 +02:00
Lorenz Meier 7ccc4f6096 Merge branch 'master' of https://github.com/tnaegeli/Firmware into tobi 2012-10-10 17:47:44 +02:00
Lorenz Meier 87ce36eef3 Fixed logging, merged 2012-10-10 17:47:28 +02:00
tnaegeli 613e12fcac working offboard 2012-10-09 16:31:04 +02:00
Lorenz Meier 1318a0b954 Merge branch 'master' of https://github.com/tnaegeli/Firmware into tobi 2012-10-04 16:38:35 +02:00
Lorenz Meier 2fa0dec369 Back out testing changes that are a bit too much ahead of time for master 2012-10-04 16:38:11 +02:00
tnaegeli 8dfa66cb97 Merge branch 'master' of https://github.com/PX4/Firmware
Conflicts:
	apps/commander/commander.c
	apps/multirotor_att_control/multirotor_att_control_main.c
	apps/multirotor_att_control/multirotor_rate_control.c
2012-10-04 16:01:42 +02:00
Lorenz Meier 2a06b66845 Fixed inner yaw rate loop 2012-10-04 10:56:55 +02:00
tnaegeli b9de72a8c9 Merge branch 'master' of https://github.com/PX4/Firmware 2012-10-04 09:29:46 +02:00
tnaegeli 733975ed2d fixed Rate controller 2012-10-04 09:28:04 +02:00
px4dev dfae108e6a Go back to the FIFO scheduler for now, as we don't have time to shake out the RR scheduler changeover just yet.
Make the "default" scheduler a centralized definition so that changes are easier in future.
2012-10-03 23:13:20 -07:00
Lorenz Meier 178462edcd Minor cleanups in debug output and offboard control arming 2012-10-02 13:02:57 +02:00
px4dev 93c200d281 Add new 'task_spawn' interface for starting new tasks in the PX4 world 2012-10-01 00:02:38 -07:00
Julian Oes d206327541 Magnetometer calibration fixed 2012-09-27 18:43:04 +02:00
Julian Oes 2c5c314105 Cleanup of lots of debugging printfs 2012-09-27 17:08:29 +02:00
Julian Oes 7f15309892 Calibration should not freeze anymore, ardrone flying but estimator is not able to use calibrated magnetometer data 2012-09-27 16:50:20 +02:00
Julian Oes a05c4d0504 Merge branch 'ardrone' of https://github.com/PX4/Firmware into ardrone
Conflicts:
	apps/ardrone_interface/ardrone_motor_control.c
2012-09-27 13:44:47 +02:00
Lorenz Meier cbb1f1c9ed Fixed RC and offboard control state machine 2012-09-26 21:30:33 +02:00
Lorenz Meier 66aa281c07 Merge branch 'master' of github.com:PX4/Firmware into ardrone 2012-09-26 19:45:10 +02:00
Julian Oes 0eae48d480 Merge remote-tracking branch 'upstream/ardrone' 2012-09-25 18:19:12 +02:00
Julian Oes 5c00ca343f forgot to remove printfs of magnetometer calibration 2012-09-25 16:39:15 +02:00
Julian Oes 6b0ed71ae0 Simplified magnetometer calibration routine 2012-09-25 16:36:33 +02:00
Julian Oes e217540e01 write all params to EEPROM for now (workaround to prevent standard values being written) 2012-09-25 10:51:13 +02:00
Julian Oes 268874fdb7 auto save after calibration (however the rest is reset to stock) 2012-09-25 10:31:19 +02:00
Lorenz Meier 8a11f76994 Updated C files for attitude estimator 2012-09-21 14:42:57 +02:00
Lorenz Meier 082074f991 Completely implemented offboard control 2012-09-21 12:55:41 +02:00
Lorenz Meier 291f4f3a33 Reworked control interface, needs testing / validation 2012-09-19 18:53:29 +02:00
Lorenz Meier b0b72b11eb Reworking control infrastructure for inner rate loop, preparing offboard interface 2012-09-18 18:28:49 +02:00
px4dev 53fe61a621 Fix gyro/mag parameter names in calibration routines.
Thanks to AngeloDP for spotting this.
2012-09-14 20:15:29 -07:00
Lorenz Meier 47c96d3d12 Quite flyable state 2012-09-12 18:50:24 +02:00
Lorenz Meier a74a455ab5 Fixed calibration routines to ignore previous offsets during calibration, added scale compensation for MPU-6000 2012-09-11 23:35:01 +02:00
Lorenz Meier 3140ba658a Fixed HIL enabling, renamed failsafe to better term "lockdown", made sure HIL is actually locking down system. Pending implementation of lockdown in PWM outputs 2012-09-10 00:11:09 +02:00
Lorenz Meier 7aafd6f521 Commented out potentially problematic printf() statements 2012-09-07 12:40:40 +02:00
Lorenz Meier db6ec2d7d2 Various minor fixes and improvements across system 2012-09-05 18:05:11 +02:00
Lorenz Meier 84e11a0cac Fixed correct RC loss detection, AR.Drone is now shutting down motors after 1 s of RC loss. Added debug topic. 2012-09-05 11:37:17 +02:00
Lorenz Meier cae070c73e Changed to publishing armed state in commander 2012-09-02 11:33:52 +02:00
Lorenz Meier e9373752d1 Fixed arming state setting / publication 2012-09-02 11:20:36 +02:00
Lorenz Meier 7cd89520cc More black magic put into the attitude estimation - works nicely now 2012-08-29 15:53:11 +02:00
Lorenz Meier 7d87f2b06e Fixed calibration, added calibration for accel, working on further filter improvements 2012-08-29 14:20:55 +02:00
Lorenz Meier fa32184973 params debugging 2012-08-28 13:56:39 +02:00
Lorenz Meier 9a750ae698 Correct scaling for calibration routines 2012-08-28 11:30:30 +02:00
Lorenz Meier 2fca24f803 Added missing calibration announcement for gyro cal in commander 2012-08-28 08:50:23 +02:00
Lorenz Meier 2d2548e714 Final parameter interface cleanup - removed last bit of old cruft, fixed a bug on parameter update notification, cleaned up API slightly in naming 2012-08-27 22:57:20 +02:00
Lorenz Meier b090298b12 Minor cleanups, added more error verbosity, XXX parameters get now read it at maximum sensors speed, needs to be waiting on a param change notice (but not on the vehicle status topic, as before. 2012-08-27 17:24:17 +02:00
Lorenz Meier 62e07358b4 Ported almost everything to new param interface, ready for serious testing 2012-08-24 00:01:23 +02:00
Lorenz Meier b07de1379d moved commander to new param interface 2012-08-23 20:45:28 +02:00
Lorenz Meier d2e757aa3c Merged parameter changes 2012-08-22 09:19:43 +02:00
Lorenz Meier 72979032e9 Merge branch 'master' into px4dev_new_param 2012-08-22 08:56:33 +02:00
px4dev 88f0080a0f Fix an architectural issue with the ORB that prevented publication from interrupt context.
ORB topic advertisements are now global handles that can be used in any context.  It is still possible to open a topic node as a publisher, but it's not the default.  As a consequence, the type of the handle returned from orb_advertise has changed; all other API remains the same.
2012-08-21 23:44:22 -07:00
Lorenz Meier d1261e227c Porting to new param interface, updated mixers 2012-08-20 23:52:13 +02:00
Lorenz Meier 41172f24d5 Moved parameter command handling to mavlink app 2012-08-20 09:32:42 +02:00
Lorenz Meier dc484c1d21 State machine cleanup, introduced variable rates for MAVLink depending on the baud rate 2012-08-18 16:48:43 +02:00
Lorenz Meier bce043a21b Fixed mag axis assignment, fixed mag calibration 2012-08-17 17:37:58 +02:00
Lorenz Meier 73286f3262 Minor tweaks and command parsing debugging 2012-08-16 20:57:38 +02:00
Lorenz Meier 8575d8cd49 Fixed arming bug 2012-08-16 17:20:41 +02:00
Lorenz Meier 46c4b987cc Various fixes for params interface 2012-08-16 15:49:56 +02:00
Lorenz Meier e95662f505 mag cal, scaling of throttle 2012-08-16 13:33:16 +02:00
Lorenz Meier b30e443f28 Updated start script, checking commander mishaps 2012-08-16 13:09:35 +02:00
Lorenz Meier 9014577aff Massive improvements in state machine, still tracing wrong throttle scaling in manual input path 2012-08-13 18:53:37 +02:00