1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-14 21:23:52 +01:00
Commit Graph

380 Commits

Author SHA1 Message Date
edouard
de0dc6b62e OP-60: major improvement in CPU usage, update timers are now stopped when not necessary. Also corrected a potential needle drift issue by forcing needle value to target value once it falls below the threshold.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@859 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-22 09:53:55 +00:00
edouard
9eeea3e416 OP-52 : Added GPS Gadget directory
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@858 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-22 09:25:20 +00:00
edouard
3784ee4ffd OP-52 : Skeleton GPS Display Gadget. Don't get your hopes too high, it doesn't do anything, and won't for the time being, but since the code exists, I thought I would still commit it nevertheless.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@857 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-22 09:22:51 +00:00
pip
090deaafc8 Added (currently) non-functioning user buttons to the new map plug-in.
Still experimenting with user control methods/layouts.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@856 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-22 08:41:49 +00:00
dankers
9b6a06cee0 Case fix for Linux as mentioned by Peter
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@851 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-21 19:34:38 +00:00
pip
8c5375d5ab Updated zoom user controls on the new map plug-in
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@850 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-21 18:47:29 +00:00
dankers
b2840b41ef Update from Daniel of the notify plugin. Play with this, it is very cool, it looks at UAVObjects and based on their values it has rules to play sounds. It is flexible and a much better approach than text to speech which was originally considered but still sounds bad and hard to do cross platform.
Sound collection path if you are building in a build directory would be:

../../share/openpilotgcs/sounds

Select default as the language. There is one issue remaining which Daniel is working on, 0.0x values do not play, these are rare ut will be fixed shortly. It is now mature enough to test with however.

Additionally as part of this commit, typeo correct of a sound file.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@849 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-21 16:31:07 +00:00
pip
20535abf53 Re-arranged the user controls and changed the colours on the new map plug-in.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@848 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-21 15:40:41 +00:00
pip
a99ac3ab97 Fixed zoom settings
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@845 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-21 13:06:48 +00:00
pip
3a6a68b49c git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@844 ebee16cc-31ac-478f-84a7-5cbb03baadba 2010-06-21 12:53:48 +00:00
pip
c5bde18926 User controls added to the new map plug-in.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@843 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-21 12:16:25 +00:00
pip
d48e80c684 A couple of right click context menu fixes on the new map plug-in.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@841 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-20 18:18:04 +00:00
pip
6a09d7f627 Left mouse button is now the drag button on the new map.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@834 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-20 17:23:03 +00:00
pip
5d9fef8aaa New map user context menu added.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@832 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-20 16:27:18 +00:00
edouard
99c2db99e3 New (better?) strategy for handling dial setting changes during a session: removed several weird artifacts, should be more solid & reliable.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@827 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-20 11:30:58 +00:00
edouard
2ff5424944 Gadget now clips the rendering area to the background, which solves the rendering issue of the attitude indicator sky.ground rendering outside of the dial.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@826 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-20 10:11:04 +00:00
pip
22ccee665b New map temporary user control panel updates
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@825 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-20 08:51:18 +00:00
pip
3ea868a253 Added mouse Lat/Lon to the new maps temporary control panel
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@824 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-19 22:16:10 +00:00
pip
46be975628 New map options page update.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@822 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-19 16:59:51 +00:00
pip
f82ff6fd10 New map cache directory string clean up and checking.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@814 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-19 08:41:56 +00:00
pip
d6332aaffa Added map cache settings onto the map options page
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@812 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-18 19:07:04 +00:00
dankers
d884f46abe Jose's fix for the config options page no longer hangs the options menu. Plugin now enabled in build.
Small fix to the Notify options page, sound can be tested now, still issues with it.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@811 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-18 16:06:12 +00:00
pip
3b3c582799 More minor new map user control updates
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@810 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-18 10:40:30 +00:00
pip
c0ed4515f8 Minor new map user controls update
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@809 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-18 07:29:49 +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
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
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
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
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
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
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
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
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
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
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
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
d0138d16b6 git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@741 ebee16cc-31ac-478f-84a7-5cbb03baadba 2010-06-11 11:38:43 +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
chebuzz
a8ba7f8d25 OP-76 GCS/ModelView - Add option to enable Vertex Buffer Objects (VBOs), now disabled by default. VBOs reduce CPU load, but was causing crashes on GPUs with faulty drivers. Recommended for most to re-enable VBOs.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@736 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-10 11:15:06 +00:00
vassilis
6844743050 GCS/GPS Renamed GPSObject to PositionActual and added field for GPS status (NoGPS, NoFix, Fix2D and Fix3D)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@733 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-10 01:27:19 +00:00
banigreyling
8f95857fb1 OP-42 Implemented some features for Scope Gadget. It is still hardcoded to display altitude and temperature. Basic config panel layout done without bindings
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@729 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-08 20:59:43 +00:00
edouard
6268ba26a1 Bargraph dial now displays field name and value in real time. It is also capable of displaying vertical as well as horizontal dials, a new vertical dial is included in the artwork directory as an example. The gadget automatically detects if the dial is vertical or horizontal.
TODO: make fonts look nicer - if anyone can recommend a font chooser ?

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@727 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-08 13:04:17 +00:00
dankers
c35074c0f0 Please bare in mind I am not up to speed with this yet! This should fix the Windows / Linux serial stuff and I know it appears to work on Windows.
Stac, please let me know. Yeah, I should do this in a patch, but this change should do no harm as it keeps Windows working and Linux in theory. It is cosmetic for the list of ports. 

  



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@721 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-06 04:43:46 +00:00
zedamota
fee771fa7f OP-77 GCS serial plugin small issue
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@720 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-05 20:19:53 +00:00
zedamota
b9f81d4e7e OP-77 GCS-Removed alterations from the lib (serial port qlists sorting moved to plugins sources), added conditional compilation to serialplugin and uploader plugin.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@719 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-05 20:08:07 +00:00
dankers
fb9e8563b8 GCS Compile fix, other misc bits in my tree
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@718 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-05 17:26:13 +00:00
edouard
dbcfea244e Linear dial: now connects to objects and prints field name. I will add field value + unit later. Tests welcome on real HW. Need to also add a font chooser in the config. Use with dials-master-linear.svg
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@715 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-04 10:43:54 +00:00
stac
207e4b6a75 gcs serial: fix for serial ports on linux (try #2)
This change adds '/dev' to the beginning of the portName
on Linux.  This doesn't seem quite right but using physName
breaks serial port functionality on Windows.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@714 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-04 00:49:18 +00:00
dankers
4615047608 WIP. Can people please test if this works for telemetry on both Win, Lin and Mac?
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@713 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-03 20:09:28 +00:00
stac
6225fedbb5 gcs serial: fix serial port telemetry on Linux
On Linux, port.portName is the simple name of the serial port
like 'ttyS0'.  The physical name of the device is '/dev/ttyS0'.
This value is stored in port.physName.  This bug doesn't get
in the way on Windows since 'COM1' is both the simple name as
well as the physical name.  On Linux, the distinction is
important.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@710 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-03 13:58:21 +00:00
ephy
754544f82b GCS/core: Turn off logger before exiting.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@698 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-01 13:43:12 +00:00
ephy
845bc99c03 GCS/core+plugins: Missing files in rev 695. Changes to options pages to make them more uniform.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@696 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-01 08:53:01 +00:00
ephy
4a974de1b5 GCS/core+plugins: Changes to options pages to make them more uniform.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@695 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-01 08:07:53 +00:00
ephy
cea963e96b GCS/core: Preliminary support for more than 2 workspaces in GCS.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@692 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-30 18:57:33 +00:00
edouard
3ea3bf4018 Less agressive smoothing on the dials, add a factor option to dials for quick unit conversion, and allow negative max value for range settings.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@689 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-30 16:05:00 +00:00
vassilis
c2a30176de GCS/HITL Simulation with FlightGear, only tested on Win7, see http://wiki.openpilot.org/HITL_Simulation for more details and video.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@686 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-30 02:12:53 +00:00
vassilis
30a127ebad GCS/UAVObjects Modify update rate and acked flag of periodic objects, added new gpsobject fields
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@683 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-30 01:55:47 +00:00
vassilis
7bc37e891d GCS/UAVTalk Added TelemetryMonitor, generates signals on autopilot connect/disconnect
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@682 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-30 01:52:31 +00:00
vassilis
4893dead52 GCS/Modelview Implemented real-time updates from AttitudeActual object
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@681 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-30 01:50:46 +00:00
vassilis
3fae030433 GCS/Map Implemented read time updates from GPS object
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@680 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-30 01:49:51 +00:00
edouard
b246079a35 Corrected typo in the minimum value settings.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@676 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-28 09:04:03 +00:00
edouard
9e76bcca1b Cleanup of dials plugin, signal disconnect should now work properly and the overall gadget should be more robust when changing the dial multiple times during a session.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@675 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-27 22:14:18 +00:00
edouard
838f312309 New thermometer dial, measures from -30 degrees C to 90 degrees C. Updated settings UI for the analog dials to accept negative values.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@674 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-27 16:29:52 +00:00
edouard
dd5d60b11e Solved (?) the signal connection issue, plugin now should work with multiple dials at the same time, and any on the fly object reconnection. Real life testers needed!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@673 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-27 13:51:30 +00:00
edouard
eedb81de9d The Analog dial widget now fully works! Testers with actual needed.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@671 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-27 09:47:42 +00:00
edouard
80956a2766 Analog dial gadget now uses combo boxes for choosing the UAVObject: more user-friendly, less error-prone.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@666 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-25 16:11:39 +00:00
sambas
f7f1b37c62 OP-25 Flight/GPS: More object fields for GPS module
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@664 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-25 05:14:52 +00:00
vassilis
06c9bef7aa GCS/Attitude Minor change in field names and task priority
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@663 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-25 00:50:35 +00:00
stac
46101794e3 gcs: quiet some debug messages on tx via USB HID
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@657 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-24 16:33:44 +00:00
stac
6b2760da1a USB HID: basic COM functionality over USB HID
This fixes the COM interface over USB HID to the point where
it can establish and maintain solid communications with the UAVObject
Browser in the GCS.

Tested only on Linux.  The USB HID interface is still disabled for now
until it is tested successfully by a wider group.

Edit telemetry.c and set ALLOW_HID_TELEMETRY to 1 to enable telemetry
over the USB HID interface and report your results in the forum.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@656 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-24 16:33:40 +00:00
stac
69de42db49 Add AHRS attitude module and driver skeletons
- New Attitude module for AHRS (skeleton)
 - New AttitudeSettings UAVobject
 - New AttitudeActual UAVobject
 - Regenerated UAVobjects
 - Added new UAVobjects to OpenPilot and GCS builds
 - New PiOS driver for OpenPilot AHRS (stubs only)

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@655 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-24 16:33:36 +00:00
vassilis
f1b6b5e410 GCS/Altitude Update altitude object with new metafields, modified update rates in XML and flight s/w
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@646 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-20 01:22:22 +00:00
vassilis
713c76bc6e OP-48 GCS/UAVObjects Update object generator to support the new access mode metadata fields. XML object definitions also updated, see r643 for more details.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@644 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-20 01:01:01 +00:00
edouard
c4832e3436 Update plugin dependencies
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@642 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-19 16:07:44 +00:00
edouard
195f5b8a75 Connected Dials plugin to UAVObjects. Does not actually update yet but we're getting there.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@641 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-19 16:07:11 +00:00
stac
d02a3325d9 altitude: Add altitude module which reads BMP085
This module reads from the BMP085 pressure sensor.  It periodically
updates the pressure (kPa) and temperature (C) as well as the
calculated altitude (m).

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@640 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-19 04:55:56 +00:00
ephy
ca1ad2fbcf OP-9 GCS/uavobjectbrowser: Tiny update to ui form.
Commit one-oh-oh for me. :)

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@634 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-17 17:11:36 +00:00
vassilis
d2dfb1fdea OP-32 GCS/Objects Initial release of ManualControl (ServoIn) and Actuator (ServoOut) related objects. Still work in progress.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@633 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-17 02:03:15 +00:00
stac
56f1e8b547 uavobjects: Move generated python classes
Moved the generated python classes from the flight directory to the
ground directory since they are only used on the host, not the
embedded targets.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@628 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-16 03:05:10 +00:00
sambas
9922df3524 Added 38400 for my XBEE
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@613 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-08 16:22:41 +00:00
vassilis
8eab65a17b OP-4 GCS/Telemetry Add connection timeout detection
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@609 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-08 04:11:25 +00:00
vassilis
9c800f6007 GCS\Telemetry Implement telemetry settings object
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@606 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-08 02:43:26 +00:00
vassilis
85e5d74710 OP-4 GCS/Telemetry Flush telemetry queues while connection is not yet established (to remove stale data)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@604 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-08 00:21:49 +00:00
edouard
dafdac14e2 The System Health gagdet now works: load the system-health-path.svg file from the config dialog, and send system alarms to it!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@603 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-07 22:19:27 +00:00
edouard
e965ee0771 First connection of System Health plugin to system alarms. Only debug code for now.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@601 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-07 16:01:49 +00:00
ephy
ea108813ab OP-9 GCS/uavobjectbrowser: Refactoring.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@599 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-07 07:03:28 +00:00
vassilis
23ed286883 GCS/UAVObjects: Merged all UAVObjectFields into a single class using a QVariant for the data, updated UAVObjectBrowser and fixed a bug with array fields, added isNumeric() and isText() functions to UAVObjectField
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@598 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-07 01:49:38 +00:00
edouard
df419e281a Added system health plugin
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@594 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-05 16:10:29 +00:00
edouard
bb21f6c6b9 Start of System Health plugin. Only displays the mainboard components for now, does nothing more. Waiting for more info on system alarms before continuing. This gadget can in theory display alarms from any subsystem given the right SVG source file.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@593 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-05 16:09:37 +00:00
edouard
2b6ffc8bb0 Fixed the small display bug in the linear dial. Display code is now OK, what is missing is: writing numeric value, connecting to input (either uavobject or other abstraction level)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@591 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-05 13:20:57 +00:00
edouard
19b6c70588 Configuration now works, much better way to display the zones - explanations to come in the wiki concerning dial design. Remaining display bug of index, will fix later.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@590 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-05 12:17:10 +00:00
ephy
35437220a2 GCS/Lineardial: Compile fix for Linux (case sensitive)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@588 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-05 10:05:24 +00:00
edouard
10215c96c3 New "bargraph" dial. Use with the recently uploaded linear dial SVG. Settings to not work at the moment, I'll add them later.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@585 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-04 23:09:39 +00:00
vassilis
7edfaa5f26 GCS/ObjectBrowser Added erase button and modified load and save buttons to act on only the currently selected object
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@581 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-04 02:12:50 +00:00
vassilis
e22aaa939e OP-4 GCS/Telemetry Implemented telemetry connection manager, persistent objects are now automatically retrieved each time a new connection is established (to ensure that the GCS objects are in sync with the Flight objects), minor telemetry bug fixes
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@579 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-04 01:31:06 +00:00
edouard
2dc5e416ac Smooth and fast needle rotation, using timers. The only remaining thing is to do the actual connection to UAV Objects - everything is in place, configuration-wise.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@575 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-03 05:59:41 +00:00
julien
5ad8ab3de7 GCS/DoNothing : Updated dependencies in .pluginspec
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@574 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-02 17:20:20 +00:00
julien
38171a89c5 GCS/connectionmanager: Trying to fix segfault reported in OP-70
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@573 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-02 16:13:12 +00:00
edouard
7ce98b0bf5 Bugfix (division by zero error if Maxvalue=0...). Rotation code can/should be improved, but still, it's a start.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@571 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-02 14:32:44 +00:00
edouard
61804f91dd Settings for SVG analog dials all finalized except actual connection to UAVObjects. The test code randomly assigns values to the dials to demonstrate smooth needle rotation. Let me know if you like it!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@570 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-02 14:07:00 +00:00
edouard
2ab8ea6eb3 Full featured option page for analog dials up to two analog indicators. Ongoing work, the settings are not fully active yet.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@569 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-02 11:13:18 +00:00
edouard
06dac9cb09 Updates to airspeed gadget: the background SVG file is now defined in the configuration options, is properly saved and restored between sessions, etc. Several dial configurations can be defined. Next step is to enhance the configuration system to create generic dials.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@568 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-01 22:19:12 +00:00
vassilis
fe29624590 GCS/Objects Metaobjects are now also stored in CF and retrieved on power-up. At this time settings and meta objects are automatically loaded on startup if they have been saved in the CF card (to test use Save button in the object browser), if a file is not found in the CF card then the defaults specified in the XML file will be used.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@560 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-30 02:27:37 +00:00
edouard
c9ef6dcfeb Added the beginning of an options page for the airspeed gadget: eventually this should become a more generic "analog dial" gadget supporting any sort of analog indicator with one or more rotating needles and text display. The options do nothing at the moment, it is just ground work for later.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@559 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-29 16:08:58 +00:00
vassilis
ce4aa6efc6 GCS/UAVObjectGenerator Added support for default field values (used to initialize settings with defaults)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@557 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-28 01:50:53 +00:00
edouard
4ef9c7de22 Make the Airspeed gadget dials resize dynamically when the gadget size changes.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@555 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-27 14:04:06 +00:00
vassilis
d04983a6a5 GCS/Objects Updated systemalarms.xml
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@553 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-27 01:52:30 +00:00
ephy
c6ca9772e5 GCS/qxt: Add libqxt to libs.pro
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@551 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-26 05:12:56 +00:00
vassilis
fcc94eaec0 OP-4 GCS/Telemetry Implement CRC in telemetry protocol
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@550 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-25 21:20:28 +00:00
ephy
2dc193ae5a GCS/console: Fix coloring misbehavior.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@548 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-25 18:50:11 +00:00
ephy
8f5ecf399d GCS/consolegadget: Addition of primitive console gadget that displays log messages.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@546 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-25 18:01:13 +00:00
ephy
c51c7f72e7 GCS/core: Add logging support to core.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@545 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-25 17:55:21 +00:00
vassilis
e406db3786 OP-4 GCS/Telemetry Limit transmit buffer size
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@542 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-25 02:21:36 +00:00
vassilis
dbba3b95b3 OP-4 GCS/Telemetry Bug fixes and improved response when telemetry bus is fully loaded
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@538 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-24 04:00:30 +00:00
vassilis
22251f195d GCS\ObjectGenerator (more) Minor changes on the way named arrays are implemented
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@537 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-22 00:56:11 +00:00
vassilis
56f88a6a79 GCS\ObjectGenerator Minor change on the way named arrays are implemented
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@536 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-22 00:44:14 +00:00
ephy
5b5cdd23fa GCS/core: Place empty gadget first in drop down list.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@534 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-21 05:47:38 +00:00
ephy
2cadc80818 GCS/config: Rename config.pluginspec -> Config.pluginspec
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@533 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-21 04:54:19 +00:00
vassilis
8622b7323d GCS/UAVObjectGenerator Added support for named arrays (i.e. each array element can have a name - needed for alarms), updated object browser to display names instead of just array index.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@532 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-21 02:50:51 +00:00
pedro
62f3f3c42e added config plugin
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@529 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-19 21:03:48 +00:00
pedro
87aae1ea77 OP-38 ConfigGadget - just the inicial classes
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@528 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-19 21:02:15 +00:00
julien
28cd8f002b GCS/airspeed: fixed build for Windows
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@527 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-19 19:03:40 +00:00
chebuzz
119280edbc OP-60 GCS/Dials: Create first analog dial. This uses a single multi-layer SVG file created by Edouard. Work remaining involves accepting a UAVObject to update display and smoothing the rotation of the two needles.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@526 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-19 06:38:03 +00:00
sambas
0ec2156f4a OP-25: More fields for GPS Objects, preparing gpsinfo remove
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@521 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-18 07:14:00 +00:00
vassilis
b92cf530a5 OP-4 GCS/System Created CPU utilization measurement and created object to report system information (load, heap and time)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@520 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-18 02:14:42 +00:00
vassilis
ed48dc25de GCS Updated gpsobject XML file (made it a single instance - less protocol overhead)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@518 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-17 22:28:50 +00:00
vassilis
fdbcc1921f OP-4 GCS/Telemetry Create new objects to report statistics of the telemetry link (plus a few bug fixes, heap size was also increased)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@516 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-17 22:17:25 +00:00
sambas
670ac85e79 OP-25: GPS object update
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@513 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-17 08:12:05 +00:00