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
dschin
84d054c4ed
gdb command file to enable debugging with interrupts in Eclipse
...
See http://forums.openpilot.org/topic/1671-debugging-with-interrupts-in-eclipse/
for details.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1511 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-03 13:10:04 +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
zedamota
749267aee5
OP-21/Flight Bootloader - Minor bug fix.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1508 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-02 22:43:32 +00:00
zedamota
7a66232be0
OP-21/Flight Bootloader - Complete recoding. WARNING- As with all flash memories, the one in your OP HW as limited write cycles. Errors in this bootloader may damage your HW if it falls under a write or erase dead loop. This is still under development, for devs only.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1507 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-02 20:13:41 +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
peabody124
d3bb821e82
Flight/ManualControl: Change to ManualControl module to make warning only kick in if input is less than the max and min for throttle. Disable going to (unimplemented) auto mode. Commiting based on one yay and no nay.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1505 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-02 16:33:02 +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
muralha
86820456b3
3D Model: 4 new models, 2 models updated and 1 model removed.
...
4 new MikroKopters based on their store:
- MK L4-ME (quad)
- MK Hexa (hexa standard)
- MK Okto (octo with Y arms)
- MK Okto2 (octo standard)
Easy Quad updated with real boards, 3d rendered boards and with better color texture.
AeroQuad updated with battery, battery holder and textures.
MikroKopter_quad removed (now it's the MK L4-ME).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1496 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-01 08:22:46 +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
b5f6452d7c
Update russian translation
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1493 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-01 01:05:01 +00:00
martin
e5831f37f0
Added -noobsolete to LUPDATE
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1492 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-01 01:03:31 +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
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