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

1829 Commits

Author SHA1 Message Date
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
peabody124
ec7d059de8 Posix: Corrected makefile after UAVObjects mashup
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1489 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-31 17:21:44 +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
b853c392f3 Flight: Was only returning half of the serial number (thanks for catching that Pip)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1476 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-31 02:33:47 +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
dankers
131d3d7d26 OP hardware files, committed early than we wished to due to some game playing. The plan was to release these after we at least knew they flew something and things were working, use at own risk! Seriously, you are on your own with these.
License is CC-BY-SA - some files state NC, this is not correct, OP hardware is cc-by-sa licensed. 



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1472 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-30 21:31:50 +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
pip
7813414f29 added casting to prevent int overflows when calculating the watchdog delay
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1467 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-30 16:48:33 +00:00
pip
ba5f1b37ee changed pios watchdog from 8-bit to 16-bit ms capability, plus moved the .h file from the .c folder into the inc folder
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1466 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-30 16:29:36 +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
andrew
65dc5e9b04 Yaw stabilisation for the simple algorithm was calculating the error and not taking into account that 350º error is the same as -10º error.
The resultant error could range from -360º -> +360º
Since this is only used for Helicopters / multi rotors, and the aircraft can rotate in any direction, I added the modulo logic so that it is now from -180º -> +180º this should now take quickest path to correct the error.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1464 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-30 01:20:43 +00:00
andrew
3c6d9d6976 manual control was mapping tx input as -180º -> 180º for AttitudeDesired.Yaw.
The Wiki (http://wiki.openpilot.org/Unit_Standards) states this should be 0 - 360º
Made the code match the wiki.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1463 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-30 01:16:00 +00:00
cwabbott
f55e9cf819 Fixed a slight problem with the .metadata folder, the flight project wasn't pointing to the correct folder again.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1462 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-29 23:16:19 +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
dankers
7a1353506e Just added my plugins dir to what was already there, no guarantees to fix things!
Might just make them worse!


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1460 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-29 22:15:38 +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
stac
78befcba73 conversions: fix return code for ECEF2LLA
As pointed out by osnwt in the forum, the
criteria for success of this function was
wrong.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1456 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-29 14:51:07 +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
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
2ead641136 nmea: minor bug fixes and robustness improvements
Remove asserts on bad data, only assert on coding errors.
Remove unnecessary inline qualifier to reduce code size.
Handle more lat/lon precisions in conversion to fixed-point.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1452 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-29 01:46:11 +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
muralha
fcb7a034cf 3D Model: Added Mikrokopter quad.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1447 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-28 16:46:30 +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
andrew
3530428982 Fixed the bounding of servo outputs for the case when max < min
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1444 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-28 05:11:19 +00:00
peabody124
00cad250ea Adding gpstime.h for flight.
Seriously - I'm sorry I missed all these files.  I suck.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1443 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-28 00:58:04 +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