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

899 Commits

Author SHA1 Message Date
pip
e48edb21b8 Updated new map user controls
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@800 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-17 15:48:43 +00:00
dankers
849c1096a7 Plugin.spec files don't like & symbol
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@799 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-17 15:24:08 +00:00
dankers
86fa81ab5b Remove old doc dir that is unused. Update sounds.pro file for install.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@798 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-17 15:17:52 +00:00
pip
933cedee56 Added some basic user controls to the new map plug-in
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@797 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-17 14:57:37 +00:00
dankers
e4b09f8f21 Initial check in of the sounds for the notify plugin.
Plus janitor work, update copyright information in some plugin spec files.  

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@796 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-17 14:19:38 +00:00
dankers
a267d6d9d0 Notify plugin, please test this and make sure it works on Linux and Mac.
The idea is you select a UABObject to watch and when it reaches a certain level it will play sounds of your choice.

Can some one people do a code review and make sure it is ok? Testing would be very useful as well.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@795 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-17 11:59:53 +00:00
dankers
8bddb604a1 Missing slashes - sorry.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@794 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-17 10:59:23 +00:00
dankers
3f0ed88562 Adding built object generator to the ignore list. If the objectgenerator is run from the source tree, specifically: ground\src\libs\uavobjgenerator\debug
It will find the xml files and generate sources in the right place automagically. 

See this wiki pge:

http://wiki.openpilot.org/UAVObjects


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@793 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-17 10:14:26 +00:00
dankers
69d2c1b546 Add flightbatterystate to the GCS, ran uavobjgenerator on all XML files. .cpp and .h included for GCS now, uncommented out these files from the uavobjects.pro.
Moving sounds folder to shared. Some sounds will be uploaded later.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@792 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-17 10:06:51 +00:00
pip
49fbe8b68b Success with the new map plug-in.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@791 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-16 18:50:36 +00:00
ephy
390b762495 GCS/plugins.pro: scope gadget depends on uavobjects now.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@790 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-16 17:54:42 +00:00
ephy
262c8a01d6 GCS/uavobjects: flightbatterystate.cpp/h missing and therefore commented out for now.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@789 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-16 17:15:00 +00:00
ephy
cf55ff673b GCS/uavobjects: flightbatterystate.cpp/h missing and therefore commented out for now.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@788 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-16 17:03:16 +00:00
dankers
a8fac007d7 Disable config plugin as it breaks the options menu in the GCS.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@787 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-16 16:17:52 +00:00
fredericg
369657d52e FlightBatteryState object changed
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@786 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-16 13:41:10 +00:00
fredericg
23b2771602 OP makefile, traces under dos did not work well
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@785 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-16 13:38:49 +00:00
pip
e73d90fbde Small bug fix.
Main GCS Options still locks up :(

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@784 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-16 13:12:28 +00:00
fredericg
176c8e5d92 New FlightBatteryState UavObject
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@783 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-16 11:51:55 +00:00
pip
c86c875572 Additions to the new OPMap plug-in.
Working on fixing the Options Page menu locking up

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@782 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-16 08:52:59 +00:00
pip
092c22f542 git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@781 ebee16cc-31ac-478f-84a7-5cbb03baadba 2010-06-16 08:35:32 +00:00
pip
b6492fc96f Removing Ambiguity between current map plug-in and the newer upcoming map plug-in
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@780 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-16 07:40:53 +00:00
stac
bf399821f6 gcs build: fix filename case
Filenames are case sensitive on Linux.  Fix the case of some
recently added files.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@779 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-16 04:27:05 +00:00
zedamota
5b323897f6 OP-37 GCS/MapPlugin New map library-Fully qualified some classes instead of using "using namespace" to avoid ambiguities with other classes and namespaces already in use.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@778 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-15 19:37:45 +00:00
dankers
ea3f3446e2 Typo fix gsc renamed to gcs
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@777 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-15 19:17:30 +00:00
dankers
a54925b8eb Typo fix
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@776 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-15 19:08:19 +00:00
zedamota
6acdbed4ba OP-37/GCS- Minor fix to make it compile under Linux
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@775 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-14 20:22:25 +00:00
pedro
15fdfc4161 minor progress
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@774 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-14 20:14:09 +00:00
edouard
2465307431 OP-60 : Working version of analog dial with horizontal/vertical option, and up to three needles. First try at attitude indicator dial in artwork/Dials/defaultset/attitude.svg
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@773 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-14 20:10:37 +00:00
pip
e94befbc1c git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@772 ebee16cc-31ac-478f-84a7-5cbb03baadba 2010-06-14 19:37:43 +00:00
pip
e54748721f git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@771 ebee16cc-31ac-478f-84a7-5cbb03baadba 2010-06-14 19:34:49 +00:00
pip
97a195baf1 New map gadget addition .. not yet operational though.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@770 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-14 19:34:04 +00:00
pip
3bc7c253ab About to add a new map plugin
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@769 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-14 18:44:09 +00:00
pip
d11bdd5e8f Fix compile errors
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@768 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-14 18:43:00 +00:00
zedamota
684f09d6b8 git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@767 ebee16cc-31ac-478f-84a7-5cbb03baadba 2010-06-14 17:21:22 +00:00
zedamota
715ab33179 OP-37 GCS/MapPlugin Beginning of the new map library integration on the main tree. Still remains on the experimental folder, to be deleted soon.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@766 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-14 17:17:49 +00:00
FredericG
e3815bf8b8 OSD: start displaying real data WIP
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@765 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-14 16:50:01 +00:00
edouard
50d63d35fa OP-60: Analog dial needles can now also move horizontally and vertically. Combined move can be achieved if both needles have the same name, this enables fancy indicators such as artificial horizon. Additional work still needed for proper display, but it's a start.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@764 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-14 13:09:26 +00:00
vassilis
106bdca20e Flight/Actuator Go to failsafe actuator outputs when a command is not received
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@763 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-14 02:00:16 +00:00
fredericg
0731747d84 new object: FlightBatteryState
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@762 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-13 17:21:31 +00:00
fredericg
4e15413fc9 MkSerial, adapt to COM_USARTX => PIOS_COM_X
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@761 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-13 11:18:42 +00:00
stac
771a56ca9d com/usart: generalize com driver API
- Created a pluggable COM layer
- Converted COM + USART init into static initializers
  rather than typedefs
- Generalized the USB HID COM API to match the USART
  API.
- Changed USART and COM layers to be data driven rather
  than #ifdef'ing/switching on the specifics of each port

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@760 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-13 04:24:26 +00:00
stac
8d015a57d0 pios spi: support both master and slave configs
Added support for SPI slave configurations to the pios SPI layer.

Converted the board specific configuration for the PIOS SPI layer to
use const static initializers rather than #defines (see pios_board.c).

SPI interface between the OP board and the AHRS is now operational at
a basic level, capable of moving simple single byte messages between
boards.  Multi-byte, CRC protected messages will be added on top of this.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@759 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-13 04:23:44 +00:00
stac
02e0017cbb stm32 lib: declare read-only parameters as const
Many of the STM32 library functions take a pointer to an
initialization structure.  In nearly every case, this struct
is a read-only (ie. const) parameter.

It is advantageous (and good coding practice) to actually declare
read-only data as const so that the compiler can place the const data
in the .rodata section which resides in flash and doesn't consume any
RAM.  This has the added bonus advantage that it is impossible for the
running application to corrupt the read-only data.

In order to allow passing pointers to const data into the library
functions, it is essential that the function prototypes also declare
their associated read-only parameters as const.  This commit adds
the const attribute to those parameters that are actually read-only.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@758 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-13 04:23:15 +00:00
stac
aebc358e46 usart: use macro definitions for bit positions
No functionality changed.  Clean up only.

Changed a few of the (1 << x) constructs to use existing macro
definitions to improve code readability.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@757 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-13 04:22:57 +00:00
stac
8b5e1e8aea init cleanup: use irq stack during early init
No functionality changed.  Clean up only.

Make early init code (Reset_Handler) use the existing irq stack
rather than the hard-coded one.

Remove (now) unused references to the hard-coded stack.

Removed the link-time check for a minimal task stack in RAM since
FreeRTOS allocates user stacks from the heap which is already reserved
in the .bss section (as symbol xHeap).

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@756 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-13 04:22:47 +00:00
stac
90f9e6d309 openocd: support OP and AHRS at the same time
Split the floss-jtag.cfg file into separate versions
for OP and AHRS.

Push AHRS onto non-default ports for gdb, tcl and
telnet.

Update the AHRS gdb setup script to point at the new
gdb port.

Add (commented out) example sytax to support distinguishing
between multiple floss-jtag boards that don't have serial
numbers.  Uses the usb bus address of each device as the
selector.  See this patch posted to the openocd mailing list
for how to add this functionality to openocd:
  http://lists.berlios.de/pipermail/openocd-development/2010-June/015785.html

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@755 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-13 04:22:30 +00:00
zedamota
53e2949d04 OP-37 GCS/MapPlugin Things were getting messy, created new Helper class (only static functions).
Small bug fix on refreshing after maptype change.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@754 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-12 23:05:09 +00:00
GoogleMap,GoogleSatellite,GoogleLabels,GoogleTerrain,GoogleHybrid,GoogleMapChina,GoogleSatelliteChina,GoogleLabelsChina,GoogleTerrainChina,GoogleHybridChina, OpenStreetMap,OpenStreetOsm,OpenStreetMapSurfer,OpenStreetMapSurferTerrain,YahooMap,YahooSatellite,YahooLabels,YahooHybrid,BingMap,BingSatellite,BingHybrid, ArcGIS_Map,ArcGIS_Satellite,ArcGIS_ShadedRelief,ArcGIS_Terrain,ArcGIS_MapsLT_Map
8efae87949 OP-37 GCS/MapPlugin testproject dropdown box for map provider choice.
New map widget is able to display maps from: GoogleMap,GoogleSatellite,GoogleLabels,GoogleTerrain,GoogleHybrid,GoogleMapChina,GoogleSatelliteChina,GoogleLabelsChina,GoogleTerrainChina,GoogleHybridChina, OpenStreetMap,OpenStreetOsm,OpenStreetMapSurfer,OpenStreetMapSurferTerrain,YahooMap,YahooSatellite,YahooLabels,YahooHybrid,BingMap,BingSatellite,BingHybrid, ArcGIS_Map,ArcGIS_Satellite,ArcGIS_ShadedRelief,ArcGIS_Terrain,ArcGIS_MapsLT_Map,
ArcGIS_MapsLT_OrtoFoto,ArcGIS_MapsLT_Map_Labels,ArcGIS_MapsLT_Map_Hybrid, PergoTurkeyMap,SigPacSpainMap,GoogleMapKorea,GoogleSatelliteKorea, GoogleLabelsKorea,GoogleHybridKorea,YandexMapRu

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@753 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-12 22:21:24 +00:00
zedamota
5f78ee2f1c OP-37 GCS/MapPlugin Gave up from Designer integration, deleted related files.
QT Creator windows binaries are compiled with MSVC and the plugin would not be compatible when built with mingw so I opted not to go down that road.
Current test project is "finaltest".
Zoom, Pan, Rotate, OpenGL choice, geodecoding, map reloading... all working. 

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@752 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-12 20:27:33 +00:00
pip
511278ec5b Added GSC and UAV map icon, but still have an icon display bug on the google maps.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@751 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-12 19:12:47 +00:00