1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-13 20:48:42 +01:00
Commit Graph

720 Commits

Author SHA1 Message Date
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
martin
2062dbe620 Generated 488 translation(s)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1454 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-29 02:51:11 +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
erhard
511a9c6635 Minor change in Error-Message.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1445 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-28 12:30:09 +00:00
martin
8f940ab4b1 Generated 364 translation(s)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1442 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-27 23:49:23 +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
martin
d9a6ced655 next portion (+168) of the Russian translation.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1411 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-26 02:13:08 +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
martin
12e447f010 Basis for russian translation of the GCS.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1397 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-24 17:58:43 +00:00
martin
2007156869 Basis for russian translation of the GCS.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1396 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-24 17:56:45 +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