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

2849 Commits

Author SHA1 Message Date
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
pip
333d61192b Stopped GCS crash on exit if USB is still connected - at least in Windows anyway.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2882 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-26 03:19:24 +00:00
edouard
6e431c29ba OP-146 Max angles can now be adjusted from the stabilization config dialog.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2881 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-25 23:05:23 +00:00
edouard
495445c3a5 OP-146 Stabilization configuration: can now update stab settings in real time on the airframe, and link roll/pitch for easier adjustment...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2880 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-25 21:17:07 +00:00
pip
09786b763f Changed the RC input sliders for vertical bars. Simplified some code areas.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2879 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-25 20:43:58 +00:00
dankers
611cb06ec6 Update font
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2878 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-25 19:47:29 +00:00
pip
81baa9506a Added 256Kbit/s RF datarate mode
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2877 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-25 11:40:02 +00:00
pip
a2e1e3e7d0 Updated some RF module register settings
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2876 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-25 11:28:39 +00:00
pip
62e510a696 Set unused/unconnected pins as outputs.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2875 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-24 17:31:24 +00:00
pip
4b4d9043fb Set PDOP and VDOP to 99.99 in binary mode (theose values are not available in binary mode). A couple of cleanups too.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2874 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-24 10:55:45 +00:00
pip
5f22a885ad oops! .. missing spelling of "#ifdef"
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2873 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-24 10:35:27 +00:00
pip
3883a561e4 Added option (#define USE_SCIENTIFIC_NOTATION) to use scientific notation (or not as the case maybe)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2872 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-24 10:31:23 +00:00
pip
223b3089ed Added missing "parameterValueChanged(double value)" function in "configstabilizationwidget.cpp" .. wouldn't compile in windows without it.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2871 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-24 08:58:21 +00:00
andrew
84c26f8905 OP-84
Battery module for Power Sensor version 2
made a few variable declarations static so things work again after changes to make this module not run in it's own thread.

Fixed the energy consumed calcs to scale correctly.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2870 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-24 05:05:17 +00:00
loris
463403ee82 OP-316 - UAVObject units Fix accelerations units
Fix default calibration values

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2869 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-24 02:52:19 +00:00
loris
c5d1aea9f4 OP-316 - UAVObject units
Fix accelerations units
Fix default mag values
Fix gyro scale
Fix var units

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2868 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-24 01:52:39 +00:00
edouard
3d26b4ec60 OP-146 Slow progress on the stabilization configuration UI. New approach, more efficient. Not functional yet but we'll get there eventually.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2867 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-23 23:06:35 +00:00
osnwt
a4fe867c1d GCS: UAV Settings Export: added support for *.ini files.
INI file format is to be used for compact export to publish on forums, etc.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2866 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-23 20:27:36 +00:00
osnwt
bd665790c2 GCS: UAV Settings Export: added support for simple *.xml files.
UAV Settings files (*.uav) now include option lists for enum fields.
Simple XML files (*.xml) contain only subset of fields (name and values).

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2865 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-23 20:27:19 +00:00
osnwt
606cc46ea1 GCS: New UAVObjectField::getTypeAsString() function is used for UAV Settings Export.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2864 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-23 20:27:05 +00:00
osnwt
da18ee67b1 Windows Installer: Ignored SubWCRev error (if, for instance, built not from an SVN working copy).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2863 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-23 20:26:50 +00:00
pip
20e95027b1 Changed the scopes minimum update period from 100ms to 10ms (for those that can have fast scopes)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2862 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-23 15:31:05 +00:00
pip
bee704176b Fixed a bug when scanning for start of packet.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2861 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-23 10:11:26 +00:00
pip
c819ac938e A few clean ups to the spectrum scanning code (not yet enabled)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2860 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-23 09:35:30 +00:00
pip
d3ea16de99 Updated spectrum scanning code.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2859 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-23 09:30:06 +00:00
pip
e9d7ab09be Improved efficiency (a lot) when scanning for and locking onto the start of a GPS binary packet.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2858 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-23 09:24:17 +00:00
stac
26e0721043 makefile: Add dedicated clean targets
This prevents invoking the uavobject generation
when we're just trying to do a clean.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2857 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-23 04:19:02 +00:00
stac
76fed0387b makefile: refactor bootloader makefiles
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2856 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-23 04:19:00 +00:00
stac
ee3d890bfc makefile: convert to unix line-endings
These files were a mix of line endings.  Now
they're all consistent as LF terminators.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2855 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-23 04:18:56 +00:00
stac
6700a74782 makefile: refactor makefiles and clean up output
This significantly reduces the amount of duplication
across the various firmware makefiles.

The new firmware-defs.mk file should contain only
macros/declarations that will apply to all firmware
makefiles.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2854 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-23 04:18:53 +00:00
stac
2e87d705a2 makefile: no built-in rules and no-print-directory
- Remove built-in rules from sub-makes since it just adds
  cruft to the make database when trying to debug.
- Tell make not to print the directories as it decends
  into them.  Part of a series of output cleanups.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2853 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-23 04:18:50 +00:00
stac
6892d933fd makefile: CC should only depend on uavobjects_flight
Was depending on uavobjects (ie. all of them).

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2852 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-23 04:18:48 +00:00
stac
251f227b31 makefile: reduce default verbosity level
Add V=1 to your invocation of make to re-enable
printing of all command lines.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2851 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-23 04:18:46 +00:00
stac
617eec4d65 makefile: split out fw and bl targets and add cleans
New targets:
 - all_fw       : builds all embedded application firmware
 - all_fw_clean : cleans all embedded firmware
 - all_bl       : builds all bootloaders
 - all_bl_clean : cleans all bootloaders

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2850 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-23 04:18:43 +00:00
stac
9035ba3f6b makefile: clean up summary lines
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2849 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-23 04:18:41 +00:00
stac
fbe22e1d81 makefile: cleanup
- Removed commented out code
- Removed "begin" "finished" and "end" targets

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2848 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-23 04:18:39 +00:00
edouard
7d2b5ae744 OP-146 Stabilization config interface: this is a work in progress, and a pure mock-up of the UI, I would like feedback.
The idea is to use a 'vernier' dial analogy, whereby you can either of course edit the values by hand in the config dialog, but you can also select the outer dial and adjust it with either mouse or keyboard (up/down and pgUp/pgDn).
Eventually, there will be a tab for the P factor, a tab for the I factor, and a tab for the rest of the adjustments (rate limits etc).




git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2847 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-22 22:03:32 +00:00
pip
e7850ab25e Corrected scale for lat/lon - was out by a factor of 10
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2846 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-22 14:16:16 +00:00
pip
f6370a035d 'Slightly' more efficient binary packet handling.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2845 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-22 12:45:51 +00:00
pip
9da0fb47e2 Reduced GPS command resend to 2 second time-out, a few more white space corrections.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2844 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-22 12:32:08 +00:00
pip
3881c652c1 Simplified the binary code a little, added a 300ms delay after sending a FULL COLD RESTART to the GPS (IF we do that is), fixed some spelling mistakes.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2843 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-22 12:15:25 +00:00
pip
9d14723dcc Commenting tidy upping
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2842 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-22 11:32:24 +00:00