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

759 Commits

Author SHA1 Message Date
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
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
martin
d20ec7bd56 Fixed Label
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1491 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-01 00:38:16 +00:00
peabody124
06d281c2ba GCS/Logging: Added size information to GCS Log file so naieve parser can not fail. Also added a few comments.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1490 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-31 17:22:46 +00:00
edouard
e74fc394e7 Updated PFD to use the new GPSPosition object for GPS information.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1488 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-31 16:56:17 +00:00
edouard
1553ca6799 Missing include for Linux (stdint.h needed on that platform)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1487 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-31 12:28:15 +00:00
edouard
7956835163 OP-95 Please pretty please this is a multiplatform project, check that your code compiles at least on Windows & Linux before sending anything!!!
Unix (MacOS & Linux) = CASE SENSITIVE, no stray caps please
 Makefiles should not be included
 object_* should not be included


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1486 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-31 12:21:06 +00:00
edouard
9e67c780da OP-38 Fix Windows complile issue (usleep missing) and restore callback-based settings so that there is no hardcoded transmission waiting time anymore.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1485 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-31 12:15:33 +00:00
dgodin
89535ee9d9 [OP-95] Update plugis.pro file:
+ add new HITL plugin;
        + remove old HITL and IL2 sections from plugis.pro.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1484 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-31 10:24:18 +00:00
dgodin
a035c93052 [OP-95] Combine both HITL plugins in to a single plugin.
First release

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1483 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-31 10:17:14 +00:00
dgodin
5bdf9e3006 git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1482 ebee16cc-31ac-478f-84a7-5cbb03baadba 2010-08-31 10:16:16 +00:00
dgodin
d43e028ddd git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1481 ebee16cc-31ac-478f-84a7-5cbb03baadba 2010-08-31 10:16:03 +00:00
dgodin
bf03570eb8 [OP-95] Combine both HITL plugins in to a single plugin.
First release

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1480 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-31 10:14:24 +00:00
dgodin
94ee367d21 Remove old HITLs,
and replace with new HITL plugin

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1479 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-31 10:11:32 +00:00
peabody124
4f246c64ca GCS/Logging: First pass at a logging plugin. Data format is 32 bit timestamp (in ms from start of logging) then the UAVObject.pack. Still want to add a header to indicate the objects available. Next part will be writing a reader and then making a gadget to control playback (and to indicate recording status).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1478 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-31 09:09:16 +00:00
peabody124
f906346795 Ground/OPMap + Position Information: Initial version of conversion from NED to LLA and integration into OPMap. I don't particular love how this is done. The main issue is the Utils didn't like having any UAVObject stuff linked to them (in my hands). That means in OPMap gadget I had to write the code that will pull the HomeLocation and PositionActual together, but this code will likely need to be reused. I will update the Altitude getting code later too, I need to look how the whole internals::position is working on OPMap.
To comment please post to http://forums.openpilot.org/topic/1578-changes-to-gps-objects/page__pid__4705#entry4705

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1477 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-31 05:09:57 +00:00
peabody124
260d436156 GCS/Scope: Small bug that prevented adding traces when none exist
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1475 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-31 02:11:19 +00:00
peabody124
12657440c3 OP-132 AHRS: Added an indoor flight mode and also add an ad-hoc quality heuristic to the GPS signal to increase the measurement variance from GPS when fix quality is poor or when in indoor flight mode. In addition corrected the indentation to conform to the tab/space convention forum discussion.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1474 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-31 02:11:09 +00:00
cranphin
f632e9c568 Little bit of cleanup, move Designer set properties to designer and out of cpp, and update the comment on fitInView (it doesn't work cause we're not shown yet, but fixed is fine since the widget is fixed size too).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1473 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-30 22:00:48 +00:00
cranphin
22828744fc In the GPS widget the three boxes are in fixed locations compared to
eachother again. This tends to be more stable with different fonts and
such.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1471 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-30 21:12:59 +00:00
edouard
ea89d9f570 OP-38 Fixed Paper plane SVG which contained a strange reference to a non-existing file...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1470 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-30 20:44:08 +00:00
cranphin
d8ab7221af Make GPS widget autosize/layout, and use all available space.
This makes especially sense for the 'log' output.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1469 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-30 20:00:53 +00:00
banigreyling
ec62e528b1 OP-42 GCS/Scope: Forgot (again) to remove test data generator
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1468 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-30 19:39:56 +00:00
banigreyling
e15a12329c OP-42 GCS/Scope: Added support for array-like UAVObject fields
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1465 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-30 14:17:15 +00:00
banigreyling
617de242c4 OP-42 GCS/Scope: Changed options panel behaviour. An existing curve can now be updated, and does not need to be duplicated and removed anymore
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1461 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-29 22:45:12 +00:00
edouard
46ac5c8054 OP-38 A bit of visual feedback on 6-point calibration. Hope you like the UAV I used, very simple model ;)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1459 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-29 22:00:54 +00:00
cranphin
098cff530f Seems I missed a .h include, I blame the SVN server being troublesome today :)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1458 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-29 21:50:00 +00:00
cranphin
37e9dd52eb Use event based IO instead of our own thread + polling, the manual says this is preferred/easier.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1457 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-29 21:20:32 +00:00
peabody124
f202884ce8 AHRS: Numerous changes. Added CPU load monitoring for AHRS as well as some friendly debugging output options. Also added a new CalibrationMode setting to AHRS (Echo) to speed up sensor calibration. Cleaned up the 6 point calibration interface to make it more friendly, but I think Edouard will clobber it with something nice and sexy :).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1455 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-29 06:38:30 +00:00
stac
ecac1fb79d nmea: parse GSV sentences and populate GPSSatellites object
This creates a new UAVObject called GPSSatellites to hold
information about which satellites the GPS receiver can see
and the quality of their signals.

NMEA GSV sentences are now parsed.  The full set of GSV data
may be split across multiple GSV sentences, each containing
info for at most 4 satellites.  Once an entire set of GSV
records has been collected, the GPSSatellites UAVObject is
updated.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1453 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-29 01:46:14 +00:00
stac
679f59f19d uavobjectparser: fix alignment of field init in generated code
Change from spaces to <TAB> to match the formatting in
the template.  No functional changes, just whitespace.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1451 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-29 01:46:09 +00:00
cranphin
1cdaf2ecdc Some cleanup, renamed labels/values, tidier layout.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1450 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-28 23:14:31 +00:00
peabody124
8128c3bbfa OP-118 AHRS: Added 6 point calibration routine to AHRS config widget. To use it, click "Cal Mode", then place the AHRS on each of 6 sides of a cube then click save position. Finally click compute to push the updated scale abd bias terms to the AHRS. Also fixed a bug in UAVObjectField that would not allow you to setDouble for extra fields.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1449 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-28 18:48:51 +00:00
erhard
331dba4870 OP-99 Import/Export Plugin: Integration to File menu.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1448 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-28 18:40:28 +00:00
erhard
e0a939819a OP-99 Export-Import-Plugin: Fix crashes on import.
Before the UAVGadgetView is deleted, the gadget (GadgetDecorator) must always be 
removed, otherwise the widgets (toolbar) will be automatically deleted but
this might cause a crash since the gadget is managed by the GadgetInstanceManager.



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1446 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-28 12:43:14 +00:00
martin
5c58642caa Fixed label text (latitude)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1441 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-27 23:44:34 +00:00
peabody124
e61fe4cff6 Flight: Sorry forgot some files
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1440 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-27 21:25:12 +00:00
peabody124
ced0a4b952 AHRS: Fixed silly bug that made the default mag variance be zero - explains "hopping around" default behavior. Still should run calibration though.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1439 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-27 21:05:41 +00:00
peabody124
16361dea12 AHRS: Making AHRS populate the NED/Vel fields of PositionActual. May rename object to PositionVelocityActual. Also created a GPSTime object which is populated from the GPRMC command. Also added a GPZDA parsing command, but by default OP GPS doesn't send this command. Made the computation of the world magnetic model use the current time to set the magnetic vector. Note: currently if you set your home location and save it to SD, this will not recompute the vector over time. I'm not sure how sensitive this is.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1435 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-27 19:59:25 +00:00
zedamota
6443b7c830 OP37/GCS MapLib - Fixes a bug which Edouard was experiencing.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1434 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-27 15:24:13 +00:00
edouard
ae5177b70c OP-38 Updated pluginspec requirements - those are ignored on Linux but required on Windows, it seems.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1433 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-27 14:19:42 +00:00
peabody124
70f13ba896 OP-128 Flight Documentation: Added description to all the UAVObject (now mandatory) and changed the parser to populate this information into the autogenerated files. Also added a function to test if an object is read only for flight.
Since there are a lot of autogenerated changes the important ones are:

  flight/OpenPilot/UAVObjects/inc/uavobjecttemplate.h - added description and define to make the ObjectReadOnly query
  flight/OpenPilot/UAVObjects/uavobjecttemplate.c

  flight/OpenPilot/UAVObjects/uavobjectmanager.c - added the UAVObjReadOnly query

  ground/src/libs/uavobjgenerator/uavobjectparser.cpp - added parsing of description field

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1426 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-27 00:15:46 +00:00
peabody124
a8df6e2c4d OP-128 Flight Documentation: Added description to all the UAVObject (now mandatory) and changed the parser to populate this information into the autogenerated files. Also added a function to test if an object is read only for flight.
Since there are a lot of autogenerated changes the important ones are:

  flight/OpenPilot/UAVObjects/inc/uavobjecttemplate.h - added description and define to make the ObjectReadOnly query
  flight/OpenPilot/UAVObjects/uavobjecttemplate.c

  flight/OpenPilot/UAVObjects/uavobjectmanager.c - added the UAVObjReadOnly query

  ground/src/libs/uavobjgenerator/uavobjectparser.cpp - added parsing of description field

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1425 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-27 00:15:42 +00:00
edouard
48d04d73d4 OP-38 Forgot to connect the signals, sorry...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1424 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-26 21:51:55 +00:00
edouard
e504ce0491 OP-38 All current AHRS settings are now implemented in the config gadget. Made calibration procedure as foolproof as possible.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1423 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-26 21:23:23 +00:00
edouard
fd9c4a8265 OP-38 Icon for AHRS in the config gadget. Quick hack with Eagle3D, still, better than nothing.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1422 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-26 20:29:51 +00:00
zedamota
c754ef865e OP-21/Flight Bootloader - Test App, fixes wrong file being uploaded to HW. It was the PC app itself that was being uploaded. Is anyone feeling an ugly monkey pointing his finger??
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1421 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-26 20:19:40 +00:00
banigreyling
c84746b701 OP-42 GCS/Scope: Made scope back ground color use the L&F helper
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1420 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-26 19:54:23 +00:00
ephy
e353e24796 OP-38 GCS/configgadget: Compile fix.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1419 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-26 17:56:19 +00:00
edouard
2589d0d055 OP-38 Windows compile fix
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1418 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-26 16:47:51 +00:00
edouard
08f2c5fd82 OP-38 Further updates to config plugin, please test!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1416 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-26 14:23:40 +00:00
edouard
828363948d Fix for PFD gadget so that it does not freeze the GCS in case attitude values are "NaN", which can happen in some situations with the AHRS.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1415 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-26 12:58:57 +00:00
peabody124
c07e1416b7 AHRS: Serial output option for AHRS and corresponding serial logger.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1414 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-26 06:25:11 +00:00
peabody124
71de54d0a7 OP-12 HID Bootloader: Patch to make it compile on other platforms than windows and to accept the binary to upload from the command line prompt.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1413 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-26 06:25:09 +00:00
edouard
86bef7b96b OP-38 Experimental AHRS automated calibration widget, for testing purpose only. Does not save to SD, and wait 10 seconds before hitting "Save" once the button becomes enabled.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1410 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-25 22:54:32 +00:00
edouard
38df030773 OP-38 Fix servo output settings so that it works with the new Helicopter settings.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1408 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-25 08:00:45 +00:00
peabody124
d445e36717 OP-122 Ground: Fixed bug in GCS usb sending that prevented sending large objects. Also made the model view rotate the models so it's consistent with both the 3D modelers convention and the flight convention OP is adpoting.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1407 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-25 06:25:24 +00:00
sambas
efb7b158b4 OP-38 svg lib used
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1406 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-25 05:44:51 +00:00
andrew
b467b419e6 OP-103, UAVObject update.
Adding settings for configuring CCPM mixing for Helicopters to ActuatorSettings and SystemSettings UAVObjects.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1402 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-25 00:55:15 +00:00
edouard
36e086f40e OP-38 Further work on AHRS calibration UI.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1401 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-24 23:33:25 +00:00
martin
84d82f7ac7 Fixed path to *.qm files
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1400 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-24 22:06:02 +00:00
zedamota
8526589dfb OP-21/Flight Test App Changed packet size to 64byte
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1399 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-24 18:27:32 +00:00
edouard
0d640a69c9 OP-38 Template for AHRS calibration panel.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1395 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-23 23:18:26 +00:00
edouard
e3108c36ad OP-38 All sliders now work on the servo output calibration. Beware: will only work if your RC receiver is connected, otherwise the OP board goes into failsafe and does not let you touch the actual servo outputs.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1394 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-23 22:02:49 +00:00
peabody124
82f7f42112 Ground: Fix bug in serial port opening for OSX. I could have put another compile switch in serialplugin.cpp but making this function return in the same format as linux made more sense. Just make sure this doesn't get clobbered from upstream in future.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1386 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-23 05:13:43 +00:00
peabody124
e94d3d3846 AHRS/Flight: Allow selecting simple algorithm as well as INSGPS
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1384 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-23 03:51:08 +00:00
peabody124
bd8fffe4d0 AHRS/Flight: Renamed AttitudeSettings to AhrsSettings to make it more intuitive. Added the ability to change the algorithm from GCS.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1383 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-23 03:39:13 +00:00
peabody124
b32184d1ec OP-119 Flight: Converted HomeLocation object to use cm for the home base instead of floating point.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1382 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-23 02:49:53 +00:00
zedamota
d899bc3c81 OP-21/Flight QT test app for the USB HID bootloader
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1377 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-22 19:13:18 +00:00
peabody124
60332efec0 OP-118 AHRS: Missed the auto generated files for the default values. Also no idea why last patch changed navigationsettings - either make uavobjects does differently on different platforms or someone forgot to run make uavobjects.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1372 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-22 17:02:12 +00:00
peabody124
0862d64b8c OP-118 AHRS: Made default calibration values friendly for people. Also fixed bug that would repeatedly trigger calibration when it was requested.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1371 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-22 16:43:00 +00:00
edouard
dd34ca1a8d OP-52 a small modification for GSV parsing (not working yet)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1370 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-22 09:01:30 +00:00
sambas
7859a130e8 Fixed bug that caused Object Browser to crash
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1369 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-22 08:59:18 +00:00
peabody124
5662d85c4e OP-120 AHRS: Tightened up the communication protocol so it runs more quickly. Looks ok in gdb but GCS not crashing right now (rendering error) so I can't test it properly.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1366 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-22 00:21:54 +00:00
edouard
74605666bc OP-123 Corrected issue with PFD (was not a pitch but a roll issue). Should handle aerobatics now! Also new attempts to lower CPU usage, PFD should use less CPU than before (reports appreciated)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1364 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-21 22:52:38 +00:00
peabody124
8897c441fa OP-118 AHRS: Added AHRSCalibration object and messages associated with that to AHRS. Also made AHRS run calibration only when requested. We will create a GCS plugin that runs through computing the calibration settings. To compute the variances on the AHRS set the measure variances to true, wait ten seconds, then set it to false to read it back.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1363 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-21 21:46:02 +00:00
zedamota
cc4d16ed69 OP37/GCS MapLib - Clean up old stuff
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1362 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-21 20:43:37 +00:00
zedamota
dea2529e38 OP37/GCS MapLib - New providers codes. Fixes Google Maps not being loaded.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1360 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-21 19:42:00 +00:00
stac
635df28c34 GPSPosition: Add new UAVObject for GPSPosition
This object is not yet populated or used.  This
will soon hold the raw position data from the GPS
receiver.  PositionActual will be converted to
hold the computed position from the AHRS.

Contents of this object are still subject to change.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1355 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-21 16:19:18 +00:00
stac
7b2111e512 baroaltitude: rename AltitudeActual to BaroAltitude
This is to align the object names to matches the UAVObject
architecture doc.  No functional changes.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1351 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-21 16:19:10 +00:00
peabody124
3ad47be673 OP-124 Flight: Missed some of the files in the previous commit for AHRS SPI error counts
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1348 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-21 09:23:40 +00:00
peabody124
bb79ba66fa OP-119 AHRS: Converted the big data structures for the WMM calculation to be allocated on the stack, which forced a dependency on FreeRTOS :-( but keeps things on the heap. Also changed the HomeLocation object to include a Set field. When this is false, OP will try and update it whenever it gets a 3D fix. If it is saved to disk with this field as true, then it won't need to get a lock to send the magnetic flux vector to the AHRS.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1346 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-21 08:35:44 +00:00
edouard
341ba1721e OP-38 Split the various settings widgets into separate classes, for easier extension by others.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1343 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-20 21:18:20 +00:00
cwabbott
a24daa7c6d GCS/IPConnection: fixed a problem that was causing IP telemetry not to work on Windows, moved socket creation to the UAVTalk thread. Segfaults if you don't press "Disconnect" before closing the window!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1342 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-20 16:23:14 +00:00
edouard
9dcae643c1 Added HomeLocation to the .pro file, otherwise the GCS does not run, does it?
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1341 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-20 15:02:20 +00:00