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

2964 Commits

Author SHA1 Message Date
edouard
7631aeeb48 OP-338 USB Bootloaders on OpenPilot & CopterControl boards now use the new PID, and the right values for bcdDevice.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3014 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-09 07:06:53 +00:00
edouard
bfed85a9b0 Update uploader gadget to use the USB monitor to get the list of available devices.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3013 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-09 00:07:07 +00:00
edouard
51a8a2d525 OP-334: Make the USBMonitor a singleton and export its symbols in the RawHID plugin, so that other plugins can use its instance(). Also implement a way
to ask for devices in bootloader or running mode.



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3012 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-08 23:59:29 +00:00
edouard
ae32bae5c7 OP-338: Use the new convention on bcdDevice for the PipXtreme. Also use the new PID for the modem. Careful, this breaks the uploader gadget on the GCS for now!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3011 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-08 23:57:18 +00:00
sambas
b240915d05 PPM driver cleanup
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3010 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-08 18:52:50 +00:00
pip
0d389c4d34 Forgot to comment out serial port debugging option .. sorry - again
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3009 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-08 18:32:16 +00:00
pip
48cecfaacd Forgot to commit this file - sorry
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3008 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-08 18:29:48 +00:00
sambas
0eeacb44bd PPM driver for OP, first test
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3007 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-08 18:08:13 +00:00
cwabbott
f657dba49f Modified sitl win32 to output to /build/sitl_win32
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3006 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-08 02:36:33 +00:00
corvus
be1837ecd5 SiTL/SimPosix: Fixed compilation issue because of Timer macro eedeclaration in portmacro.h
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3005 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-07 22:43:20 +00:00
edouard
6dcb9b2dcc use constants in the rawhid plugin instead of hardcoded VID
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3004 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-07 22:16:50 +00:00
pip
5c7e74e169 Removed commented out un-used signal/slot
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3003 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-07 22:07:41 +00:00
pip
69b930899c Removed un-needed signals.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3002 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-07 22:06:57 +00:00
edouard
191df1a118 Small utility to parse the output of a Junsi PowerLog6S, should work on Linux, Windows & Mac. Testbed for the HID library and USB device detection we're working on, not directly related to the GCS...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3001 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-07 22:00:26 +00:00
edouard
18a39c964e Corrected several typos in the device detection code, improved Linux detection (more efficient).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3000 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-07 21:50:13 +00:00
edouard
c1546d818f OP-328 Stub for MacOS support of USB Monitor.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2999 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-07 20:38:34 +00:00
peabody124
b2abc73ae3 AHRS: Move getting mag data back into the main loop
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2998 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-07 19:28:25 +00:00
peabody124
aea0695f70 AHRS: Move out of bound checks to main loop instead of when getting the accel
data

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2997 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-07 19:28:11 +00:00
pip
bfcfb3e88e Fixed problem with board rebooting when changing mode from PPM Rx or PPM Tx to some other mode.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2996 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-07 17:46:39 +00:00
pip
3e67bf19dc PPM generator module now working (the modem can generate a nice precise PPM stream) - not yet done the RF streaming side of PPM though.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2995 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-07 15:00:38 +00:00
edouard
61c8ea9185 OP-334 Now fill the bcdDevice and other fields (except HID page info) on Linux too.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2994 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-06 22:57:34 +00:00
pip
b71bc49ce3 Updated USB descriptor to use the BCD values stated on the wiki page http://wiki.openpilot.org/display/Doc/Firmware+USB+descriptors
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2993 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-06 21:08:12 +00:00
pip
88b2d360a3 Various minor changes to do with switch modem mode on the fly but mainly PPM Input decoder (with error/noise detection) is now working
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2992 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-06 18:52:18 +00:00
edouard
cc1a53417d Barometer in High-contrast theme was missing from the share directory. Added.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2991 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-06 17:34:28 +00:00
osnwt
d6e2a72e60 OP-305: Top Makefile: added GCS build configuration option GCS_BUILD_CONF=(debug|release).
Use 'make gcs GCS_BUILD_CONF=release' to build release binaries.
Default is to build debug version (was hard-coded).


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2990 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-06 13:41:46 +00:00
osnwt
6a0a8f00c9 OP-305: fixed syntax error when building on Windows under sh
Line:
  $(CHK_DIR_EXISTS) dir $(MKDIR) dir
under cmd translates into
  if not exist dir mkdir dir
but under sh it becomes
  test -d dir mkdir dir
which is syntax error.
So CHK_DIR_EXISTS removed, MKDIR made unconditional.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2989 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-06 13:38:30 +00:00
FredericG
baf0850690 OP-336 CPU usage calculation incorrect when armed - no measure the time between calculations
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2987 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-06 11:50:54 +00:00
FredericG
5554973cea OP-174 ET OSD support - fix for writing configurations - temp workaround for what seems to be an issue with I2C driver OP-305
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2986 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-06 11:19:29 +00:00
corvus
7c4f29508b useless note on documentation (needs update)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2982 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-06 00:29:50 +00:00
zedamota
0eb0f4365a OP GCS/HID - just added the Usage field to the USBPortInfo struct.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2977 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-05 15:58:17 +00:00
sambas
8fb82584b1 removed some redefined warnings in windows
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2976 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-05 13:51:29 +00:00
FredericG
6d0679b9e9 Small fix to PIOS_DEBUG_PinValue8Bit(), was also influencing other IO pins
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2975 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-05 12:53:52 +00:00
pip
5c01155c4f oh ***! .. to early on a Saturday morning to be doing this .. sorry.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2974 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-05 10:55:38 +00:00
pip
1db840ed8a Correct mistake just made in "ConnectionManager::connectDevice()"
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2973 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-05 10:19:37 +00:00
pip
7fe74cda15 We weren't closing the device (after opening it) if "io_dev->isOpen()" returned false in the "ConnectionManager::connectDevice()" function.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2972 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-05 10:17:18 +00:00
FredericG
35475820ad 2 new PIOS_DEBUG functions to output a value on the debug-pins. In its current implementation it will probably not work on CC....
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2971 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-05 09:23:57 +00:00
FredericG
5f52ef6aaa fix: PIOS_DEBUG_Init() was no longer called
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2970 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-05 09:21:32 +00:00
edouard
e290d37df5 Fix logging gadget for replay speed setting.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2969 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-04 23:22:49 +00:00
pip
63d919dbbe Removed monitor (SIGNAL/SLOT) for deviceClosed event. will remove the device closed stuff in rawhid if alls well later
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2968 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-04 23:16:51 +00:00
osnwt
8d085552fb CC: Modules/Attitude/attitude.c: unused headers removed (do we have another?)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2967 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-04 21:12:37 +00:00
osnwt
e9d507dd3e CC: Fixed compilation error after uavobject rename
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2966 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-04 20:56:58 +00:00
zedamota
ea5d4367b4 OP GCS/HID - function to filter based on VID/PID
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2965 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-04 20:49:18 +00:00
pip
fe6b41e6f9 Fixed problem with GCS crashing in windows when GCS exits still connected to USB device
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2964 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-04 20:42:47 +00:00
zedamota
492152d506 OP GCS/HID - 3rd try, sorry guys
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2963 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-04 19:26:11 +00:00
edouard
f2fc9b03d4 OP-334 Better exit code for the RawHID plugin (termintes usb monitor)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2962 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-04 09:59:43 +00:00
pip
7317891d39 Slight reorganisation to allow easier continuous data transmission (DATA streaming and PPM streaming) and allow easier total configuration changes on the fly.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2961 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-04 08:34:44 +00:00
FredericG
32c7596636 OP-324 Make NMEA parser more resilient to corrupted messages - For the new GTOP GPS FW, parsing of the VTG message is needed to get Heading and GroundSpeed
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2960 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-04 07:57:18 +00:00
zedamota
3e52d08b2b OP GCS/HID - BIG fix
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2959 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-04 02:17:46 +00:00
pip
f8f25bf2d2 Added exception catches in known problem areas if GCS is closed while it's still connected to a USB device.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2958 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 22:03:03 +00:00
edouard
e4535ed575 OP-334 OP-332 Linux usb monitor working fine now, and rawhidplugin.cpp updated to use this new mechanism, no more polling thread opening the device every second!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2957 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 21:44:59 +00:00