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

3090 Commits

Author SHA1 Message Date
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
pip
4e89c1f245 Updated servo input level bars. Disable some buttons if no telemetry link with OP/CC.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2908 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-27 19:20:43 +00:00
sambas
d9ad0e9a8f OP-22 Flight/PiOS: Spektrum hacks, doubled supervisor timer and ?loss? counter to the channel8 value
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2907 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-27 19:03:58 +00:00
pip
d38c44f529 Cleaned up and made the pjrc modules purely C++ - they were a mix of C++ and static C functions and data :( ... although NOT altered the MAC code - someone who knows MAC code needs to do that.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2906 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-27 17:07:41 +00:00
pip
e3b6a29bfd Possible fix for mutex lockups on GCS exit
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2905 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-27 14:39:56 +00:00
FredericG
0124c42b8c OP-324 Make NMEA parser more resilient to corrupted messages - WANRING: NMEA parser refactored - VTG and ZDA messages no longer interpreted
Sometimes corrupted NMEA messages can get passed the NMEA "CRC" check and this caused the NEMA parser to crash because it assumed that the correct amount of parameters are present.
Now the NMEA message is split into its different parameters before it is passed to the message-specific parser. Hence the function-signature of the parser functions has changed and the implementations of these functions has changed. 
I also decided to no longer interpret the VTG and ZDA because they do not contain more data than the other messages that are being parsed.
Not tested in flight, and could not test the TOP message.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2904 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-27 13:45:19 +00:00
pip
7bfb58ce73 clean up
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2903 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-27 13:13:10 +00:00
pip
2eaedfe78a Hopefully a fix to stop the GCS crashing on exit (in windows at least) if the GCS is still connected to a USB device whilst telemetry is in full flow.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2902 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-27 11:58:58 +00:00
pip
efd12532eb clean up
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2901 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-27 10:27:04 +00:00
pip
47f9808e9f clean up
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2900 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-27 10:26:50 +00:00
pip
4afdb8c478 clean up
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2899 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-27 10:26:18 +00:00
edouard
77b4e13066 New baro for Hicontrast theme
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2898 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-27 10:21:29 +00:00
dankers
99579dec57 Test commiting to reworked SVN, add lic file back but under trunk.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2897 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-27 10:16:35 +00:00
loris
6e942d786a OP-316 UAVObject Fix typo, indents, units, default values
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2896 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-27 00:38:59 +00:00
peabody124
ea390d0b90 CC-26: Add accel bias term. Note it's units are LSB, not m/s^s
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2895 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-26 22:21:44 +00:00
edouard
21a31df392 Better tooltips on stabilization config interface. Removed remaining "AHRS" references in the INS config interface.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2894 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-26 18:05:30 +00:00
edouard
f41cfc3d00 New CopterControl rendering in full SVG for the uploader gadget, should look much nicer than the previous pixmap.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2893 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-26 18:01:41 +00:00
edouard
b4cacbcf76 Sorry, had to change the connection detection, it makes the Linux library crash immediately...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2892 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-26 14:53:06 +00:00
edouard
dc9efb4d55 Added the Guidance and Attitude system alarms to the system health diagram.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2891 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-26 14:01:20 +00:00
edouard
4d76926561 Compile fix.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2890 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-26 13:53:50 +00:00
pip
770c623f34 Removed TestThread stuff
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2889 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-26 13:35:50 +00:00
pip
77cbc36ad5 Added object destroyed monitoring to the RawHIDEnumerationThread object to ensure it doesn't crash if it's parent (m_rawhid) is destroyed.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2888 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-26 12:56:14 +00:00
edouard
6d00146a2b Removed the availableDevChanged(QObject*) in rawhidplugin.h as it hid availableDevChanged(IConnection*) and prevented
the connection manager from getting the signal whenever a USB device is connected/disconnected. Any side effect on Windows?




git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2887 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-26 12:01:00 +00:00
osnwt
899c1fe0bf Moved CPU and heap alarm thresholds into pios_config.h.
Fixed heap thresholds for the CC (prevented arming).

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2886 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-26 11:46:39 +00:00
edouard
930928e6fa OP-146 More tooltips for stabilization tuning. Someone double-check...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2885 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-26 09:11:53 +00:00
edouard
3b6ebdcd9f OP-146 New gyroscope icon for the stabilization config gadget.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2884 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-26 09:03:30 +00:00
pip
70f1e4a3e9 Can't for the life of me remember what I updated this time!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2883 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-26 03:20:16 +00:00