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

2606 Commits

Author SHA1 Message Date
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
pip
5daf6fd1c0 Added PIP_DUMP_RAW option in ahrs.c and brought back public acces to function PIOS_ADC_GetOverSampling(void).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2623 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-29 15:59:35 +00:00
corvus
000a45f1bf CopterControl - Build CopterControl with a Makefile specified subset of UAVObjects - code generation by uavobjgenerator
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2622 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-29 12:36:41 +00:00
edouard
50ba2dfa22 Small capitalization fix on PipXtreme gadget to enable cross-platform compilation.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2621 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-29 07:52:03 +00:00
pip
6a42a77e46 Fixed Uploader entry details (it was altering the modelview depends)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2620 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-29 00:01:20 +00:00
pip
b5640896ea Corrected the PipXtreme plugin entry details
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2619 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-28 23:46:37 +00:00
pip
05a7da2462 fixed the .pro file (included a non-existant file)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2618 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-28 23:45:57 +00:00
pip
7c73f9c2c8 Corrected GUI widget spacers, added OpenGL rendering.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2617 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-28 22:41:34 +00:00
corvus
f6805de71e UAVObjGenerator: Allow generation of specific UAVObjects only per commandline specified list - possibly needed for CopterControl
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2616 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-28 22:35:44 +00:00
pip
e5e80bde27 Made openGL option default to not used, added smooth option to dials plugin
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2615 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-28 21:20:45 +00:00
zedamota
8236bf8e19 CC-13 CopterControl bootloader - don't know if this fixes it, please try it.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2614 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-28 21:02:48 +00:00
pip
3c49944e73 Added OpenGL option to the "Dial" and "LinearDial" plugins.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2613 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-28 20:45:45 +00:00
corvus
6f2e45d414 BigMess: OpenPilot/Makefile: do not have an explicit list of UAVObjects in Makefile, include by wildcard uavobjects/*.c
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2612 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-28 20:19:53 +00:00
sambas
f3ce7d7035 OPOP-303 PIOS/Sonar: posix fix, I guess??
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2611 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-28 19:59:35 +00:00
sambas
ba5ebb6b13 OP-303 PIOS/Sonar: preliminary support for HCSR04 ultrasound altimeter module, tested and working :)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2610 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-28 19:21:22 +00:00
osnwt
3787787404 Windows installer and build scripts: few minor changes (listed below), no code change.
- Fixed unescaped backslashes in openpilotgcs.pro, translations.pro, glc_lib.pro (don't like warnings).
 - Fixed comments in Windows installer batch file.
 - Changed Windows uninstaller section names for better readability.
 - Changed Windows installer executable properties (makes sense if you use SubWCRev).
 - temporary disabled Windows installer Spanish language until someone helps with translation (no changes for GCS itself).
 - small beautification of winx86.pro.
 - some changes in the top Makefile.cmd (more changeable parameters for batch build)


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2609 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-28 18:18:08 +00:00
pip
811604649d Change the manual microsecond values from int16 to uint16 - no more negative microsecond PWM readings
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2608 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-28 18:17:26 +00:00
peabody124
ac031d9b0d OP-256 RC 3 is using TIM5 but wasn't previously handling this ISR. Passing to
the PWM ISR now.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2607 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-28 16:01:40 +00:00
sambas
d917ced2f6 Fix for pwm input reset problem? Try the line I commented out because I can't test this.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2606 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-28 13:30:12 +00:00
corvus
0cc957bc9c reverting bad commit of these files
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2605 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-28 12:31:13 +00:00
corvus
e6004ae95e PiOS.posix - split up FreeRTOS port into a linux version (original FreeRTOS linux code) and a non linux POSIX compatible version (Mac OSX, BSD, ...) - OS detection by Makefile.posix
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2604 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-28 12:26:45 +00:00
corvus
0624173489 Big Mess: Cleanup Openpilot/Makefile.posix - UAVObject generation paths and pylib stuff
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2603 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-28 11:44:37 +00:00
sambas
195b63b6bb OP-22 PIOS/Spektrum: Made spektrum input driver, NOT YET TESTED!!!, also preliminary support for CC, sync/supv timer not yet fixed.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2602 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-28 09:25:30 +00:00
edouard
df0b5f9b6c CC-13 CopterControl bootloader first pass. Does not talk on USB for some reason, but starts.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2601 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-27 22:33:13 +00:00
edouard
b079d7e90b French translation for installer
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2600 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-27 21:54:12 +00:00
osnwt
eb517e7075 Windows installer: fixed minor dependency issue with SVN info extraction.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2599 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-27 14:39:45 +00:00
osnwt
208c965e65 Windows installer: added Chinese and German translations.
Thanks to:
 - zhao0079 for Chinese translation,
 - Corvus Corax for German translation.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2598 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-27 13:19:42 +00:00
edouard
ba606c7054 OP-249 : GCS / Pause scopes during log replay if pause button is pressed. Was more difficult than planned! You will have to clean your GCS build or at least delete the scope and logging shadow build dirs in order for this to work properly.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2597 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-26 22:21:54 +00:00