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

2987 Commits

Author SHA1 Message Date
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
FredericG
374e822f79 OP-302 Remove threads from modules that do not need them - ET OSD module
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2811 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-19 13:25:27 +00:00
FredericG
c5f814a931 ET OSD, WIP, measure timing
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2810 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-19 10:18:00 +00:00
pip
9a2bdac49c Reduced CC CPU usage from 57% to 46% by moving the floating point multiplies outside of the accelerometer downsample/averaging loop in the updateSensors() function.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2809 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-19 09:33:03 +00:00
FredericG
ec634ef3e7 debug-pins, small fix
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2808 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-19 09:11:00 +00:00
osnwt
7af611139e GCS Installer: fixed German translation, thanks to Wellenbrett
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2807 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-18 08:47:02 +00:00
corvus
015e49ee5a some comments about gyro temp calibration added inbto the code
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2806 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-17 15:32:26 +00:00
zedamota
9050608e6c Flight/Bootloader - Bootloader updater, minor update to help user with the CL options
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2805 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-17 15:02:10 +00:00
zedamota
56c195fa9a Flight/Bootloader - Bootloader updater, WORKING - tested with PipX only (should work for all boards though).
Led(LED1 different color on each board) Sequence:
1-Power On
2-Led ON for 3 seconds (you can disconnect during this time - safety measure) 
3-Led flashes very quickly while the board is being programed (because the program is stored in memory this is very fast and looks like a led glitch)
4-If all good - LED flashes 3 times with a 1sec period and turns off - you may now reboot.
4-If an error ocurred - LED will keep flashing with a 500ms period until power off

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2804 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-17 14:54:57 +00:00
corvus
50e78b4265 typo fix
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2803 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-17 01:51:49 +00:00
corvus
a91a35685a IL2 add quaternion attitude and accels
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2802 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-17 01:51:45 +00:00
zedamota
949617e236 Flight/Bootloader - Bootloader updater, minor fix
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2801 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-16 15:04:59 +00:00
osnwt
fe2a43e07f GCS: Fixed UAVSettingsImportExport plugin dependencies. Also unified comment capitalizations and fixed few descriptions. No code changes.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2800 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-16 14:30:19 +00:00
pip
60e7665aec A bug fixed that caused carrier frequency to go way off when setting the modem to one of the Tx-carrier/Tx-spectrum test modes (and back).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2799 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-16 12:32:44 +00:00
zedamota
993a4a7c5f Flight/Bootloader - Bootloader updater, needs testing
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2798 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-15 17:42:24 +00:00
corvus
435072cf4e Modules/Stabilization, Modules/ManualControl:
Move channel StabilizationSettings from ManualControlCommand to
AttitudeDesired, unify channel normalization and put them all into ManualControl

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2797 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-15 14:55:00 +00:00
pip
9899c270cb Removed unused code
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2796 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-15 13:10:18 +00:00
pip
ac7cfcc358 Added "Ready-To-Send-Time" parameter adjustment
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2795 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-15 12:57:46 +00:00
zedamota
0abec1908d Flight/Bootloadera - small cleaning up. Start of Bootloader Update firmware witch will enable users to update the Bootloader itself without JTAG.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2794 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-14 18:15:25 +00:00
pip
b10c1a4cad Can now show/hide the scope legend by double clicking the scope.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2793 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-14 10:19:18 +00:00
osnwt
ceea6085b4 GCS: Remove ambiguity in UAV/GCS Settings Import/Export menu commands, add support for translation.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2792 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-14 10:15:56 +00:00
pip
f75539dcc6 Reverted GYRO calibration detection.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2791 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-14 09:01:47 +00:00
andrew
c6e228e768 OP-299 Swashplate Levelling UI
Added core functionality for levelling routine
Added instructions to each step
Added warning dialog if user tries to interrupt levelling process

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2790 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-14 05:46:45 +00:00
stac
3b34cc71b4 bl_pipxtreme: bind to new COM driver
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2789 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-14 01:17:42 +00:00
stac
5ac55a35e3 bl_coptercontrol: bind to new COM driver
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2788 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-14 01:17:39 +00:00
stac
000234f036 bl_ahrs: bind to new COM, USART and SPI drivers
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2787 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-14 01:17:35 +00:00
stac
bbb3882826 bl_openpilot: bind to new COM, USART and SPI drivers
- Removed all unnecessary device instances and their cfg's.
  - SPI to SD card
  - I2C
  - Aux USART
- Moved SPI baudrate setting into cfg rather than init func.
- Abstracted forcing slave select under OPAHRS API.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2786 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-14 01:17:32 +00:00
stac
46bde2def9 build: Add all bootloader targets to top-level makefile
The new targets are:
  bl_openpilot
  bl_ahrs
  bl_coptercontrol
  bl_pipxtreme

Build output is placed in <top>/build/bl_*/

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2785 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-14 01:17:28 +00:00
pip
e8e27f9696 Smaller axis text size.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2784 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-14 00:44:33 +00:00
edouard
5bc0641d09 Fix a small typo in the tooltips of the config gadget.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2783 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-13 21:31:38 +00:00
pip
e2b22039f1 Darkend scope curve indicator area to try to make it easier to match the colour with a scope line.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2782 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-13 21:04:31 +00:00
osnwt
eec4959391 UAVSettings Import/Export plugin (import is not implemented yet).
This plugin registers itself in the GCS File menu and allows to save the settings database (all UAVObjects which have settings flag set) into an XML file. No import function is implemented yet, but the XML is human-readable and can be used to enter values by hand.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2781 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-13 20:11:41 +00:00
pip
74502852c3 Added GYRO calibration detection into the adc_callback() routine - to pass raw values when calibrating the gyro's.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2780 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-13 20:04:25 +00:00