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

289 Commits

Author SHA1 Message Date
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
zedamota
df4ae77798 OP-37 GCS/MapPlugin cleaning and bug hunting
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@706 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-02 20:27:13 +00:00
zedamota
570bbb4353 OP-37 GCS/MapPlugin cleaning and bug hunting
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@705 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-02 20:26:48 +00:00
zedamota
f31cd81a8d OP-37 GCS/MapPlugin cleaning and bug hunting
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@704 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-02 20:22:31 +00:00
zedamota
9de32fa040 GCS/Tools DocumentationHelper - Just a small app to help with my laziness
Just choose a folder and the app will fill the license header in .h and .cpp files with the proper filename and user selectable DefGroup.
Also inside the same folder it can create a namespace with user selectable name.
Additionally it can create #if #endif blocks around qDebug's ex #ifdef DEBUG_name_of_file_uppercase.
This was made for my needs, use it at your own risk.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@701 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-01 22:28:45 +00:00
zedamota
0492641f31 OP-37 GCS/MapPlugin filename renaming only
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@700 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-01 22:20:18 +00:00
zedamota
1f8bee643d OP-37 GCS/MapPlugin Widget user interaction started. Panning done (default right mouse button), MouseWheel Zooming done.
Fixed minor bug in get tiles threadpool 
Divided project in 3 different namespaces, introduced license info.
Current test project is "widgettest"

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@699 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-01 22:08:57 +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
147996935d GCS/utils: Small fix to PathChooser for Windows.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@697 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-01 12:27:04 +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
zedamota
76802e0d38 OP-37 GCS/MapPlugin
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@690 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-30 17:16:35 +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
zedamota
198045b292 OP-37 GCS/MapPlugin
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@679 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-29 19:43:16 +00:00
zedamota
ab34bbfa7a OP-37 GCS/MapPlugin Some fixes to core, fixed sqlite multi-thread access, changed some things from being created on the stack to the heap (I'm starting to sound like a C++ developer...lol)
Continued work on the widget stuff

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@678 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-28 19:39: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
zedamota
ac80771774 OP-37 GCS/MapPlugin Core done, started widget part.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@667 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-26 16:19:34 +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
zedamota
630c1325d8 OP-37 GCS/MapPlugin First Commit, NOT fully functional.
Standalone compilation, not included on the top level project. 

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@661 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-24 19:53:44 +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
vassilis
41d60a00fa GCS/ObjectGenerator Implement field initialization for arrays
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@627 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-15 21:28:22 +00:00
stac
e05f4cf068 uavobjects: Added support for generating python classes
The uavobjectgenerator can now generate python classes for each
UAVObject definition.  This is useful for writing simple test
applications in python that can exercise the UAVObject handling
code on the embedded boards.

This is a work in progress so the structure of the generated
classes is likely to change.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@623 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-14 04:32:30 +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