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

1830 Commits

Author SHA1 Message Date
peabody124
9165fb87b2 AHRS: Calibration values were sent but not locked into EKF
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1847 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-03 04:34:07 +00:00
peabody124
87a822e3f9 AHRS: Add back home location setting north axis
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1846 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-03 04:34:05 +00:00
andrew
5c4331fe32 added ccpm swashplate image for config gadget.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1845 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-03 03:55:41 +00:00
dankers
1833881404 Creat packaging folders for installer / package files.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1844 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-02 22:46:27 +00:00
edouard
aa18cb4ce1 New indicator for GCS: "Arm Status". Use the bargraph dial plugin and connect it to the "ManualControlCommand/Armed" object/field.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1843 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-02 12:47:17 +00:00
peabody124
5c9b5f4a99 AHRS: Get calibration working again
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1842 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-02 03:10:04 +00:00
peabody124
0c30101f54 AHRS: Made an object setting to allow the downsampling rate to be changed on the
fly (EKF rate up to a limit).  Also, now the algorithm selects if you are
indoor or outdoor as well as if you use a mag indoor (if you do set the z
variance higher than it calibrates to).

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1841 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-02 03:10:01 +00:00
peabody124
104dc165a9 AHRS: Max downsample that doesn't cause huge amounts of drops right now is 20
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1840 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-02 02:17:34 +00:00
peabody124
29b087703b Flight/AHRSComms: Decrease stack size, not needed to be that big. Also made
ActuatorDesired dT in ms like the uavobject indicates

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1839 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-02 02:17:32 +00:00
peabody124
6d39d85b8f UAVObjects/AHRSStatus: Remove unused fields
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1838 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-02 02:17:29 +00:00
peabody124
2050864e59 UAVObjects/VTOLStatus: Remove unused object. Also added update time to
indicate stabilization loop time.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1837 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-02 02:17:26 +00:00
peabody124
0fd9fda7a6 Flight/AHRS Comms: Whitespace fixes
gnuindent -npro -kr -i8 -ts8 -sob -ss -ncs -cp1 -il0 -hnl -l150

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1836 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-02 02:17:22 +00:00
peabody124
ea3fb03c7f Flight/AHRS Communications: Switch to Les' very nice UAVObject communication
scheme

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1835 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-02 02:17:18 +00:00
corvus
62300c9682 flight/Libraries/CoordinateConversion: ECEF2LLA() - Speed up the calculation with a primer coordinate.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1834 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 20:30:34 +00:00
peabody124
3854541798 Ground/UAVObjets: Add missing files for AHRSStatus2
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1833 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 20:28:16 +00:00
peabody124
2a93f35807 UAVObjects/MixerSettings: Have values as int8, don't need float resolution
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1832 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 20:28:14 +00:00
les
683aa2b480 AHRS: Tidied up calibration sequence
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1831 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 19:41:00 +00:00
les
b2d56ca34c AHRS: Added UAVObject based SPI communication between AHRS and OP.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1830 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 17:31:13 +00:00
les
498f3d0fa6 PIOS SPI: Added a function to detect if the channel is busy
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1829 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 16:52:20 +00:00
edouard
d2c1014e29 Re-enabled yaw stabilization after SystemSettings changed. There might be a lingering issue when the
yaw angle crosses the zero-360 mark, beware.
You can disable yaw stabilization by setting all PID gains to zero for yaw.



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1828 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 16:26:43 +00:00
edouard
8161d25774 OP-138 Yaw mixing was inverted in the config gadget! This update works for me, with the quad layout in the gadget's picture.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1827 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 16:25:21 +00:00
edouard
b80d2ae4c5 OP-138 Support Max Accel in the matrix mixer from the config gadget.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1826 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 15:49:54 +00:00
peabody124
d54c6bf0f8 Flight/Actuator: Use dT in seconds. Forgot to change MaxAccel.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1825 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 14:37:03 +00:00
peabody124
0dfdad4fc4 Flight/Actuator: Reset critical alarm
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1824 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 14:09:14 +00:00
peabody124
c076a695ce UAVObjects/ActuatorSettings: Default values are all 1000 now so that an
unconfigured motor can't turn on.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1823 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 13:45:26 +00:00
peabody124
4766e11882 Ground/GCSControl: Reenable joystick. SDL required.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1822 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 13:45:24 +00:00
peabody124
93a85e24a0 Ground/Joystick/Magicwaypoint: Fix initialization condition that led to crash
when closing gadget and also center icon on click in magic waypoint.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1821 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 12:33:36 +00:00
peabody124
9f4e3906e3 Flight/Actuator: Made it use the detected dT for the feedforward computation
and removed the unused field from actuator settings (old setting time and all
the aircraft specific stuff).

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1820 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 12:33:33 +00:00
peabody124
2dc40d11a1 Flight/Stabilization: Use the system clock to determine time from previous
update since now drive by events.  This means StabilizationSettings object
changing so write down your settings.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1819 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 12:33:29 +00:00
peabody124
4461aba6d6 Flight/Stabilization: Move to object event system. Latency from ahrs_comm
update to actuator update now ~0.7 ms.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1818 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 12:33:26 +00:00
peabody124
b9943645e0 Flight/Actuator: Run actuator from queue again, latency well behaved.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1817 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 12:33:20 +00:00
edouard
b5eb89ed5e OP-138 Added Reset button for curves, and display of value when moving a curve point.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1816 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 08:40:46 +00:00
edouard
b385ce961e OP-138 Modify Mixer curve to use values from 0 to 1 instead of -1 to +1, since the actuator module in OP works in the 0-1 range. Comments welcome on this.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1815 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 07:28:12 +00:00
edouard
b32da232cb OP-138 Persistent (to SD) saves of all mixer settings working now (was missing two objects earlier).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1814 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 07:18:11 +00:00
martin
712725f3d3 Update Russian translation
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1813 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-30 23:05:04 +00:00
cranphin
9c705aedf1 GCS: Removed last 'binary' config reading support, for layout/splitter settings.
Again, use the previous version to convert old config files if needed :)


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1812 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-30 20:55:15 +00:00
cranphin
b418fe18bf GCS: Control, Tiny fix to center the big red dots :)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1811 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-30 20:14:39 +00:00
dankers
b868bba1df Small CREDITS.txt update for Jose's latest work. Please tell me if I miss anything with this, its important to me that it is correct.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1810 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-30 17:56:31 +00:00
dankers
05896ec335 Update Sounds for Notify Plugin, update CREDITS.txt
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1809 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-30 12:21:54 +00:00
peabody124
c69f884f01 Ground/AHRS Calibration: Make sure it returns updateRaw to false after running
to stop from hammering telemetry and keep OP-AHRS smooth.  Also fixed bad
connection in magic waypoint.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1807 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-30 04:49:55 +00:00
peabody124
e2d63cbf19 Flight & Ground/AHRS Calibration: Made variance estimation into a two pass
approach again because ran out of numerical precision for single pass.  Also
made ground force the gyro signs to be correct.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1806 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-30 04:30:29 +00:00
peabody124
4caab584f1 Ground/AHRS Calibration: Hard code the signs of teh sensor calibrations to be
correct.  Six point calibration otherwise is sometimes inconsistent.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1805 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-30 01:20:34 +00:00
peabody124
25314ab92a Ground/UAVControl: Removed some debuggings and a qFatal in SDLGamepad for no
joystick found.  Changed gadget name to Controller to remove redundant UAV.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1804 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-30 01:20:29 +00:00
peabody124
f2d5db60da Remove debugging messages
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1803 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-30 01:20:26 +00:00
edouard
742987a314 OP-138 Small bugfix to prevent a crash when actuator settings are incoherent
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1802 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-29 19:40:11 +00:00
sambas
ee4ca7b93a OP-177 Flight: All alarms fixed, AHRSComms stack size made critical stack alarm, event warning caused by queue that is not used at the moment.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1801 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-29 19:06:35 +00:00
peabody124
a4e0ee5fdf Flight/Actuator: Move Les' actuator to the active one
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1800 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-29 18:51:36 +00:00
peabody124
2f6f76d578 Flight/Actuator: Remove old mixer code
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1799 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-29 18:51:34 +00:00
sambas
2d90a80e22 Flight/PiOS: this patch makes dosfs work with both MBR and VBR formats. Backup your SD files in case this messes something!! Testing needed.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1798 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-29 16:29:38 +00:00
peabody124
4e3325f3ba Ground/Libs: I'm an idiot, forgot to comment out sdllibrary itself
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1797 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-29 16:02:20 +00:00