Commit Graph

469 Commits

Author SHA1 Message Date
Lorenz Meier bb5819a13f Merge branch 'multirotor' of github.com:cvg/Firmware_Private into multirotor 2013-08-25 16:33:24 +02:00
Lorenz Meier e119bbb0f1 A lot more on calibration and RC checks. Needs more testing, but no known issues 2013-08-25 16:33:14 +02:00
Anton Babushkin 41dfdfb1a4 Use common rc.multirotor script (now only in 01_fmu_quad_x). 2013-08-24 20:32:46 +02:00
Lorenz Meier ccf0916f16 Merge branch 'fmuv2_bringup_new_state_machine_drton' of github.com:cvg/Firmware_Private into multirotor 2013-08-23 08:34:00 +02:00
tstellanova 201bda4579 start position estimator and position control 2013-08-22 17:36:10 -07:00
tstellanova 64f402ce83 add placeholder autoconfig file for X550 2013-08-22 17:30:38 -07:00
Julian Oes ab5ec0da0b Changed the default PID gains for the F330 2013-08-22 15:53:19 +02:00
Lorenz Meier 85eafa323a Fix to RC param updates on IO 2013-08-22 10:43:19 +02:00
Lorenz Meier cfa9054aa4 Moved to USART1 for the main console, starting a 2nd NSH instance on USB if needed, reworked start scripts to not fall over 2013-08-22 09:25:13 +02:00
Lorenz Meier fab110d21f Moved math library to library dir, improved sensor-level HIL, cleaned up geo / conversion libs 2013-08-21 18:13:01 +02:00
Simon Wilks 5a8dc9c504 Added TBS script 2013-08-21 15:15:34 +02:00
Lorenz Meier 95260d4535 Fixed NSH terminal init 2013-08-20 09:36:26 +02:00
Lorenz Meier 7bd952c7ac Prevented double HMC start after merge 2013-08-19 17:38:03 +02:00
Lorenz Meier 24d8ca5092 Merge branch 'fmuv2_bringup' of github.com:cvg/Firmware_Private into fmuv2_bringup_new_state_machine_drton 2013-08-19 17:37:22 +02:00
Lorenz Meier 230c09e2f4 Merge pull request #11 from cvg/fmuv2_bringup_ext_mag_rotation
Support for external mags with different rotation
2013-08-19 08:37:11 -07:00
Lorenz Meier f4b5a17a7b Improved sensor startup and error checking 2013-08-19 17:35:07 +02:00
Julian Oes a95e48c0b2 Don't stop the startup script if no external HMC5883 is connected 2013-08-19 16:51:22 +02:00
Julian Oes 00c9b8f87f Start the hmc5883 before the lsm303d so that an external mag is used 2013-08-19 16:34:12 +02:00
Lorenz Meier 3465ee7f90 Merge branch 'fmuv2_bringup' of github.com:cvg/Firmware_Private into fmuv2_bringup_new_state_machine_drton 2013-08-19 09:42:22 +02:00
Lorenz Meier 80f38e3dea Put console and syslog on UART8, added support to nshterm for proper serial port config 2013-08-18 21:00:47 +02:00
Lorenz Meier 57c5240f02 Make a distinctive sound when the IO start fails (e.g. due to version mismatch) 2013-08-18 13:57:21 +02:00
Lorenz Meier e9b6cfd671 Fixed startup order of F330 script 2013-08-17 15:48:13 +02:00
Lorenz Meier e14d034528 Merge branch 'master' of github.com:PX4/Firmware into fmuv2_bringup 2013-08-14 14:58:02 +02:00
Lorenz Meier cd928b64f3 Fixed log conversion scripts copy operation. Each log comes now with the required conversion tools. Eats up only 10 KB flash for the good cause. 2013-08-13 09:10:47 +02:00
Lorenz Meier 8c1f7a3706 Hotfix: Updated log converter 2013-08-13 08:52:03 +02:00
Lorenz Meier 0025e9ca90 Hotfix: Copy a current version of the log conversion tools to each log directory 2013-08-13 07:57:39 +02:00
Lorenz Meier 083cc60acb Increased logging to 200 Hz in F330 startup for v2, allowed to set up to 333 Hz update rate in IO driver for v2 link 2013-08-11 18:42:20 +02:00
Lorenz Meier 66d294b5bf Fixed to FMUv2 autostart and config 2013-08-11 17:39:10 +02:00
Lorenz Meier cbb5ce8f59 Fixed startup behavior for PX4 autostart 2013-08-11 16:54:00 +02:00
James Goppert 8f1487b157 Merge branch 'master' of github.com:jgoppert/Firmware into md25_dev 2013-08-03 12:18:41 -04:00
Lorenz Meier 6665714b67 Merged master branch 2013-08-02 15:54:31 +02:00
Lorenz Meier 24c43ad62d Hotfix: ROMFS autostart includes now IO upgrade 2013-08-02 15:47:04 +02:00
Lorenz Meier e0b36f6a21 Merge branch 'master' of github.com:PX4/Firmware into fmuv2_bringup 2013-08-02 15:38:34 +02:00
Lorenz Meier 241244ab96 Hotfix: Added missing drivers to USB startup 2013-08-02 15:38:17 +02:00
Lorenz Meier 9220f33ce0 More USB startup fixing 2013-08-02 15:37:11 +02:00
Lorenz Meier 2e2da7823b Merge branch 'master' of github.com:PX4/Firmware into fmuv2_bringup 2013-08-02 13:56:29 +02:00
Lorenz Meier 5d356ec3d8 Fixed USB startup 2013-08-02 13:51:46 +02:00
px4dev b85d74336d Add missing 'fi' at the end of rc script; if you had a microSD card that set MODE to something other than autostart the result was a prompt that ignored your commands. 2013-07-30 22:46:41 -07:00
James Goppert a569cd834c Added segway rc script. 2013-07-28 22:28:04 -04:00
Lorenz Meier ffd14e1396 Updated F330 script, enabled amber led 2013-07-25 12:44:47 +02:00
Lorenz Meier bbecaa7de3 Merged 2013-07-20 08:31:52 +02:00
Lorenz Meier c88e8e335c Merged master 2013-07-20 08:30:20 +02:00
sjwilks a8ac56b9e5 Merge pull request #338 from PX4/autostart
Implemented new, simple system boot config and sane default value system
2013-07-19 03:42:51 -07:00
Lorenz Meier 56805e8378 First community review version of autostart 2013-07-18 22:49:04 +02:00
Lorenz Meier 7106565e94 Simplified USB startup script 2013-07-18 16:17:47 +02:00
Lorenz Meier f93fbbae23 Make preflight check optional 2013-07-18 15:26:14 +02:00
Lorenz Meier e19d2e94ec Hotfix: Ensured there are never two filters running at the same time if auto-magic happens via USB link 2013-07-18 15:20:36 +02:00
Lorenz Meier 7bf2edc3bf Script cleanup, WIP on mavlink logging 2013-07-18 14:01:42 +02:00
Lorenz Meier ad8fc7e61e Merge branch 'master' of github.com:PX4/Firmware into fmuv2_bringup 2013-07-18 13:28:26 +02:00
Lorenz Meier a4d0594bd7 Merge branch 'master' into autostart 2013-07-18 13:18:42 +02:00
Lorenz Meier 8d1abf4aa4 Lunchtime HOTFIX: Bring back USB console to operational, allow single-USB connection operation via QGC 2013-07-18 13:16:34 +02:00
Lorenz Meier 1376154482 Merged 2013-07-18 10:23:25 +02:00
Lorenz Meier 0cd8f2d35b HOTFIX: Fix startup order 2013-07-18 10:01:03 +02:00
Lorenz Meier 35a519a2ea Fixed sensor driver name 2013-07-16 20:36:50 +02:00
Lorenz Meier 39d8847189 sercon is only used by APM now 2013-07-16 16:43:11 +02:00
Lorenz Meier 47dd3fdae1 Added default params for F330 2013-07-15 14:35:20 +02:00
Lorenz Meier c46efd3a7b Added saving of default values once loaded 2013-07-15 14:03:39 +02:00
Lorenz Meier 0b47ed86e0 Implemented new, simple system boot config and sane default value system based on two parameters evaluated at boot time 2013-07-15 13:58:43 +02:00
px4dev 43f1843cc7 Merge branch 'master' of https://github.com/PX4/Firmware into fmuv2_bringup 2013-07-07 12:22:56 -07:00
px4dev 9fe257c4d1 A very slender config just for test builds. 2013-07-07 12:13:40 -07:00
Lorenz Meier b01673d1d8 Fixes to estimator and HIL startup script 2013-07-04 15:45:32 +02:00
Lorenz Meier c8f4f84c2b Merged master 2013-06-21 19:20:52 +02:00
samuezih 4254bbfe6d Add PX4IOAR PX4FLOW example startup script 2013-06-18 10:45:08 +02:00
Lorenz Meier ebc12eebd0 Merged 2013-06-07 13:04:49 +02:00
Lorenz Meier 5b5d20bb63 Hotfix: Add an IO pass mixer with 8 outputs 2013-06-07 10:37:31 +02:00
Lorenz Meier 8ece04c87e Safe a dozen bytes of flash 2013-06-06 09:37:28 +02:00
Lorenz Meier 198df9c82e All apps compiling and linked (listed in NSH help), but not executing yet 2013-06-01 15:14:53 +02:00
Duncan Greer eab8f9b286 changed control index for speed controller output from 5 to 4 2013-05-18 20:32:50 +10:00
Duncan Greer 40b732b336 Added CCPM mixer 2013-05-18 20:32:42 +10:00
Lorenz Meier f608396493 Merge branch 'master' of github.com:PX4/Firmware 2013-05-13 10:33:25 +02:00
Lorenz Meier 7ae053c16b Hotfix: Make the param file name less then 8 characters 2013-05-13 10:26:42 +02:00
Lorenz Meier ff518e72d4 Make it harder to run into a non-existent uORB error 2013-05-13 08:34:48 +02:00
Lorenz Meier 13110e0a1f ROMFS wide quad mixer addition and cleanup 2013-05-05 11:35:56 +02:00
Lorenz Meier 2de7a7e587 Merged master 2013-05-05 01:54:16 +02:00
Lorenz Meier b9b75a2404 Hotfix: Provide a FMU + IO on quad start script 2013-05-02 22:35:16 +02:00
Simon Wilks 1dbbdcfa48 Add the missing mixer file. 2013-05-02 08:41:02 +02:00
Simon Wilks d9da4352d5 Makefile correction. 2013-05-02 07:13:07 +02:00
Simon Wilks ddf1b27697 Added a config for quads with a wide arm config. 2013-05-02 07:10:23 +02:00
px4dev 53f6bac327 Merge branch 'master' into export-build
Clean up some script trash and update scripts.
2013-04-26 19:16:55 -07:00
px4dev 01e427b17c Merge working changes into export-build branch. 2013-04-26 16:14:32 -07:00
px4dev 3acdc9d4ce Merge branch 'master' into export-build 2013-04-26 11:27:26 -07:00
Simon Wilks a6b8463308 Update the makefile to include the new mixer config. 2013-04-25 23:44:22 +02:00
Simon Wilks 1063ae9de9 Add a mixer file for the V quad 2013-04-25 21:40:43 +02:00
Lorenz Meier 492e017475 New, fancy log conversion script by Philipp Oettershagen. Offers a few convenience functions and plots more than previously 2013-04-19 14:58:07 +02:00
Lorenz Meier 3edd38c5db Merge branch 'master' of github.com:PX4/Firmware 2013-04-18 15:53:48 +02:00
Lorenz Meier d7d0d9ea51 Fixed startup scripts for default platforms, needs integration with wiki to avoid similar issues 2013-04-18 15:53:25 +02:00
Julian Oes d7178fb833 Play SOS if the SD card can't be mounted 2013-04-17 10:10:08 -07:00
px4dev b1da855548 Merge branch 'master' into export-build 2013-03-31 15:16:07 -07:00
Lorenz Meier 6fb2496c49 Improved HIL startup script, added highres HIL receive routine 2013-03-24 18:38:40 +01:00
Lorenz Meier 4ae4a29a17 Fixed copy & paste documentation lies 2013-03-22 13:17:04 +01:00
Lorenz Meier 70a85739cc Added startup scripts useful when running USB consoles, made MAVLink aware that /dev/console is a hint for running on USB (magic strings, magic strings) 2013-03-21 10:14:34 +01:00
px4dev db91dffb23 Merge branch 'master' into export-build 2013-03-20 23:05:19 -07:00
Simon Wilks 01cac73247 Fix the CamFlyer mixer 2013-03-19 22:15:04 +01:00
Lorenz Meier a0afed400f Fix signs for fixed wing control, issue resulted from consistently flipped pitch response for IO and FMU 2013-03-16 23:41:24 +01:00
px4dev 712a1df0ec Mark the ROMFS as const, saves ~25KiB of RAM. 2013-03-10 13:46:23 -07:00
Thomas Gubler e27481826c write adc values to sensors combined and log them 2013-03-03 23:56:11 +01:00
px4dev d3a6f448c9 Git zombies must die. 2013-02-23 22:00:59 -08:00
px4dev c3ed120d01 Back out deletion of the /etc/init.d scripts; we need these. 2013-02-23 22:00:59 -08:00
px4dev a7a1cc4625 Add support for per-config ROMFS generation. 2013-02-23 22:00:59 -08:00
Lorenz Meier 3d3a68a7fb Removed confusing non-error message, updated start scripts to match wiki and most recent SW revs 2013-02-17 18:11:33 +01:00
Lorenz Meier 2d1009a897 Fixed log conversion file 2013-02-16 18:35:36 +01:00
Lorenz Meier 31cfec3dbd Hotfix: Disable board detect, as it just creates noise, enable it once time permits to wrap it up 2013-02-13 09:11:14 +01:00
Lorenz Meier f57b7fe0dd Merge branch 'master' of github.com:PX4/Firmware 2013-02-12 13:21:52 +01:00
Lorenz Meier 298b46ecfc Improved log conversion MATLAB script 2013-02-12 13:21:41 +01:00
Lorenz Meier ab44a64ca0 Updated mixers for Q and X5 2013-02-10 18:04:57 +01:00
Andrew Tridgell ff35e5a583 if rc.APM is installed, run it 2013-01-21 08:23:34 +11:00
Andrew Tridgell 09ddf7f1b3 ROMFS: add support for EXTERNAL_SCRIPTS
this adds support for an EXTERNAL_SCRIPTS directory, to complement the
EXTERNAL_APPS option. It allows external apps to install scripts in
ROMFS
2013-01-21 08:23:34 +11:00
Lorenz Meier 1d4feb6905 Merged sdlog_buffering branch 2013-01-10 14:43:59 +01:00
Lorenz Meier 46cf2a538f Included workaround for MacOS timestamp issue 2013-01-10 12:57:09 +01:00
Lorenz Meier 241a8357c0 Fixed minor bug in log conversion script 2013-01-09 23:54:10 +01:00
Lorenz Meier 16e49c447d Added support for battery voltage and differential pressure to logging and plot script 2013-01-09 16:37:45 +01:00
Lorenz Meier f55beb679c Merge branch 'master' of github.com:PX4/Firmware into fixedwing 2013-01-07 17:28:18 +01:00
sjwilks 659543f852 Merge pull request #96 from sjwilks/autostart-scripts
Updated PX4IO autostart script.
2013-01-06 04:19:22 -08:00
Lorenz Meier 2bd4301849 Merge branch 'master' of github.com:PX4/Firmware into fixedwing 2013-01-06 12:37:13 +01:00
Lorenz Meier c94076f673 Added missing ADC start command, fixed return value / error behavior of ADC init 2013-01-06 12:36:46 +01:00
Lorenz Meier c259a34a82 Allowed rc.txt files as well 2012-12-27 13:17:43 +01:00
Lorenz Meier 2f3f0aec46 Merge pull request #115 from PX4/ardrone_startup_update
Updated PX4IOAR start script
2012-12-23 11:42:24 -08:00
Julian Oes 4bc3f80043 Greatly sped up Matlab import script, a 17min flight now takes 2secs to import instead of more than the actual flight time 2012-12-15 00:01:59 -08:00
Simon Wilks 06126d0d9e Starting GPS should probably be on by default. 2012-12-13 07:09:11 +01:00
Simon Wilks 096305f625 A mixer is required. 2012-12-10 09:05:26 +01:00
Lorenz Meier 0386a4205b Updated PX4IOAR start script 2012-12-09 19:18:42 +01:00
Simon Wilks b7b79d8254 Add logging back in. 2012-12-06 22:37:28 +01:00
Simon Wilks c3038619a4 Updating the PX4IO rc script to the latest state. 2012-12-06 22:35:20 +01:00
Lorenz Meier 25e304c869 Added vicon, actuator controls effective and optical flow to logging 2012-11-21 15:32:59 +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 dad1304503 Cleaning up start scripts, enabling preflight check as default 2012-11-15 15:14:57 +01:00
Julian Oes b7c6a11e67 Merge remote-tracking branch 'upstream/master' into io 2012-11-13 14:20:31 -08:00
Lorenz Meier a6294be6f0 Merge branch 'fw_control' of https://github.com/thomasgubler/Firmware 2012-11-13 18:57:35 +01:00
Thomas Gubler 403874d313 change sign of elevator in mixer to match standard convention (positive --> more lift) 2012-11-11 17:55:05 +01:00
Lorenz Meier 754572f25a Merge branch 'master' of https://github.com/julianoes/Firmware into io 2012-11-09 16:07:05 +01:00
daregger 0ee48db90f add attitude + rotation Matrix to logging 2012-11-06 11:25:31 +01:00
Julian Oes 87618bb9f2 Added mixer files for hex and octo 2012-11-03 19:44:06 -07:00
Lorenz Meier 01932a2dc3 Merge branch 'master' of github.com:PX4/Firmware 2012-10-30 07:50:13 +01:00
Lorenz Meier d5af511f8d Updated script to current syntax 2012-10-30 07:19:58 +01:00
px4dev 0616d58340 Add 'show' and 'test' verbs to the boardinfo command. Teach rcS how to use the new version. 2012-10-29 21:47:51 -07:00
Lorenz Meier 574eb96a2e Calibration improvement 2012-10-29 16:41:53 +01:00
Lorenz Meier 5f01688490 Fixed automatic log conversion / plotting script 2012-10-25 18:53:03 +02:00
Lorenz Meier 569938e680 Copying log analysis file directly to the SD card during logging 2012-10-25 15:47:14 +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
tnaegeli ec018e7b64 Merge branch 'master' of https://github.com/PX4/Firmware
Conflicts:
	apps/commander/state_machine_helper.c
	apps/multirotor_att_control/multirotor_att_control_main.c
	apps/multirotor_att_control/multirotor_rate_control.c
solved
2012-10-10 09:52:37 +02:00
px4dev 1e59a592a6 Split the parameter load/save commands out of the 'eeprom' command, since that's not really the obvious place for them. Add parameter printing functionality (though, it's a mess due to %f being busted)
Update the script examples to use the new command.
2012-10-09 22:45:36 -07:00
tnaegeli 613e12fcac working offboard 2012-10-09 16:31:04 +02:00
Lorenz Meier 178462edcd Minor cleanups in debug output and offboard control arming 2012-10-02 13:02:57 +02:00
Lorenz Meier 6877a4b1a3 Minor tweaks to ROMFS scripts/ logging 2012-09-14 18:59:45 +02:00
Lorenz Meier fb397c8dc4 Added log converter to ROMFS 2012-09-14 17:51:49 +02:00
px4dev adb1e2b861 Rename the example PX4FMU startup script to avoid what seems to be a filename length limit. 2012-09-10 02:26:14 -07:00
px4dev a1b4d32b56 Include the example PX4FMU quad startup script in the ROMFS for folks to play with. 2012-09-10 00:15:36 -07:00
Lorenz Meier 297990fe35 Fixed parameter-loading typo, fixed mavlink compile warnings 2012-09-07 15:28:02 +02:00
px4dev b9a5f71476 Only attempt to load EEPROM parameters when the file exists 2012-09-03 02:45:09 -07:00
px4dev f53f63b06d Example startup script for FMU on a PWM-based X-mode quad 2012-09-03 01:14:54 -07:00
px4dev eba9bc79b6 Roll/pitch values into the mixer are already scaled appropriately; don't factor them down any further. 2012-09-02 14:19:50 -07:00
Lorenz Meier 06e18f14e6 Ensure that sensor drivers are loaded 2012-08-22 16:34:53 +02:00
Lorenz Meier 5f259e41d5 Sensor readout, testing and driver adjustments 2012-08-22 16:20:05 +02:00
Lorenz Meier 7127c106cb Missing removed file 2012-08-20 23:53:09 +02:00
Lorenz Meier d1261e227c Porting to new param interface, updated mixers 2012-08-20 23:52:13 +02:00
Lorenz Meier 821306bc4d Allow to disable USB interface (but leave it enabled as default), give uORB more stack space 2012-08-20 17:48:31 +02:00
Lorenz Meier 86ed36579a Updated ROMFS scrips, created new ardrone_interface to jointly use multirotor_att_control on all multirotors, including AR.Drone frames 2012-08-19 16:32:54 +02:00
Lorenz Meier b30e443f28 Updated start script, checking commander mishaps 2012-08-16 13:09:35 +02:00
px4dev 5198a9daf7 New multirotor mixer; builds, not yet tested. 2012-08-15 00:46:15 -07:00
px4dev a2116d2058 Adjust sample mixer configurations and documentation to match new syntax. 2012-08-11 11:28:05 -07:00
Lorenz Meier 4eef4e1864 Ensured startup of USB link, updated port ids to read from 2012-08-10 16:18:45 +02:00
px4dev 67e0f8b179 Rework the mixer architecture based on discussions about arbitrary geometry mixing and plugins.
Now the mixer is a C++ library that can be fairly easily bolted into an output driver to provide mixing services.

Teach the FMU driver how to use it as an example.  More testing is still required.
2012-08-10 00:30:40 -07:00
px4dev 7a6a4b9352 Drop the X and + rotor mixers. We can't do multirotor mixing statically like that, as there is no mechanism for dealing with channel saturation. 2012-08-07 21:25:30 -07:00
px4dev 74b8e31fd8 VERY rough mixer definitions for quadrotors in X and + configuration using PX4FMU. 2012-08-05 20:20:46 -07:00
px4dev 528095a20b Add a simple passthrough mixer for testing. 2012-08-05 19:47:29 -07:00
px4dev 5c30722e77 More example mixers; three different fixed-wing configurations for FMU. 2012-08-05 16:54:50 -07:00
px4dev 59962bc3da Add a sample mixer definition and documentation.
Add support for comments in mixer definitions.
2012-08-05 16:30:28 -07:00
Lorenz Meier 139cd09176 Faster sensor bus resets on timeouts, massively reworked fixed wing app, tested 2012-08-05 15:56:24 +02:00
px4dev 8a365179ea Fresh import of the PX4 firmware sources. 2012-08-04 15:12:36 -07:00