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

998 Commits

Author SHA1 Message Date
peabody124
9b28f2d72c OP-167 OP-157 AHRS/Calibration: Added mag scale and really cleaned up calibration.
Calibration should take less time now too (using second moments to estimate
variance in one pass).  Now need to change to multiple messages to get the
calibration in to keep the request message size minimal.  Also currently
running sensor calibrate doesn't store the gyro bias so if you want to use this
you'll have to tweak it manually.  I'll fix that step tomorrow.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1741 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-25 09:20:38 +00:00
edouard
fd370f571d OP-138 Initial Quadcopter mixer UI, to be refined. Quad shapes artwork.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1740 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-24 23:02:32 +00:00
edouard
ef222a8739 OP-138 Mixer interface: implemented Elevon fixed wing. Not flown either.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1739 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-24 22:16:20 +00:00
edouard
918770f4a2 OP-138 Standard Fixed wing mixer implemented. I have not flown with it yet, take your responsibilities :)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1738 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-24 21:24:42 +00:00
edouard
eedf85a5ac OP-138 Start of the new Mixer configuration interface, for fixed wing only. This does not work yet, takes a long time to fully implement.
The system settings UAVObject is updated, you will have to recompile your firmware. If you want to take a look and let me know, please do!



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1737 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-24 20:39:37 +00:00
zedamota
fa4818542e OP37/GCS MapLib - Fixed drag with digital zooming, enhanced graphics quality
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1735 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-24 19:28:40 +00:00
dankers
d9b890791c Basic Chinese translation for the GCS.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1734 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-24 18:17:34 +00:00
edouard
fde1615fed OP-138 Preliminary work on the mixer settings (in the config/airframe tab).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1732 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-24 06:22:53 +00:00
peabody124
7a49f13540 Ground/OPMap: Fix compile error that PT made:
http://img93.imageshack.us/img93/8520/angrymonkey3uv.gif
Also I'm not sure ZoomReal is correct, this just gets things running.  There
are some quirks with the OPMap scroll bar now that need to be addressed.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1731 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-23 23:23:47 +00:00
cranphin
1758f55f1c GCS GPS Display: Noticed redrawing got real slow if I left the GPS
Display running for a while. I'm blaming that on the text area filling
with a million lines, though that still needs to be confirmed.
So I added a arbritrary 200 line limit, after which lines at the top
start disapearing. Seems sensible anyways :)


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1730 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-23 22:19:40 +00:00
corvus
1472b342c1 1.0 Featur Freeze -
Removing some Experimental and Incomplete Modules and their UAVObjects not suited for 1.0
- they will be moved into an experimental branch:

Navigation     : experimental code only
FlightSituation: experimental code only 
Guidance       : preliminary draft - possibly to be replaced by peabody124 position hold code if finished in time.



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1729 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-23 22:05:03 +00:00
cranphin
e5c8c2129f GCS GPSDisplay: Add SNR bars, fix sattelite indexes from nmea parser.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1728 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-23 21:35:08 +00:00
zedamota
aec96a3867 OP37/GCS MapLib - Upgraded to new google versions.
Zoom now as no limit.
Other changes:
OPMapWidget:
SetZoom(double) accepts any value. Ex:19.4
double ZoomReal() returns the true zoom.
double ZoomDigi() returns the current digital zoom.
double ZoomTotal() returns digital+true zoom.
SIGNAL:
void zoomChanged(double ZoomTotal,double ZoomReal,double ZoomDigi);

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1727 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-23 21:13:18 +00:00
edouard
7598973824 Removed useless debug output from the dials plugins, to make GCS less verbose.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1726 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-23 20:17:17 +00:00
corvus
7125378cae OP-169 - Fill in new NED vector values from flight simulator
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1725 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-23 19:48:08 +00:00
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
peabody124
19e80da928 AHRS: Update UAVObject with information about AHRS rate
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1650 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-16 01:54:21 +00:00
edouard
04fea701d4 Make OPMap options page a bit nicer with resize and consistent with behaviour of other config dialogs.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1649 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-15 19:51:34 +00:00
zedamota
63805b8f3b OP-21/Flight PC app - CRC use
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1648 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-15 18:07:25 +00:00
pip
c8ac6eb712 Added 115200 option to telemetry speed
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1636 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-15 16:50:31 +00:00
pip
9c94db6dd7 Added 115200 baud option to the UAVTalk telemetry.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1633 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-15 14:47:38 +00:00
edouard
d280204dd8 OP-151 Also update OPMap widget to use PathChooser, and make it use the path translation utilities. Not relevant on every platform, since typically on a Unix, the share path will not be user writeable. Still, doesn't hurt.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1619 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-14 20:27:39 +00:00
edouard
1cbd44f564 OP-151 Use PathChooser in all plugins, and update pathutils to behave consistently across platforms by always using "/" as its internal format. Should solve the issues we have been having with windows paths not being removed properly.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1618 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-14 16:58:40 +00:00
peabody124
1051d894b9 AHRS: Merged in some new code from Dschin that expliclity writes the prediction terms in the covariance matrix. Also made changes to compile with -Os. Now runs around 125 - 150 Hz depending on corrections used (this will become adjustable from GCS shortly).
Squashed commit of the following:

commit 897e3365ab6c762584c34238efd12dc144e72af0
Author: James Cotton <peabody124@gmail.com>
Date:   Mon Sep 13 22:15:21 2010 -0500

    AHRS: Getting it running nice and quickly.

commit 53d72fb849164730c89873cab81c9e09be0b112b
Author: James Cotton <peabody124@gmail.com>
Date:   Mon Sep 13 15:57:46 2010 -0500

    AHRS: Make more variables volatile for -Os.

commit 4fa90821b5d3d8c2ea5e67756313a8a63c0eeb8c
Author: James Cotton <peabody124@gmail.com>
Date:   Mon Sep 13 15:11:31 2010 -0500

    AHRS/Makefile: -O0 not added to allow me to try various space flags that don't break code.

commit 5bd17a304dc28dc271c2f3e8c6cb8ad4a830404f
Author: James Cotton <peabody124@gmail.com>
Date:   Mon Sep 13 14:44:05 2010 -0500

    AHRS: Make debuggign USART easy to disable

commit 5453f2a7939492769fe9e9cc822e69c107320670
Author: James Cotton <peabody124@gmail.com>
Date:   Mon Sep 13 14:38:37 2010 -0500

    AHRS: Explicitly expand covariance prediction.  Brings computations from 160 to 90.  Makes it not fit in AHRS though.

commit b6712da7eece2a464a2073d24b77be22bfa47094
Author: James Cotton <peabody124@gmail.com>
Date:   Sun Sep 12 22:59:42 2010 -0500

    AHRS: Make it easy to comment out the I2C/Magnetometers.

commit 8c84d0091f3d6f6bedc7a0224a4ed9cb099b022b
Author: James Cotton <peabody124@gmail.com>
Date:   Thu Sep 9 00:49:50 2010 -0500

    AHRS: Small change to INSGPS analysis tools

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1613 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-14 06:42:56 +00:00
sambas
41a23a8eeb Ground/GCSControl: weird problem with assert in windows environment, this hack seems to help it
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1608 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-13 15:12:58 +00:00
martin
ba18af6ed9 Update Russian translation
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1606 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-13 00:54:02 +00:00
martin
f03958b4a6 rollback to the previous path to *.qm files
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1605 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-13 00:08:40 +00:00
peabody124
10cfeeb35f AHRS/Matlab: Small bug in the quaternion transformation in case anyone else uses this :)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1602 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-12 21:22:44 +00:00
erhard
be1dc09c29 OP-99 Import/Export: Reflect the format-changes from 1599 in the version-number.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1600 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-12 21:05:35 +00:00
cranphin
f826ee0a20 Use QSettings key/properties instead of byte arrays for plugin configurations.
I've left in the reading of the byte arrays for now, so people can load their old config files, on the next save they'll be converted. This should be removed at some point in the not too far future though, since it's a lot of duplicate code in each plugin.

I've converted all the plugins, it's certainly possible I made a typo somewhere, I tried to test as much as I could, sorry if I broke something though :)


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1599 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-12 16:24:54 +00:00
erhard
ddf6ee46ee OP-99 Import/Export: Prepare for version compatibility.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1598 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-12 15:51:14 +00:00
peabody124
e90e714c2b Flight: Tweaked the throttle handling and VTOL use of it to make sure engines can be shut off easily in stabilization mode.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1593 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-12 02:54:49 +00:00
peabody124
56131476ef AHRS: Switch to sampling at 2khz, plenty of CPU usage. However need to make EKF rate different for outdoor mode with this patch because otherwise will drop samples :-(
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1592 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-12 02:54:47 +00:00
peabody124
5d1ebf76ea Flight/VTOLmixer: Fix bug in mixer that messed up roll mixing. Also changed minimum to -1 so that neutral can be position motors come on and -1 the off position. Also made failsafe throttle value -1 to be consistent.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1591 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-12 02:54:44 +00:00
peabody124
c376711405 Flight/Stabilization: Make the derivative account for the sampling time (dAngle/dt) for the PID loop since integral does and also make the integral bounds uavobject settings. It was originally bounded by constant/Ki but I'm not sure why as you change the gain of the error integral you also want to decrease the maximum error it can cause.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1590 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-12 02:54:41 +00:00
peabody124
8999355327 Flight: Made actuator a periodic task. I don't think the queue is low enough latency - should figure out how to make this happen as callback is the right way to go.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1589 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-12 02:54:38 +00:00
peabody124
dceb20b16d Flight: VTOLStatus object that returns the thrusts on all the engines
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1588 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-12 02:54:34 +00:00
peabody124
bba3b0c64a Flight: VTOLSetings object to contain the mixer settings for VTOL crafts
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1587 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-12 02:54:30 +00:00
edouard
929f7dd5d8 Make Notification plugin sound path portable too.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1579 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-11 21:17:44 +00:00
edouard
ce53757baa Servo input config was missing the accessory inputs. Changed the plugin to remove any hardcoded value, so it should be safe for future new channel assignement types
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1578 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-11 09:05:42 +00:00
edouard
3d388d2e93 Modelview: another ugly fix to complte the first one. There is a lingering issue of initing the GL context on the first valid
model that is loaded, this fix addresses it but it could be much more elegant, I'm sure.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1576 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-10 15:25:05 +00:00
edouard
4d399d7034 Fix for Mac build, sorry
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1575 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-09 22:01:45 +00:00
edouard
beed9c8936 Solved (please confirm) modelview crashing on non-existing files
Made configuration portable for: dials, bargraph dials, pfd, modelview and system heatlh
THis means: if your config points to resources in the share directory, then the config will be portable


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1574 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-09 21:18:43 +00:00
cranphin
3b0b860c7b GPS Viewer: more layout tweaks. This looks kinda Ok, I think.. :)
Suggestions/complaints welcome ;)


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1573 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-09 21:01:47 +00:00
cranphin
4db1849c6c GPS Viewer: Use a grid layout for the 4 main parts.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1572 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-09 20:12:42 +00:00
cranphin
2634067727 This should scale a bit better again, hopefully :) more coming!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1571 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-09 19:56:16 +00:00
edouard
2b70ed53f7 New "PathUtils" Utils function, to help plugins detect where the "share" directory is located. Should be improved but it is a start.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1569 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-09 15:17:37 +00:00
cranphin
38f0cffede GPS Viewer: Try to improve scaling a bit, add split thing between log
and main view. Hope noone dislikes the changes ;) QT Layouts are fiddly!
:) Kinda a work in progress still.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1566 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-08 23:20:31 +00:00
edouard
4b3096dd57 OP-38 Ground / Config Gadget: implemented channel reversal for output channels.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1564 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-08 21:31:09 +00:00
peabody124
cd9f5a0a5d Ground/Logging: Fix bug overwriting timestamp. Thanks Cranphin.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1563 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-08 18:48:16 +00:00
peabody124
6cdb9b0b48 AHRS: Added Matlab code to analyze the INSGPS friendly data dump format and plot the important variables. This requires "DUMP_FRIENDLY" be enabled in the file.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1560 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-08 06:15:21 +00:00
peabody124
e499f33fd5 AHRS: Improved code to stream raw data from AHRS and added a matlab function to acquire and analyze the data. The QT program to analyze it should work but QextSerial seems to have a bug and drops or inserts data
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1559 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-08 06:15:18 +00:00
edouard
b53f19dc03 OP-38 Ground/Config Gadget : another try at making AHRS settings more intuitive. And the Object queue now works (...)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1558 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-07 20:08:29 +00:00
edouard
b5608ed2ac OP-38 Ground/Config gadget: implementation of a queue to manage successive ObjectPersistence updates, will solve several issues (two updates
one after another will fail if we don't wait for the transaction completed signal).


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1557 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-07 19:31:19 +00:00
peabody124
9895b403c7 Ground/SerialLogging: Improved the serial dump from AHRS to have a big random frame header and to detect it on the logging program.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1556 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-07 16:33:10 +00:00
chebuzz
755c47d666 OP/GCS ModelView - Added transparent rendering support, as well as debug output with right-click
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1555 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-07 12:52:52 +00:00
edouard
0af3d26981 OP-38 Ground/Config gadget: AHRS indoor mode works, as well as Home Location saving.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1554 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-07 12:26:33 +00:00
cranphin
d06d7025ff Don't forget to unhide the gps data stream when switching back to serial
input :)


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1552 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-06 21:16:21 +00:00
cranphin
e8b0169b34 Add fix type (auto/manual), and fix sv's to nmea parser (not connected
to anything atm.)


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1551 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-06 21:02:35 +00:00
cranphin
c87ff38039 Some fixing/cleanup:
- Swap fix type and satelite count in UI.
- Use QString for the packet signal, if it ever happens to be
multithreaded signal/slot this will be better (And char* should perish
:) )
- Make QString in the slots const and by reference, that seems to be
preferred (const = safer, reference = faster).
- Don't use 'new' QStrings in the nmea parser, not sot sure if that
causes memory leakage, but it wouldn't surprise me.
- Emit fix type updates from the (Serial) nmea parser.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1550 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-06 19:15:42 +00:00
zedamota
609d215749 OP-21/Flight Bootloader PC APP- Cosmetic changes only.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1549 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-06 19:05:41 +00:00
edouard
5c4ba7140b OP-38 Ground / Configuration gadget: automatically save results of 6-point calibration to SD (consistent with behaviour of sensor noise calibration). Other smaller updates.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1548 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-06 11:53:13 +00:00
edouard
ce6a4325e4 OP-38 Ground/Settings gadget : query uavobject properly for input channel assignements, so that any new input type is supported. Solves the issue with accessory inputs not appearing.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1547 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-06 08:26:27 +00:00
zedamota
01b4c5d0e3 OP-21/Flight Bootloader PC APP- Finished, not tested on HW though.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1543 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-05 23:15:45 +00:00
stac
44b41c32d2 gpsdisplay: correct lat/lon minute calculation for 3/4 of earth
The computation of the minutes portion of the lat/lon was
wrong for any negative values.  lat-deg was effectively
doubling the whole degree part rather than removing it for
any negative whole degree part so you would get huge whole
minute parts.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1542 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-05 23:10:36 +00:00
edouard
1690e500e9 OP-52 Ground/GPS Gadget : make it resizable, within reasonable limits. Should behave much better now on smaller screens.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1540 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-05 20:23:25 +00:00
edouard
0c884ed14d OP-136 Ground/PFD Fixed issue where pitch value was used for roll settings. What was it about the monkey again? ;-)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1539 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-05 17:30:49 +00:00
edouard
7ef12a801e OP-52 Ground/GPS Gadget: DOP values on NMEA sentences too. Tested on both telemetry & NMEA/Serial
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1538 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-05 08:20:32 +00:00
sambas
6868a3ec48 OP-52 Ground/GPS Display: Refixed, I guess edouard tested only the telemetry stuff
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1537 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-05 07:39:30 +00:00
edouard
22ea3ce214 OP-52 Ground / GPS Gadget. Fixes, that will be all for now...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1536 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-05 07:13:02 +00:00
edouard
d689c2cf23 OP-52 Ground / GPS Gadget: sorry, missed the 1E-7...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1535 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-05 07:05:17 +00:00
edouard
1f78c63648 OP-52 Ground / GPS Display: overhaul of UI - should not change anymore hopefully - to be more compact and more readable, with more info
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1534 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-05 07:03:29 +00:00
sambas
2283e2e9ad OP-52 Ground/GPS Display: More tweaks
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1533 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-05 06:28:30 +00:00
sambas
d457781173 OP-52 Ground/GPS Display: Maybe this works better
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1532 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-05 06:06:59 +00:00
zedamota
70715ba0e2 OP-21/Flight Bootloader PC APP- More command line parameters handled.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1531 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-05 00:18:49 +00:00
peabody124
f9a0b799a2 Foolishly forgot object like I always do
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1529 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-04 22:01:11 +00:00
edouard
a378621666 OP-52 Ground/GPS Display: better data formatting, added display of location on tiny worldmap.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1528 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-04 19:55:06 +00:00
peabody124
c21d058110 Flight: Added ability to use a third accessory input. Currently using that to select tuning roll/pitch bias and PID tuning. I also _STRONGLY_ recommend if you enable these accessory channels (and thus these features) you make the saved meta data for the StabilizationSettings and AttitudeSettings read-only, so only on flights where you mean to can you change these settings. I'm also not convinced about the interface - it seems like flicking TX switches to get into adjustments is a recipe for disaster. Probably need to just control through GCS.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1526 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-04 17:08:02 +00:00
peabody124
45e8131a30 Flight: Added ability to use additional TX inputs to tune attitude bias. Note this form of the calibration is temporary and will likely be replaced by a rotation matrix to deal with more general rotations.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1525 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-04 17:07:59 +00:00
edouard
aa909cf7dd Various updates: use PDOP on PFD since the INSGPS algo relies on it, and more work on GPS Display gadget, minute improvements...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1524 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-04 16:42:56 +00:00
edouard
24f5023e10 Ground/PFD : fixed the heading issue. Careful with this code, it's precision mechanics ;-)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1523 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-04 07:21:13 +00:00
peabody124
cd93574511 Ground/PFD: Removing a debug output I forgot
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1522 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-04 06:13:13 +00:00
peabody124
8dbc382e5b Ground/CoordinateConversions: Shows correct location now. I just typed in a 3.14 constants and forgot to change to M_PI.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1520 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-04 05:58:43 +00:00
peabody124
544f15eadf Ground/PFD: Reconnected right data to PFD. Edouard - heading doesn't seem to scale between degrees and transform on the compass correctly, but I don't know the right constant.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1519 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-04 03:20:40 +00:00
peabody124
b4ff14b725 Ground/GCSControl: Swapped sign conventions of sticks to match the sign convention of roll/pitch/yaw. I.e. now right on the roll causes a + roll, pulling down on the pitch causes + pitch.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1518 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-04 02:19:06 +00:00
peabody124
bb45b0c38a Ground/GCSControl: Swapped sign conventions of sticks to match the sign convention of roll/pitch/yaw. I.e. now right on the roll causes a + roll, pulling down on the pitch causes + pitch.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1516 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-04 02:19:02 +00:00
zedamota
72e64e1009 OP-21/Flight Bootloader - Command line parameters added, still some missing.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1514 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-04 01:07:44 +00:00
cranphin
6e9b745f18 GPS Viewer: Delete port/parser when configuration gets reloaded, and
make connect/disconnect work properly for serial.
This did include some refactoring, sorry if that interfers with someone
else's work! Should be too hard to merge tho (and I couldn't find   
Edouard online, and I'll be gone the rest of the weekend :) ).


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1512 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-03 22:04:54 +00:00
cwabbott
d7a3ffb464 flight/PiOS.win32: update Makefile.win32 with new UAVObjects, also change UAVObject headers to have a newline at the end.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1510 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-02 23:55:24 +00:00
zedamota
f4464c01a7 OP-21/Flight Bootloader - More functions added, file hash now automagicaly created and uploaded. Device discovery working. As with the bootloader embedded SW this is highly experimental.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1509 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-02 22:46:06 +00:00
cranphin
f8873b9a18 Make GPS options panel more pretty.
And more usefull for coming IP stuff :)


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1506 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-02 18:36:09 +00:00
cranphin
25076d09a7 Hide sat. icons initially.
Hide sattelites not in the last GPS update (based on the magic number
'16' from the constellation widget).
Fix a range check.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1504 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-01 23:11:54 +00:00
cranphin
a6ec576f97 Add a first version of support for sattelites in the nmea parser.
Small 'fix', don't parse the checksum as part of the data of nmea lines.
This can probably be fixed in a tidier way.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1503 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-01 22:41:55 +00:00
martin
529fb6468d Update Russian translation
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1502 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-01 21:49:48 +00:00
cranphin
102a16f0ff Fix serial GPS not working (base function was not virtual), and some
minor tidying.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1501 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-01 21:49:47 +00:00
banigreyling
9d1168226c OP-42 GCS/Scope: Added UAVField units to curve legend
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1500 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-01 21:29:24 +00:00
edouard
66e009a861 Update dial plugin config UI
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1499 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-01 20:19:14 +00:00
edouard
6589e55019 OP-52 Big update to GPS gadget: now supports a new mode, "Telemetry", to display the onboard GPS data, including GPS constellation.
This is not tested in Windows yet - I will do this on another machine ASAP. It might break the serial mode as well, I just lack time to test everything but I will eventually do it.



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1498 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-01 18:53:02 +00:00
cranphin
65c832da35 Stop rawhid (Windows) from logging a debug message because it can't open
all my input devices for writing. And also swap logging statements, so
that we do qDebug after GetLastError, since qDebug seems to wipe the
last error code.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1497 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-01 18:49:18 +00:00
peabody124
ef9ed042b3 OP-118 Ground/AHRS Config: Made calibration average over more samples from the raw data. Seems to improve things for me. Still want to add a mag scale parameter.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1495 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-01 05:03:48 +00:00
peabody124
a377bea862 Ground/CoordinateConversions: Found out from Dschin that rotation matrix inverse is rotation matrix transpose. Now should convert correctly from NED to ECEF. I will check tomorrow by frolicking around with a plane.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1494 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-01 03:12:06 +00:00