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

883 Commits

Author SHA1 Message Date
nickolay
53c630c7eb [HITL] : - add X-Plane bridge;
- appropriate and needed changes in HITL core files;

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1724 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-23 15:16:45 +00:00
cranphin
e217f8fc31 GCS: Whoops! I broke saving layout for empty workspaces. This should fix
it, Sorry! :)


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1723 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-22 22:28:52 +00:00
corvus
e44045f422 OP-165 : Guidance Module
Creating GuidanceModule together with PositionDesired UAVObject (as discussed),
so dschin and me can work on it :-)
Will compile and (on sim_posix) execute, but PID logic is yet untested and preliminary.



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1722 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-22 22:16:48 +00:00
cranphin
d9dc37ad33 GCS GpsDisplay: Display PRN numbers in constellation, and some cleanup.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1721 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-22 21:36:11 +00:00
cranphin
e4d317f40e GCS: Drop read support for binary plugin configuration. If you haven't converted your old ini yet, load it up once in a revision built from source before this change.
See also: http://forums.openpilot.org/topic/1850-existing-configuration-files-read-this-if-you-have-them/

Note: Reading binary layout (which gadgets are shown in each workspace and how they are split) still is available, since that was a later change. That'll get done somewhere in the future :)


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1720 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-22 19:57:02 +00:00
pip
c734584b01 Tidied up the zoom code in the map widget plug-in.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1719 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-22 08:42:38 +00:00
edouard
3dec1b4105 Added Compass dial to GCS share directory as it is working fine. Reminder: "artwork" is for work in progress and the developer repository for artwork in general.
the share/openpilotgcs/dials contains the dials artwork which are installed with the GCS.



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1718 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-22 08:38:24 +00:00
peabody124
3c647f3481 Ground/UAVTalk: Export UAVTalk object so logging compiles on windows (and reenable). Cross platform my ass.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1717 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-22 06:11:34 +00:00
peabody124
5cd8791f7a Ground/Logging: Disabling this plugin by default until we get it building on windows
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1716 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-22 05:28:20 +00:00
peabody124
5771769acf Ground/Logging: Change replay state at end of replay file to stop lock up
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1715 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-22 01:04:24 +00:00
peabody124
674ee88f6d More Q_UNUSED
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1714 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 22:53:08 +00:00
peabody124
b376350bc2 Ground/UAVTalk: Add destructor and make sure it's called in Logging when stopping logging to disconnect the signals.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1713 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 22:52:49 +00:00
peabody124
2a9fd99b06 Ground/Logging: Support for pausing and resuming playback and time rescaling plus an (ugly) toolbar to control it.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1712 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 21:43:23 +00:00
peabody124
d30c6830e7 Ground: more Q_UNUSED
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1711 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 20:17:55 +00:00
les
ef7ee86d45 Mixer: zero throttle shuts off motors and changed MixernMatrix to MixernVector
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1710 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 19:31:17 +00:00
peabody124
b6bffaeb27 Ground: Cosmetic change
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1709 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 19:29:45 +00:00
peabody124
af6b6d91a3 Ground: Suppressing some more random unused variable warnings
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1708 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 19:29:43 +00:00
peabody124
df0ed37d29 Ground/Logging: Supports replay. Still needs a sexy widget to allow seeking (although seeking will be difficult since technically it depends on the entire state but we can probably ignore that). Also I think the interface for replay shoudln't be through a menu item but should be like any other connection. The way I implemented it (custom QIODevice that buffers the logfile and reads the timestamps) makes this pretty easy to do. I'm just not familiar enough with the connection manager to do this. This means currently if you're connected to device and start a replay you get updates from two places.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1705 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 19:28:01 +00:00
peabody124
a56e757003 Ground: Supress a few warnings. A drop in a bucket...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1704 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 16:37:59 +00:00
peabody124
7a8424e98e Ground/UAVObjectField: Explicitly handle case of bad enum values to avoid crashes. Still shouldn't occur.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1703 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 16:36:04 +00:00
peabody124
f96654ace1 Adding mixerstatus/mixersetting uavobject files that were missed
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1701 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 07:08:51 +00:00
peabody124
5c9701753b OP-24 Ground/Logging: Made logging module use QIODevice passed to UAVTalk which inserts timestamps and object sizes. Should be trivial to implement read functionality. Need to confirm that QIODevice writes the data in the correct size though so timestamps are in the write place for sure.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1700 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 07:07:39 +00:00
cranphin
0634f8ec53 This should fix the problem with splitter positions not being stored when the workspace their on isn't viewed before closing GCS, as Edouard found out.
The source of this problem is that QSplitter.sizes() only returns the sizes set by setSizes() after the QSplitter is actually shown. Even though save/restoreState manages to retrieve them in the same situation. I think it's a bug, not sure if I can be motivated enough to report it though :)


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1699 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-20 20:11:16 +00:00
les
875437f483 Added matrix based actuator mixing. Note the makefile is set to use the original actuator code.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1698 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-20 19:27:08 +00:00
zedamota
7a69feea8c OP-21/Flight PC app - Minor change.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1694 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-19 20:53:00 +00:00
cranphin
318a60e05e GCS UAVGadgetManager: Minor bugfix, wasn't always deleting oldstyle
subgroups, which would cause them to be loaded.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1693 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-19 19:16:01 +00:00
zedamota
5c848d4944 OP-21/Flight PC app - Created AbortOperation function.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1692 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-19 18:34:20 +00:00
cranphin
400f832b3c GCS: Import/Export The checkboxes didn't work, fixed :)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1690 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-19 12:39:04 +00:00
cranphin
0441b8b786 GCS FlightGear sim: This is how it's done in the manual, and seems to
work well for me :)


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1689 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-19 12:37:41 +00:00
cranphin
e59a58aa0e GCS: Remove support in [UAVGadgetManager] for Settings/DefaultSettings.
Wasn't really used since it wasn't properly finished (no support in UI).
The idea of having ways to support defaults is good, but can probably be
done better in a different way. (I like the idea of a embedded second
ini file, which serves as 'default'. But many ways are possible).

AS usual, write support removed, read support still there for now.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1688 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-19 12:35:48 +00:00
edouard
33494ffc7c OP-160 Curve widget: 1st working version. Use "initCurve" with a list of double to create a curve, and connect to the curveUpdated signal to
read it (or call getCurve manuall).


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1687 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-19 08:49:48 +00:00
osnwt
88de8f789a Ground/OPMap config page: fixed vertical stretch of Default longitude textbox.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1686 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-19 08:40:57 +00:00
edouard
be7ff70491 OP-160 Small progress on the widget, points move vertically only now. Next commit will be fully functional.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1685 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-19 05:47:18 +00:00
zedamota
40c9c208cf OP-21/Flight PC app - Update to work with embedded changes.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1684 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-18 23:39:37 +00:00
martin
900c19a2ee Update Russian translation
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1680 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-18 08:22:33 +00:00
zedamota
569e7a94e7 OP-21/Flight PC app - Added send delay.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1679 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-18 00:47:45 +00:00
edouard
35c36da060 OP-160 Rough draft of mixer curve widget, for comments. I will make it look nicer later, this is just for seeing what can be done.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1677 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-17 20:49:24 +00:00
edouard
b435053e66 High-Contrast dials for the share directory (text converted to path for being independent from SVG renderer capabilities and
installed fonts)




git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1672 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-17 09:01:27 +00:00
cranphin
b1b4b15ef4 GCS: Also zero the structures in the il2 sim.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1668 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-16 22:35:36 +00:00
cranphin
3d43f1cff1 GCS: Zero data structures, since this is not Java ;)
I was getting some weird initial random values from the sim.
This fixes that.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1667 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-16 22:32:49 +00:00
cranphin
303d2c19e1 Pass the correct port numbers to the simulator.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1666 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-16 21:54:25 +00:00
cranphin
96990b5f60 GCS: Make [UAVGadgetManager] also human readable.
Makes the ini file a bit more verbose, but debuggable/hackable :) (Not to mention more robust).

Again, I left in support for loading the binary version, so this shouldn't mess up people's configurations. Keep a backup handy anyways :)

In the future, that needs to be removed though.

Anyone with a 'old style' configuration may notice the binary versions are left in the ini file, I can't easily delete them without deleting the new groups also, but they won't cause any problems, and aren't read. Feel free to delete them for a clean ini file :)

I left in the 'DefaultSettings' stuff, but I think it can be removed too ( or whatever it was meant to support should be added :) ).


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1664 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-16 19:52:12 +00:00
edouard
4888b34ac8 This time, the OPMap config dialog should have a consistent look on all platforms. Or??
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1662 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-16 17:24:35 +00:00
edouard
9a31fea559 OP-153 Implemented a default storage path: "OpenPilot" in the user's home directory. OPMap will use this as its default path for its mapscache.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1661 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-16 17:17:42 +00:00
peabody124
3b015b41c5 Flight: Got a much nicer arming/disarming system going. Made it a separate flag in the end to allow testing the stabilization code with motors not running. Also changes maxRoll/maxPitch/maxYaw to uint8 to keep object size smaller - no reason for float precision for this.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1660 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-16 15:41:11 +00:00
peabody124
a6e71177e4 AHRS: Yaw stabilization now supports rate stabilization or heading hold. Also need to cleanly support rate stabilization on all the other axis. Les suggested this be in manual mode which will require changing the logic somewhat (essentially for vtol it will always be running through the Stabilization module) in an aircraft dependent manner. An alternative would be a stabilization flag indicating to do full attitude hold, attitude + yaw stabilization, or all axis gyro stabilization. This would be my preference.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1659 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-16 15:41:08 +00:00
peabody124
64018c88c1 OP-144 Ground: Removing assert on getObject when it returns null because this seems to happen whenever uavtalk gets a bad message.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1658 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-16 06:20:49 +00:00
peabody124
89ba1b59fa OP-144 Ground/UAVObjects: Add assert(0) when returning null in getField/getObject as there is no reason to try and get a non-existing field. Hopefully this will help us more explictly catch any bugs from this. No objects in IRC or http://forums.openpilot.org/topic/1648-uavobjectgetfield-setvalue-behaviors-etc/ but feel free to revert if I'm missing something.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1656 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-16 05:43:48 +00:00
peabody124
dd0668c164 Ground/Logging: Finally add object ID and instance ID to information logged so it _might_ be readable. Still want to move size into the UAVTalk protocol and use that for logging.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1653 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-16 05:07:30 +00:00
peabody124
885c966e53 AHRS: Added a tracker for number of ADC updates the EKF misses. Also updated the Telemetry autogenerated files to accomodate the 11500 baud rate.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1652 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-16 02:59:00 +00:00