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

3116 Commits

Author SHA1 Message Date
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
zedamota
623bdb6298 OP GCS/HID - small fix
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2956 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 21:14:56 +00:00
zedamota
18eef2f532 OP GCS/HID - Moved notifications to a new class
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2955 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 21:03:24 +00:00
edouard
086f78b6b8 OP-334 Progress on USB Monitor, compatible with both Win32 and Linux
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2954 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 21:00:37 +00:00
FredericG
c890f596e4 NMEA: minor change to debug-messages
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2953 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 19:53:10 +00:00
edouard
cd3168d123 OP-334 Further work on USB Monitor, incl. Win32 stub.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2952 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 16:58:48 +00:00
pip
eaea8f28cf Starting to add continuous streaming modes (DATA and PPM).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2951 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 16:32:43 +00:00
edouard
1c89211df1 ... sorry
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2950 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 13:43:45 +00:00
edouard
c01329810a OP-334 Linux start of implementation and Windows stub to enable compilation.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2949 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 13:41:13 +00:00
edouard
28d4bbbcfb OP-332 Linux work in progress implementation (not compiled right now)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2948 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 11:37:09 +00:00
edouard
bce469c184 OP-334 header file for usb monitor object, work in progress.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2947 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 08:46:56 +00:00
scott
afc788bea4 Added 2nd rudder to fixed wing config. This is necessary for flying wings, in particular, that have rudders on the wingtips.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2946 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 05:33:51 +00:00
scott
f1ee47dcff Added #include "pios_config.h" to make sim_posix build again. Some alarm constants were missing.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2945 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 05:09:11 +00:00
peabody124
e4d9ef98a5 OP-315: Display run time as a percentage
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2944 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 04:28:45 +00:00
peabody124
97163d2193 Update OSX project
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2943 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 04:28:42 +00:00
peabody124
ec29920a8d OP-315: Clean up RTC calls into a separate function. Unfortunately still need
to add function headers into portmacro.h

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2942 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 04:28:38 +00:00
peabody124
3e2c542eef OP-315 Use RTC at 65 khz as time base for task switching
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2941 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 04:28:34 +00:00
peabody124
528f74b512 OP-315: Extend TaskInfo to include run time stats. Still need to configure a
timer to run at around 10 khz.  RTC a good option.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2940 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 04:28:29 +00:00
peabody124
267efe0b88 OP-315: Patch to FreeRTOS port to allow querying the run time for tasks. This
will need to be forward ported (and ideally pushed up stream) for FreeRTOS
updates

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2939 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 04:28:22 +00:00
vassilis
b084ea7ea1 FlightPlan/Python: Updated object generator to create a Python file for each UAVObject. It is now possible to access all UAVObjects from the FlightPlan Python scripts.
Warning: The memory utilization when importing objects is unacceptably high making it unusable in the flight code at this point. It can be however used with the SITL simulator. Some more investigation is needed to understand why several kb of memory are used each time a module is imported (even before any functions are called or objects from the module are created). 


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2938 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 02:22:50 +00:00
edouard
870242d456 Changed the save GCS settings menu text to a more precise description since there are now three elements which can be saved..
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2937 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-02 13:10:04 +00:00
peabody124
c21e9f74b3 OP-329 Make the stabilization mode config gadget compatible with new mode.
Feel free to revert the layout change part - but I'm trying to make it clear
that "stabilization1" no longer naturally matches "position1"

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2936 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-02 01:25:47 +00:00
peabody124
3b13ad6859 OP-329: Enumerate more possible flight modes now like multiple stabilization
modes so that the FlightMode field is complete in terms of being informative
enough

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2935 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-02 01:25:44 +00:00
peabody124
39588fef39 UAVParser: Support comments in objects
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2934 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-02 01:25:40 +00:00
peabody124
915ae1ae3c OP-313 Account for which axis are in rate and none to get the desired
quaternion

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2933 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-02 01:25:38 +00:00
peabody124
8930ec01de OP-313 Quaternion based stabilization, gets rid of lots of checking angle
signs, should be stable for all orientations

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2932 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-02 01:25:34 +00:00
peabody124
3488d28a5b Whitespace fixes
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2931 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-02 01:25:30 +00:00
peabody124
3e17c2ff55 OP-312: Create a StabilizationDesired object that is the generic input to
Stabilization, carries the desired rate or attitude as well as a flag on how to
intepret it.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2930 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-02 01:25:27 +00:00
peabody124
672b9ce961 Convert failure to mount SD card to an error so you can't arm with an
unconfigured quad

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2929 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-02 01:25:23 +00:00
osnwt
52643dd6c6 OP-305: remove r/o attributes from copied .svn/* files (share.pro)
Those files are copied to make built GCS self-contained, but share.pro also
copies hidden and r/o SVN files. With them on Windows cp -rp can't copy over
old build, and rm -rf can't remove them.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2928 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-01 22:23:12 +00:00
pip
beedb7fdad Added center stick deadband code - currently deadband is set to '0' so not used)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2927 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-01 21:43:20 +00:00
osnwt
51396d5272 makefile: Build .bin files for firmware (required for bootloaders), keep .elf for bootloaders
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2926 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-01 10:50:44 +00:00
pip
eb5b97ca3a Added widgetbar for RSSI indicator because QProgressBar going in large steps.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2925 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-01 10:50:42 +00:00
pip
1a83f0c461 Removed all references to widgetbar
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2924 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-01 10:50:04 +00:00
dankers
1b697b3828 Test commit
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2923 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-01 10:48:03 +00:00
stac
e04e86916a makefile: Build .bin files for bootloaders
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2922 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-01 03:56:07 +00:00
zedamota
53e18382b3 OP GCS/HID - Added functions to allow already connected devices to trigger the signals.
For this to work, signals have to be subscribed before calling "setUpNotifications()".

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2921 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-28 21:01:02 +00:00
pip
4eec350318 Neutral position text is now correctly set on GCS start up on the RC input config widget.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2920 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-28 17:27:28 +00:00
pip
ffdfedfaa1 Reverted RC input config widget to using sliders to allow manual adjustment
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2919 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-28 16:44:04 +00:00
osnwt
0210334aa8 OP-305 Preparing the top level Makefile for unix-style Windows build.
- fixed: dep directory problem (sometimes it cannot be created by make, so do it with mkdir);
- fixed: added -f option to all_clean target (or rm stops on Windows for hidden .svn and r/o files);
- fixed: overridden USE_BOOTLOADER var for bootloaders (should always be set to NO regardless of command line);
- verified: short compilation output works as expected.

Some TODOs still exist, see OP-305 comments for details.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2918 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-28 10:25:56 +00:00
pip
6e12a2f04c Fixed linux compile problem.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2917 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-28 10:15:56 +00:00
zedamota
b8a5249246 OP GCS - sorry made a mess dealing with conflicts
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2916 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-28 01:37:25 +00:00
zedamota
0c2a563c34 OP GCS - created USB connect/disconnect signals for windows using the system API.
Need to call setUpNotifications first!!!

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2915 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-28 01:01:57 +00:00
pip
49170f0628 Monitor telemetry disconnection.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2914 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-28 00:35:11 +00:00
pip
a2cf1c4673 Now able (hopefully) to unplug USB device from PC whilst the GCS is still connected to it via USB .. in WINDOWS ONLY.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2913 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-28 00:34:31 +00:00
pip
011abe3117 Added deviceUnplugged emitted signal in windows version.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2912 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-27 23:14:04 +00:00
pip
ed4aefbb95 Removed unneeded mutex in the enumeration thread.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2911 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-27 21:15:32 +00:00
FredericG
7d679e01f0 ET-174 Adapted ET OSD Drv to current GPS coordinate format
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2910 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-27 19:58:34 +00:00
pip
f15bd6259e Cosmetic graphical display changes to the RC input config display.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2909 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-27 19:52:03 +00:00