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

2828 Commits

Author SHA1 Message Date
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
pip
d1d165adff More white space/tab corrections.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2841 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-22 11:19:12 +00:00
pip
0fd6170979 added another "#ifdef ENABLE_GPS_NMEA"
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2840 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-22 11:02:17 +00:00
pip
a2259201e5 removed tabs after spaces.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2839 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-22 10:55:01 +00:00
pip
414836a4c9 Added another parsing_errors++ line.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2838 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-22 10:36:27 +00:00
pip
4547013901 Added GTOP BINARY mode to the GPS module.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2837 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-22 10:16:50 +00:00
FredericG
42cf204dcd correctly detect 100% load
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2836 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-21 21:50:10 +00:00
pip
931102bf37 Added more error checking (checking for NULL pointers)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2835 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-21 15:33:20 +00:00
pip
3dcd93e66b Added telemetry functions.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2834 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-21 15:10:06 +00:00
pip
1bb5ed54ff Added save to SD card functions.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2833 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-21 14:14:59 +00:00
pip
5e501f3cae Fixed Lat/Lon scaling in the GetHomeLocation functions.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2832 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-21 13:50:31 +00:00
pip
9b10842f5d Updated some parts of the map plugin to use the new UAVObject utility.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2831 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-21 13:33:10 +00:00
pip
a5f17b148b Added getGPSPosition() function to the UAVObject utility
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2830 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-21 13:32:22 +00:00
pip
d666a61bf5 Created a new UAVObject utility plugin to make UAVObject access much easier for all plugins
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2829 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-21 13:21:02 +00:00
pip
ba7e7ba85d Check for error returned from homelocation util.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2828 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-21 11:17:30 +00:00
pip
4a1842f3be Added code to check for invalid parameters.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2827 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-21 11:15:39 +00:00
pip
32ae936df5 Uses the new home location utility
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2826 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-21 11:09:20 +00:00
pip
7a34e25956 Added a home location utility
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2825 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-21 11:08:56 +00:00
peabody124
5f2c502172 Arm checks: Simply don't check GPS because the dependence on AHRS Settings
breaks CC.  This should be done by the GPS alarm being set only when
appropriate (i.e. by AHRS on OP when needed) and not by the GPS module.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2824 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-21 05:58:24 +00:00
peabody124
4972c99519 OP-316 Update accelerometer units to be right
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2823 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-21 05:58:21 +00:00
pip
0c48fe258a Changed alarm level checking from WARNING level to ERROR level before allowing arming.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2822 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-20 19:34:27 +00:00
pip
88cf1e276a Ignore Telemetry alarm when arming (telemetry alarm no longer prevents arming).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2821 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-20 17:53:03 +00:00