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

1155 Commits

Author SHA1 Message Date
zedamota
3b0000a074 OP-37 GCS/MapPlugin Created new configuration class.
Created lots of signals.
Changed settings to not show tile lines by default.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@806 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-17 20:24:20 +00:00
pip
791997dbad Default zoom level for new map change from 10 to 2, plus a minor new map user control changes.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@805 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-17 18:54:12 +00:00
pip
072745ec83 New map plug-in user controls update
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@804 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-17 17:12:57 +00:00
ephy
70aab4850f GCS/notify: Rename notifyplugin.pluginspec -> NotifyPlugin.pluginspec Case matters on Linux.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@803 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-17 16:52:45 +00:00
ephy
e8fde01e90 GCS/notify: Rename notifyplugin.pluginspec -> NotifyPlugin.pluginspec Case matters on Linux.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@802 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-17 16:51:30 +00:00
dankers
67bce738d2 Doing this before I forget, if I have anything wrong or missed anyone please let me know.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@801 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-17 16:43:20 +00:00
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