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

835 Commits

Author SHA1 Message Date
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
FredericG
f8b793e54d ET OSD, WIP. Encoding of voltage and GPS data is now known
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@750 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-12 17:44:24 +00:00
pip
ac771996ba Removed Map Icon images that were added to the SVN by mistake.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@749 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-12 16:03:00 +00:00
pip
9b2c0984b6 git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@748 ebee16cc-31ac-478f-84a7-5cbb03baadba 2010-06-11 16:19:38 +00:00
pip
f536e7ef54 git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@747 ebee16cc-31ac-478f-84a7-5cbb03baadba 2010-06-11 16:19:19 +00:00
pip
c537df4ade git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@746 ebee16cc-31ac-478f-84a7-5cbb03baadba 2010-06-11 15:59:48 +00:00
pip
54a48953a4 git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@745 ebee16cc-31ac-478f-84a7-5cbb03baadba 2010-06-11 15:58:42 +00:00
fredericg
39aaf0868a MkSerial: Adapt to GpsPosition => ActualPosition
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@744 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-11 15:54:13 +00:00
pip
3f206be0bd git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@743 ebee16cc-31ac-478f-84a7-5cbb03baadba 2010-06-11 11:49:45 +00:00
pip
a8ef4744ba git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@742 ebee16cc-31ac-478f-84a7-5cbb03baadba 2010-06-11 11:45:21 +00:00
pip
d0138d16b6 git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@741 ebee16cc-31ac-478f-84a7-5cbb03baadba 2010-06-11 11:38:43 +00:00
pip
740d322070 git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@740 ebee16cc-31ac-478f-84a7-5cbb03baadba 2010-06-11 11:30:16 +00:00
vassilis
b6160c8a9b Flight/Telemetry Avoid bunching of periodic updates by spreading them.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@739 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-11 02:24:26 +00:00
vassilis
7ec7a5f207 GCS/Telemetry Avoid bunching of periodic updates by spreading them.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@738 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-11 02:24:09 +00:00
edouard
204f264a6e The bargraph dial can now select its font for each dial type.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@737 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-10 12:36:46 +00:00