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

2219 Commits

Author SHA1 Message Date
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
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
098b2fd693 Flight/System: Double heart rate when system is armed. This is per request in
IRC, but suggestions are welcome.  In the long run we probably need a sensible
way of embedding some information in the LED but it's not obvious to me.  Also
could have done with callback - sue me. ;)

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1997 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-20 05:31:24 +00:00
peabody124
cd04845c3d Flight/HID: NAK instead of stall USB bus (former was mistake) and change
polling time to 4 ms

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1996 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-20 05:21:25 +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
corvus
50574841bd Moved non primary Stabilization modules into Branches
simple		- outdated - won't compile
Experimental	- outdated - won't compile
les		- development version - not stable
les+corvus	- development version - not stable




git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1993 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-19 19:12:37 +00:00
dankers
4ed3359f6f Comment was misleading.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1992 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-19 17:25:07 +00:00
sambas
0384e359ba My working eclipse workspace, atleast for windows
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1991 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-18 19:16:20 +00:00
corvus
8cb04a372f Stabilization: new stabilization variant based on les stabilization module, with several options for coordinate system transformation
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1990 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-18 14:46:45 +00:00
dankers
a0a296562f Add Floss-JTAG Rev B schematic
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1989 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-18 09:03:21 +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