Commit Graph

48 Commits

Author SHA1 Message Date
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 55515f2e7e Merge branch 'master' of github.com:pixhawk/Firmware 2012-11-02 12:50:15 +01:00
Tobias Naegeli 80ac43e21d Fine tuning of manual control 2012-11-01 16:50:52 +01:00
Lorenz Meier 5e1416178a Merged 2012-11-01 08:14:31 +01:00
Lorenz Meier 4d6ac93aff Print selectively by name 2012-11-01 08:11:36 +01:00
px4dev 8bfceef89c Remove the arbitrary limit on the path to the default parameter file. Add a verb to the param command to set the default parameter file. 2012-10-31 12:59:24 -07:00
Lorenz Meier 3c987d6368 Casting and fix default param path 2012-10-31 18:50:00 +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
px4dev 66da4395b4 Kill the old board info code. 2012-10-29 23:07:15 -07: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
px4dev 7203ba797e bson-based boardinfo working 2012-10-29 21:47:51 -07:00
Lorenz Meier c3c76ef3d5 Hardened the EEPROM attach routine for param storage 2012-10-29 09:44:59 +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 2fc1032069 Major formatting/whitespace cleanup 2012-10-23 23:51:13 -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
px4dev c1958bdaa9 Teach top how to precisely determine stack usage. 2012-10-14 23:35:32 -07:00
px4dev d62ec78ab8 Remove obsolete warning. 2012-10-11 00:23:13 -07: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
px4dev 4c14e4f5f1 Add a 'secret' subcommand to bl_update that manipulates the option bits to change the brown-out detector configuration.
This is an experiment to see if we can improve the boot-time behavior when powered off noisy supplies.
2012-10-06 16:08:07 -07: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
px4dev 93c200d281 Add new 'task_spawn' interface for starting new tasks in the PX4 world 2012-10-01 00:02:38 -07:00
px4dev 44adaa736c A system command that knows how to reflash the bootloader on the PX4FMU. 2012-09-16 23:41:26 -07:00
Lorenz Meier 47c96d3d12 Quite flyable state 2012-09-12 18:50:24 +02:00
px4dev 68d4a26b9e Be a bit quieter and more forgiving about various system configuration and driver non-issues. 2012-09-10 00:16:05 -07:00
px4dev a9c4fabda6 Change the EEPROM read/write timeout behavior so that we can get actual errors rather than just hanging forever. 2012-09-09 11:14:54 -07:00
px4dev 65ecf1b1c1 Rework the 'eeprom erase' path so it's possible to erase an EEPROM that can't be mounted.
Add some bus reset code to the EEPROM read path to maybe help with bus lockup.
2012-09-09 00:04:43 -07:00
Lorenz Meier cf62c892f9 Added temperature measurement, added led system command 2012-09-01 19:56:42 +02:00
px4dev 1a781c6c4a Make the distinction between "parameter import" which merges parameters, and "parameter load" which blows away any current changes. 2012-08-28 22:15:25 -07:00
px4dev e6f6a81d5b Allow the EEPROM driver to consider itself started even if NXFFS fails to mount. 2012-08-27 19:42:40 -07:00
Lorenz Meier 8eeba595ee Improved param load / store text feedback, ported sensors app to new driver model, ready for merge and test 2012-08-25 19:16:12 +02:00
Lorenz Meier d12c09cc86 improvements / debugging on I2C drivers 2012-08-24 14:58:14 +02:00
Lorenz Meier 45e178eaa3 Made error message more verbose 2012-08-24 11:50:01 +02:00
px4dev 0472eeae05 Add EEPROM read/write performance counters. 2012-08-23 23:15:55 -07:00
px4dev 5ef6a41012 Add a modified version of the stock AT24xx EEPROM driver tweaked for our uses.
Use I2C_TRANSFER to avoid racing with other devices on the bus.
Clock at 400kHz.
2012-08-23 23:04:26 -07:00
Lorenz Meier d17bbc7a0b Minor fixes to EEPROM params 2012-08-20 17:26:59 +02:00
px4dev a9dd3564ed Don't delete the parameter file on failed load. 2012-08-20 01:51:18 -07:00
px4dev b0d13c9556 wrapper commands for saving and loading parameters 2012-08-19 22:15:51 -07:00
px4dev a86974e3e3 Hand over control of the onboard EEPROM to the NuttX I2C EEPROM driver and NXFFS. 2012-08-19 01:31:27 -07: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
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 9804447a66 More work on the mixer architecture.
Solve the multiple publishers issue with 'control groups', one group per controller.  Mixer inputs now specify both group and control offset within the group.

Avoid using %f when loading/saving mixers; use scaled integers instead.
2012-08-05 14:13:34 -07:00
px4dev 9804776a0c Checkpoint: more work in progress on mixer load/save 2012-08-05 14:13:33 -07:00
px4dev 145a6c4c49 Work in progress; standard mixer API and utility 2012-08-05 14:13:33 -07:00
Lorenz Meier b5f7adfc10 Many Doxygen style fixes 2012-08-05 11:27:02 +02:00
px4dev 8a365179ea Fresh import of the PX4 firmware sources. 2012-08-04 15:12:36 -07:00