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

871 Commits

Author SHA1 Message Date
edouard
45b216bf57 OpMap: now the HomeLocation is updated following the actual UAVObject value.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2170 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-27 20:13:32 +00:00
edouard
02366bf368 OP-35 Further cleanup of Uploader gadget, better debug messages, more reliable.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2169 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-27 13:44:16 +00:00
edouard
a9cd9ac329 OP-35 Fix to .pro file for Windows. OK, I'll get a Win7 environment going for pre-commit checks...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2168 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-27 09:39:01 +00:00
edouard
9407eee059 More cleanup on opmap gadget, should fix Win compile errors?
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2167 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-27 08:59:52 +00:00
edouard
353cc99227 Removed unnecessary entries from the opmap.pro (commented out)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2166 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-27 08:45:23 +00:00
edouard
63c3799521 OP-35 Cleanup of DFU object management, I think I have fixed all the potential segfaults, prove me wrong!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2164 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-26 23:20:17 +00:00
edouard
6ab6f3e84a OP-35 Now display a picture of the board layout for each device that is detected.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2163 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-26 22:49:50 +00:00
edouard
b840c5ec40 Update ActuatorSettings to remove obsolete fields.
YOU WILL NEED TO RECONFIGURE YOUR ACTUATORS!



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2162 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-26 20:55:05 +00:00
peabody124
ebcb272da6 AHRS: Add a separate parameter for velocity and position variance and remove
indoor from the name since it's used for both indoor and outdoor mode now.
Increased default value to 0.4 to better reflect the GPS accuracy.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2156 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-26 15:57:08 +00:00
edouard
0c39ead89d OP-35 Only do a 'verify' operation if the device is readable.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2152 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-26 10:44:05 +00:00
edouard
f759998f3b Update to the OPMap gadget: removed waypoint support, since it is out of scope for v1.0.
Besides SVN revisions, I also added a backup .ui file for the waypoint-suuporting UI.



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2151 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-26 10:23:02 +00:00
edouard
d233d65e86 OP-35 Update to GCS Uploader plugin to reflect latest BL changes. Bug fixes too, should be more stable & reliable.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2138 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-22 22:31:59 +00:00
edouard
05d8e2e36a OP-35 : Attempt at implementing a "Manual" mode which guides the use to get into AHRS + MB BL Mode.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2130 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-18 23:53:13 +00:00
edouard
ecb5c719d2 Get rid of yet more compile-time warnings.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2124 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-14 15:25:14 +00:00
edouard
37a1f602b2 Remove compile-time warning to Raw HID plugin as well.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2123 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-14 15:03:45 +00:00
edouard
fbcce4a005 Remove compile-time warning for serial connection plugin.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2122 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-14 15:03:18 +00:00
edouard
e1f61b0dee OP-202 Sorry, this is where the logging entries get moved, not previous commit..
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2121 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-14 15:02:47 +00:00
edouard
c463abab93 OP-202 Cleaned up the 'File' menu and removed (commented out) the entries which are not doing anything. "Save All" now saves the current GCS config so that everything is not lost in case of a crash. Easy to revert in case you don't like it. Also:
moved the logging menu entries to 'tools' where I think they belong - comments welcome - and also small change to iconnection.h to remove compile-time warnings.



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2120 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-14 14:58:16 +00:00
edouard
213e582f56 OP-99 Add a Path chooser to the name of the INI file for better ease of use.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2119 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-14 11:13:10 +00:00
peabody124
6ebc8ccd57 OP-163 Flight/Guidance: Add variations on position hold to try out. Only one will end
up in the final code.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2110 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-12 16:57:13 +00:00
peabody124
5850c1804d OP-199 Flight/Stabilization: Increment a counter in actuatorDesired whenever an
update takes longer than 15 ms

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2109 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-12 04:36:04 +00:00
andrew
ca16298793 OP-138 Minor changes to UI layouts to scale better.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2104 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-11 07:34:27 +00:00
andrew
ac42393502 Updated GCSControl configuration page for button input support.
Basic functionality now implemented.
Still need to add range checking and user settings verification.
not all toggle functions implemented yet.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2100 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-09 05:50:16 +00:00
andrew
8e3813327c Updated GCSControl configuration page for button input support.
Saving and recalling of settings now works.
Functionality not implemented yet

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2096 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-09 03:55:04 +00:00
andrew
fab0e6247a Added new tab to GCSControl configuration page for button input support.
Only the framework for now.
Functionality to follow.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2095 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-08 06:04:52 +00:00
andrew
1dae56ae3c Modified UI for ccpm to scale better and have less wasted space
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2094 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-08 06:02:43 +00:00
edouard
3c4a5a04c0 GCS Control plugin: now fully configurable (mode 1 to mode 4), and with joystick channel mapping as well. Not tested in-flight!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2093 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-07 22:16:45 +00:00
edouard
d826350b26 Control gadget: channel 4 was commented out for tests, re-enabled it.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2091 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-07 15:22:45 +00:00
edouard
1ed26a8514 Control gadget: make it configurable. Mock-up of config interface included, does not work yet.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2090 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-07 15:16:58 +00:00
corvus
800eb5320e HitL - some fixes to prevent EventSystem Overload
Hitl IL2 - prevent NaN numbers from getting produced


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2085 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-06 15:17:33 +00:00
edouard
f1c31d422e OP-35 Big refactor and update of the DFU object. Upload/download operations are now asynchronous and do not freeze the UI. Firmware download implemented. More details and explanations for each step of operations.
I have updated the firmware on my mainboard with success several times on this, but it might very well destroy your board right away, just be cautious!



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2083 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-06 14:17:21 +00:00
edouard
055b95461d Fix big bugs with speed and altitude display in the PFD code; They should now work again properly, i.e. speed in km/h and altitude in m.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2079 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-05 21:50:44 +00:00
peabody124
c5ff7ca5a8 Ground/Joystick: Make the joystick only update at 50 hertz to keep telemetry
reasonable

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2077 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-05 14:28:18 +00:00
muralha
7a8484edfb Ground/ModelView: Fixed attitude rotation of the 3D model.
Euler rotation has problems with Yaw, so now it's using quaternion rotation.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2064 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-03 22:20:45 +00:00
edouard
48a3b6c569 OP-35 Firmware upload works (tested on mainboard). Use at your own risk! Not threaded yet, so UI kind of freezes during the process, but it works. Don't blame me if it fries your board, though...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2063 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-03 21:41:32 +00:00
edouard
ae22e9103b OP-35 Cleanup of the uploader gadget, and removal of the ymodem library which is not used anymore.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2062 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-03 18:46:17 +00:00
andrew
3e5797a8d2 Update the curve generation UI to have range of -1 to 1 for the pitch curve widget
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2061 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-03 04:30:54 +00:00
andrew
0a2cfbacc7 Updated MixerCurveWidget so that it can have ranges other than 0 to 1.
Default behaviour not changed.
New functions allow the setting of the max and min values for the curve.
0 to 1 range is needed when output is used for motors.
-1 to 1 range is needed when output is used for a servo.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2060 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-03 03:38:22 +00:00
edouard
7180c4fe2d OP-35 Further work on uploader gadget.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2057 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-01 20:50:59 +00:00
edouard
1e0c2eef22 OP-35 Boot button enabled, to get out of bootloader mode.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2056 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-01 20:02:59 +00:00
edouard
8d2c9c37fb OP-35 Fix complile issue on Win7 (please confirm), Halt button now puts the mainboard into bootloader mode. Nothing more...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2055 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-01 18:15:48 +00:00
edouard
e74927c244 OP-35 Uploader gadget: the "Reset" button now works. YMMV, please report. Other buttons do nothing so far. Also, small fix to uavtalk.cpp where a 'disconnect' call triggered segfaults on my system.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2054 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-01 14:06:33 +00:00
edouard
b4a22c5984 OP-35 New methods to suspend and resume USB polling by the Raw HID plugin. Required for the Uploader plugin.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2053 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-01 13:35:12 +00:00
edouard
f19439b1c7 OP-35 Add new method to connection manager to let a plugin initiate a disconnection. Needed for Uploader plugin.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2052 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-01 13:34:27 +00:00
edouard
dde66a3c24 OP-35 Preliminary work on the new DFU gadget. Not much to see so far.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2050 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-31 22:56:31 +00:00
sambas
634543dc27 OP-52 Ground/GPS Display: some updates, ZDA&VTG
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2048 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-31 08:01:56 +00:00
andrew
206700830e Minor UI changes to ccpm config
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2047 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-31 06:10:19 +00:00
andrew
bc8ec75ed5 Updates to ccpm mixer ui.
the curve settings now update the MixerCurveWidgets when generated or manually edited.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2046 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-31 05:55:23 +00:00
andrew
beda5965bf added function to MixerCurveWidget to update an existing curve from code without deleting the existing one.
Using the initCurve function to update a widget that had a slot connected to its curveUpdated signal caused the app to crash.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2045 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-31 05:54:10 +00:00
pip
b6c0344a0f Added extra error checking - making sure the packet size is valid and that packet sizes match.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2040 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-30 15:00:55 +00:00