1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-30 08:24:11 +01:00
Commit Graph

2733 Commits

Author SHA1 Message Date
andrew
12cdec0ae7 OP-294 storage scope
Added column to csv file to show if data changed from previous row.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2673 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 17:43:30 +00:00
peabody124
c3aa5ed8f3 Posix: Add the constants for telemetry queue sizes and also make the actuator
SetHz calls compatible with the PiOS API change

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2672 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 15:47:02 +00:00
peabody124
d33d044088 Revert "Revert "Fix to make stacs auto-loading of UAVObjects downwards compatible, since its not working on all architectures""
Putting Corvus patch back in.  Need to delete uavobjects-synthetics directory
for this to work.

This reverts commit 9cd98bec8fb5e0679c625eb256a94d161a8ce345.

Conflicts:

	flight/CopterControl/Makefile

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2671 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 15:46:59 +00:00
cwabbott
3f05e05721 Scope plugin: make compatible for Qt 4.6.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2670 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 14:57:39 +00:00
corvus
00be4070bb TopLevel Makefile: Introduced new target uavobjects_clean, to clean up autogenerated uavobject code.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2669 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 11:13:02 +00:00
peabody124
f93ed5f01f CC Module memory: Make it clean for CC to override the stack sizes of modules
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2668 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 02:18:35 +00:00
peabody124
b1e4b65f3d CC-1 Bigger oversampling window for CC sensor data
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2667 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 02:18:31 +00:00
peabody124
1c6b51b704 UAVObjects/AttitudeSettinsg: Object for CC to tune the attitude estimation
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2666 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 02:18:26 +00:00
peabody124
15f3ada700 Get rid of ms * 10 units since the time resolution of FreeRTOS is in ms
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2665 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 02:18:22 +00:00
peabody124
3f088bed8d CC-9 1. Improve the timings of the attitude estimation
2. Disable FirmareIAP module in CC (somehow causes lockups when also using vTaskDelayUntil in Attitude WTF)
3. Make the SPI bus run a little faster so we can handle the 3200 Hz from accel
while running the filter at 333 Hz

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2664 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 02:18:19 +00:00
peabody124
8b2034ea05 CC-15 Settings: Delete settings from flash chip (hacky sector based saving)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2663 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 02:18:15 +00:00
peabody124
97acaa2402 CC-15 Gets settings saved to flash chip on CC using crude sector based storage.
Sector based on Object ID so could overlap :-(.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2662 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 02:18:12 +00:00
peabody124
ea91042f38 CC-6 Fixed bug in flash read write addresses
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2661 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 02:18:08 +00:00
peabody124
e27c9c0b7a CC-6 Rename Flash function to not be all upper case consistent with other PIOS
functions

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2660 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 02:18:04 +00:00
peabody124
1d2ad6e9cb Telemetry: Move the telem stack size to the board definition file since CC
needs less

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2659 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 02:17:59 +00:00
peabody124
c9207b3754 CC-14 PIOS/Servo: Set more than two bank speeds
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2658 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 02:17:55 +00:00
peabody124
200f9a7247 FirmwareIAP: Whitespace fix, spaces to tabs
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2657 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 02:17:51 +00:00
peabody124
79ed1578a8 Update XCode project
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2656 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 02:17:46 +00:00
peabody124
1cf7555b7d CC-10 Rename CCAttitude to Attitude. If there are alternative ones we will
just have nested subdirectories of Attitude

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2655 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 02:17:40 +00:00
peabody124
85d42868d6 CC-10 Rename the TaskInfo and Alarm field for CCAttitude to Attitude
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2654 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 02:17:36 +00:00
peabody124
063c58e7c0 CC-12 Enable Watchdog on CC
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2653 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 02:17:32 +00:00
peabody124
037a63ee1d CC-1 CC-8 Cache the oversampled gyro value and use that to get rid of glitches.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2652 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 02:17:27 +00:00
peabody124
bbbdea26b9 Revert "Fix to make stacs auto-loading of UAVObjects downwards compatible, since its not working on all architectures"
Note: This patch did not build after a clean build.

This reverts commit 7e75b5d16481a32689433c868b67916816d8b9fb.

Conflicts:

	flight/CopterControl/Makefile

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2651 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 01:56:02 +00:00
peabody124
87881734b0 Add GDB debugging scripts for CC and PipX
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2650 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 01:55:58 +00:00
peabody124
29ad7b3017 CC-13 Get FirmwareIAP reset working on CC
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2649 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 01:55:54 +00:00
peabody124
42b21a2697 OP-300 FirmwareIAP: Change to use event dispatcher callback to determine when
to reset OP (sends reset command to INS)

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2648 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-01 01:55:43 +00:00
pip
5f83c4170e General clean up, removed unused variables. And apparently fixed random crashes on GCS exit (maybe).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2647 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-31 23:26:36 +00:00
pip
6662d856fd gadgetWidget destructor now gets called.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2646 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-31 23:12:21 +00:00
pip
5f07a95234 gadgetWidget's destructor now gets called OK.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2645 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-31 22:39:06 +00:00
edouard
0a87ed23c7 OP-306 More updates to plugins to properly destroy the Widgets when the gadgets are removed.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2644 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-31 21:50:11 +00:00
pip
6ef4dec59f Added more comms code.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2643 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-31 21:46:42 +00:00
edouard
2dfc907a8c OP-306 Scope plugin: destroy the widget explicitely when the gadget is removed. Should improve stability on the GCS. If so, I will generalize this on all current plugins.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2642 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-31 21:38:41 +00:00
corvus
d7f074a765 a path change had been forgotten in the top level makefile - fixed (big mess v2)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2641 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-31 21:18:31 +00:00
corvus
c2ba1f517b Fix to make stacs auto-loading of UAVObjects downwards compatible, since its not working on all architectures
On architectures supporting automatic initializing, flight/UAVObjects/uavobjectsinit_linker.c is used
On architectures NOT supporting automatic initializing, an uavobjectgenerated file build/uavobject-synthetics/flight/init/uavobjectsinit.c is used
build/uavobjects-synthetics/flight/uavobjectsinit.c went away, so that a wildcard include in the Makefile will not include the (wrong) initialisation code in either version



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2640 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-31 20:37:11 +00:00
corvus
dcb9764647 added include file for auto-linking to sim_posix
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2639 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-31 17:39:23 +00:00
zedamota
94c1f9793d OP37/GCS MapLib - Fixes small bug on the SQL caching
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2638 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-31 17:22:49 +00:00
pip
57c7633476 Renamed uavtalk module to api mode
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2637 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-31 15:44:39 +00:00
zedamota
8297f0e43e OP37/GCS MapLib - Small change to force static lib relink on change.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2636 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-31 13:09:06 +00:00
pip
b13648da36 General cleaning up
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2635 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-31 10:16:06 +00:00
andrew
9c313ebb7a OP-294 Add logging to scope plugin.
First attempt to add logging to the scope gadget.
Logs a snapshot of data from the scope configuration at the same rate as the update timer set in the options page.
This has configurability via the options page for logging path.
File name is based on the configuration name and the date/time the logging starts.
This uses synchronous file writes in the update timer.

Tested to work on Win XP and Linux (Fedora 14)

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2634 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-31 02:09:44 +00:00
stac
880a68a788 uavobj: Convert bootloader-compatible builds to autogen init
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2633 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-31 00:57:24 +00:00
erhard
311bcdd492 OP-232 gcs configuration: First step to configure all plugins in a standard way
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2632 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-30 23:22:51 +00:00
stac
b5426e09d0 uavobj: Convert CC over to use autogenerated uavobjinit
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2631 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-30 22:46:51 +00:00
stac
083e2b01a9 uavobject: Use linker to produce uavobj initcalls
The UAVObject initcall list is now automatically
generated at link time based on the exact set of
UAVObjects linked into the firmware image.

This will allow any subset of UAVObjects to be
used in any firmware image.

The uavobj_initcall() macro automatically adds the
marked function's address into the .initcalluavobj.init
ELF section.

The UAVObjectsInitializeAll() function now simply
iterates over the functions listed in the
.initcalluavobj.init section and calls them.

You can see the contents of this section in the ELF file
like this:
  ./tools/arm-2009q3/bin/arm-none-eabi-objdump \
      --syms -j .initcalluavobj.init \
      ./build/openpilot/OpenPilot.elf

This is fundamentally the same mechanism that the Linux
kernel uses to initialize the specific set of components
that the user has selected in their kernel configuration.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2630 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-30 22:46:48 +00:00
pip
5ce1538c03 Disable/Enable the GCS main connect button when suspendPolling and resumePolling functions are called - to prevent the user from trying to use the telemetry ports whilst another plugin is using them.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2629 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-30 14:46:25 +00:00
osnwt
f1116356f5 Windows installer: Spanish translation. Now we have all GCS-supported languages in the installer too.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2628 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-30 14:39:16 +00:00
pip
89df836c23 PipX plugin now connects/disconnects from communications port. Have yet to write the comms stream routine/thread and packet protocol.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2627 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-30 13:28:22 +00:00
osnwt
1ae14c5682 GCS/Uploader plugin: display DeviceID in hex making it more sensible (201 -> device 2, revision 01).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2626 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-30 01:49:32 +00:00
FredericG
a8bd4d28ad OP-174 ET OSD, do not return from task, the system seems to crash when you do that; anyway the thread will be removed
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2625 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-29 17:47:40 +00:00
corvus
04d3a9649d CopterControl: reverting previous commit - doesn't work on windows due to command line length limitations
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2624 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-29 16:15:16 +00:00