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

3069 Commits

Author SHA1 Message Date
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
pip
df26016c64 Added alarm check when trying to change state to ARMED mode (from DISAMRED mode), if any warnings are set then it will not go into ARMED mode - unless the GPS is not required, in which case the GPS alarm will be ignored (if using Simple or Indoor AHRS modes). These checks are done in the okToArm() function.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2820 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-20 16:42:31 +00:00
dankers
4c03220268 Added Sami's first flip in the history of the universe with CopterControl.
Video link included and it looks like it flies so well. 

Tempted to add Edouard's first test at a CopterControl submarine but it didn't go to well. :-)

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2819 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-20 16:06:21 +00:00
pip
578b779a76 Fixed PPM compile errors - you can now compile for PPM input if desired.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2818 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-20 13:41:19 +00:00
pip
c214833346 oops!! .. enabled PPM and disable PWM by default .. sorry
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2817 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-20 13:40:19 +00:00
pip
d733f08a0e Fixed PPM compile option (missing pin defines)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2816 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-20 13:12:08 +00:00
sambas
8d6f320fca Handle I2C defines better, needed in CC for now
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2815 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-20 07:14:02 +00:00
edouard
06a8fdb45d Change AHRS to INS in the config gadget widget.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2814 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-19 23:04:38 +00:00
osnwt
6613158206 BootloaderUpdater: fixed compilation errors. It works with CC too (tested).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2813 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-19 19:18:03 +00:00
FredericG
c9060393e5 OP-302 Remove threads from modules that do not need them - Battery Module
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2812 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-19 18:56:52 +00:00