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

2980 Commits

Author SHA1 Message Date
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
edouard
d0d5d2db4e OP-308 Make actuators read-only and set them to zero when running calibration, so that engines cannot be started by accident.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2779 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-13 19:10:29 +00:00
peabody124
52f09e5d55 Add compile time flag (USE_SPEKTRUM) to enable spektrum support until the
dynamic switching is done.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2778 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-13 17:43:44 +00:00
edouard
bcdad47e1c OP-308 Added a warning in red to warn users about engines connected during calibration.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2777 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-13 17:08:45 +00:00
stac
967bb9bb9c pipx: COM device ids are now 32bit not 8bit
The COM layer now uses 32bit device ids rather than
8bit.  All code that stores these ids must now use
uint32_t to hold them.

Since these 32bit numbers are really just opaque
pointers, it is (reasonably) safe to assume that
they won't be 0.  The logic around tracking the
*_previous_com_port could probably be cleaned up
to remove that assumption.

Missed this fixup in the recent hwinit changes.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2776 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-13 15:54:26 +00:00
sambas
f3bce1705b OP-22 Flight/PiOS: Spektrum fix, OP tested on ground not flown yet, CC not tested.
pios_rcinput.[ch] outdated

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2775 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-13 13:10:02 +00:00
pip
e5c56e462e Oscilloscope now has finer lines for seeing detail.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2774 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-13 10:11:51 +00:00
stac
66a9d53d0a hwinit: Convert I2C driver to dynamic init
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2773 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-12 22:19:54 +00:00