1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-14 21:23:52 +01:00
Commit Graph

1110 Commits

Author SHA1 Message Date
zedamota
229f772612 OPMapLib test app - To use:
1- Copy folder to ../opmapcontrol/src/
2- Uncomment "SUBDIRS +=finaltest" on src.pro file
3- Uncomment "DESTDIR = ../build" on mapwidget.pro file


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2080 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-05 23:41:55 +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
edouard
6cccb2d86c Attitude Deluxe dial updated, and validated on GCS: works with same IDs as the other
dials (background/foreground, needle and needle3).



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2074 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-04 14:24:09 +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
edouard
6e0332eb10 New simple quad (X and +) design by Muralha, and series of simple backgrounds for the modelview gadget.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2049 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-31 21:14:24 +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
edouard
a05ed34e77 OP-138 Get rid of object scene removal warning on curve widget. Also delete objects properly when reseting the curve.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2037 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-30 10:41:41 +00:00
edouard
88a199d20e OP-138 Finishing touches to the custom mixer editor (curve reset buttons, value displays, etc.)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2036 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-30 10:16:01 +00:00
andrew
c7b6341b21 Improvements to the ccpm curve mixing UI
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2035 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-30 05:15:39 +00:00
edouard
dbe20a7eab OP-138 Editing of Custom mixer table checks for bounds (-127/127), and sending to ram/sd now works. This interface
should be more user friendly that the uavobjecteditor.




git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2034 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-29 22:36:31 +00:00
edouard
739f4e468f OP-138 A few missing bits in the tricopter mixer settings, sorry...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2033 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-29 20:41:58 +00:00
edouard
e528cc306b OP-138 Support for Tricopter with yaw channel in the config gadget. Please please double check the mixer before flying, this is untested!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2018 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-27 21:54:42 +00:00
peabody124
aada18a0ea UAVTalk: Update protcol version number to go with new packet format and changed
a few constants to make it self documenting

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2017 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-27 17:41:41 +00:00
peabody124
4570d6df23 UAVTalk: Insert a sync byte (0x3C) and the packet size to facilitating handling
by PipX modems.  This is a change to UAVTalk so GCS and the hardware must all
be updated.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2016 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-27 17:16:29 +00:00
peabody124
4d7e053e06 AHRS Debugign code for dumping the EKF and importing into Matlab
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2013 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-27 14:31:34 +00:00
peabody124
2019edd612 AHRS: Store running time to make detect resets easier. Update OP and AHRS in
parallel for this update.  Also removed comment for rawhid

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2012 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-27 14:31:32 +00:00
edouard
a568e27703 OP-180 Implementd a setting to disable PFD smooth updates.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2010 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-26 20:19:43 +00:00
edouard
d232461f9d OP-138 All multirotor frame types except Tricopter now supported, but... not tested yet!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2008 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-25 21:55:04 +00:00
peabody124
c2474a4c08 Ground/rawhid: Fix mutex deadlock condition
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2007 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-24 20:56:40 +00:00
peabody124
aed2a1ee2e Ground/rawhid: Cleaned up the code related to disconnceting USB device
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2006 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-24 20:00:07 +00:00
peabody124
9944cdfcb0 Flight/RateDesired: UAVObject for monitoring the desired rate out of
stabilization for diagnostics

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2004 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-24 20:00:02 +00:00
peabody124
488ae158c8 Ground/rawhid: Add mutexs between write and read from buffersi. Fix bug that
dropped some data by reading too much from buffers at variable rates.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2002 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-24 01:35:28 +00:00
ligi
cc497c43dc check if opening a device worked / prevents segfaults ( e.g. failing BT connection ) & checking if my svn account works ;-)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2000 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-22 11:17:48 +00:00
edouard
9ad1618739 OP-138 Quad and Hexa implemented, custom table works (read only, not edit), and code improved to enable definition of matrices
in simple tables instead of ugly lines of code. Testers needed. Cautious testers. Also reshuffled the AHRS UI to put 6-point above sensor noise.
Next will be octo and coaxial frames.




git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1999 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-21 22:05:07 +00:00
sambas
d6e9080ec6 Ground/rawhid: quick hack to help on usb unplug freeze, need to make proper error handling
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1998 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-21 14:11:53 +00:00
peabody124
f618e6fffc Ground/HID: A few tweaks to the HID code, especially for mac, and make sure it
never tries to transmit too much data

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1995 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-20 05:21:23 +00:00
andrew
2a47f4baca more modifications to UI for ccpm mixing.
will now read back mixer settings from the flight hardware and try to determine the swashplate config automatically.
Looks good but only basic testing performed so far.
this has not been tested for flight in it's current form.
Use at own risk! 


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1994 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-20 05:04:19 +00:00
peabody124
33c5877031 Ground/rawhid: A small change to OSX serial number handling to be more
"maclike" and correct

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1988 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-18 00:50:51 +00:00
muralha
28c3dcf771 OP-150 GCS/ModelView: Create a fallback default setting on the ModelView plugin
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1987 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-18 00:08:31 +00:00
pip
253d831fc9 Added more lat/lon range checking an nan prevention.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1986 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-17 20:37:41 +00:00
pip
e0f399e333 Forgot to include altitude nan value prevention.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1985 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-17 20:24:23 +00:00
pip
e9c0b9455f Added lat/lon/alt range checking.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1984 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-17 20:09:54 +00:00
pip
1f3d45defd Fixed map mode UI opmap button states.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1983 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-17 19:21:38 +00:00
edouard
da84b1fc76 OP-138 Custom airframe table now displays the generated mixer matrix and curves. Display only, editing it won't change the mixer.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1982 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-17 19:15:05 +00:00