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

2433 Commits

Author SHA1 Message Date
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
corvus
ba781dec9a port.c optimized for linux
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2051 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-01 11:54:02 +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
9b22bb07e6 Fixed a bad bug in the fifo_getData functions.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2044 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-31 04:58:34 +00:00
edouard
d5752dff34 Update BL Makefile for buffer.c removal.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2043 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-30 18:39:07 +00:00
peabody124
800e6cbe2c AHRS/INSGPS: Fix a swapped index Corvus caught
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2042 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-30 18:15:57 +00:00
peabody124
34bd4b7524 OP-198 Flight/GPS: Remove dependency on buffer.c, also made the detection of start and
end characters occur while sentence coming in instead of reprocessing whole
sentence for each character

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2041 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-30 18:15:52 +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
pip
ed03a45ee5 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@2039 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-30 15:00:36 +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
8087fda6f9 Update Makefile so that the bootloader still compiles with the latest buffer_XXX changes...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2032 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-29 17:54:05 +00:00
pip
7bdaaa3930 Renamed fifoBuf_size to fifoBuf_getSize and got it to return the actual usable size of the buffer (one less than the buffer size).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2031 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-28 21:10:43 +00:00
pip
91e6fb1485 Added fifoBuf_size function
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2030 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-28 15:14:44 +00:00
peabody124
42a02e5662 Flight/HID: USB priority to 8 instead of 1. Probably Need to make the HID layer use a
similar driver format to the PIOS_USART system.  (p.s. are you happy now, PT?)

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2029 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-28 15:07:07 +00:00
sambas
3f62776253 OP-97 flight/GPS: Few more fixes
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2028 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-28 14:58:39 +00:00
peabody124
b9f74a86c3 OP-198 Flight/Libraries: Swap to using circular buffer code from Pip because it
supports thread safe write/read simultaneously

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2027 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-28 14:30:03 +00:00
peabody124
0bdaf4d0df OP-197 Flight/USB: Make non-blocking send return -2 instead of -1 for not enough space
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2026 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-28 14:30:00 +00:00
sambas
365a2a121a OP-97 flight/GPS: Few fixes
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2025 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-28 13:50:34 +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
33e6cbebdc AHRS debugging: Move dump to beginning of block to see the updated lines
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2015 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-27 17:16:25 +00:00
sambas
3e462b1434 OP-97 flight/GPS: Disable speed threshold command for those who knows it's needed, check gpsTask->DISABLE_GPS_TRESHOLD
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2014 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-27 15:51:33 +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
sambas
f1ba558fa1 Flight/GPS: Some updates
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2011 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-27 10:39:38 +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
ligi
fc4238b369 adding /tools /downloads /build to .gitignore
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2009 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-26 12:47:07 +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
a2e0cd2240 Stabilization: Dont make queue respond to both raw sensors and attitude because
causes it to trigger most of the time every 1 ms which is consuming tons of
CPU.  Also lower the failsafe timeout since its likely due to overloading the
event system and we don't want to delay 100 ms.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2005 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-24 20:00:05 +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
acc6df4c2d Flight/USB_HID: Make the userspace command wait until not in interrupt before
running and block the interrupts while modifying the buffers

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2003 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-24 01:35:30 +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
523b6ad8f7 added hint on how to better distinguish FC/NC
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2001 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-22 12:36:47 +00:00