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

2131 Commits

Author SHA1 Message Date
pip
912ba59cf9 You now supply a buffer address and buffer size when initializing the fifo buffer.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2171 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-28 10:59:24 +00:00
edouard
45b216bf57 OpMap: now the HomeLocation is updated following the actual UAVObject value.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2170 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-27 20:13:32 +00:00
edouard
02366bf368 OP-35 Further cleanup of Uploader gadget, better debug messages, more reliable.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2169 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-27 13:44:16 +00:00
edouard
a9cd9ac329 OP-35 Fix to .pro file for Windows. OK, I'll get a Win7 environment going for pre-commit checks...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2168 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-27 09:39:01 +00:00
edouard
9407eee059 More cleanup on opmap gadget, should fix Win compile errors?
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2167 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-27 08:59:52 +00:00
edouard
353cc99227 Removed unnecessary entries from the opmap.pro (commented out)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2166 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-27 08:45:23 +00:00
andrew
c94c76ce40 Minor change to give back manual control to an axis when it is set to stabilization = None
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2165 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-27 04:03:37 +00:00
edouard
63c3799521 OP-35 Cleanup of DFU object management, I think I have fixed all the potential segfaults, prove me wrong!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2164 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-26 23:20:17 +00:00
edouard
6ab6f3e84a OP-35 Now display a picture of the board layout for each device that is detected.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2163 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-26 22:49:50 +00:00
edouard
b840c5ec40 Update ActuatorSettings to remove obsolete fields.
YOU WILL NEED TO RECONFIGURE YOUR ACTUATORS!



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2162 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-26 20:55:05 +00:00
edouard
dbde2d29a0 Friday goodies: SVG model of the OP mainboard in the artwork folder.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2161 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-26 16:02:13 +00:00
peabody124
75363896fb AHRS: In outdoor mode when no GPS for a few seconds start updating with zero
velocity to help stabilize attitude.  In principle the mag should be fine but
in practice I need this.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2160 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-26 15:57:14 +00:00
peabody124
b3251e2cfb AHRS: Accidentally was using mags when in indoor_nomag mode
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2159 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-26 15:57:13 +00:00
peabody124
6a33043297 AHRS: Tweak setting when mag is used to allow greater error in vector length
and start using from power up

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2158 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-26 15:57:12 +00:00
peabody124
e3d2645dea AHRS: Small bug in the conditions for using the mag
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2157 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-26 15:57:10 +00:00
peabody124
ebcb272da6 AHRS: Add a separate parameter for velocity and position variance and remove
indoor from the name since it's used for both indoor and outdoor mode now.
Increased default value to 0.4 to better reflect the GPS accuracy.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2156 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-26 15:57:08 +00:00
peabody124
ac734d5f65 AHRS: Move structure definitions out of main code. Organized variable scopes
properly.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2155 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-26 15:57:06 +00:00
peabody124
44069e64bc AHRS: Separated out code for debugging output from the main code and cleaned up
how various sensors are used in the INS update.  Also added slow filter to
track offset between GPS and baro in outdoor mode.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2154 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-26 15:57:04 +00:00
peabody124
444dd5c311 AHRS: Split various update modes into individual functions
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2153 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-26 15:57:03 +00:00
edouard
0c39ead89d OP-35 Only do a 'verify' operation if the device is readable.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2152 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-26 10:44:05 +00:00
edouard
f759998f3b Update to the OPMap gadget: removed waypoint support, since it is out of scope for v1.0.
Besides SVN revisions, I also added a backup .ui file for the waypoint-suuporting UI.



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2151 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-26 10:23:02 +00:00
dschin
b2a538375c Changes in files supporting AHRS for new initialization methods.
Changes in ahrs.c for new initialization and to fix issues with outdoor algorithm.  The changes in ahrs.c are pretty messy, but committed mostly to get the code to Peabody for more extensive restructuring of ahrs.c.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2150 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-24 01:27:43 +00:00
peabody124
cfbdad5e0d Flight/USB_HID: Change to deal with buffer filling up when GCS not ACK'ing the
usb transmissions.  Clear TX buffer after any NAK.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2147 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-23 19:29:10 +00:00
peabody124
88a0ede73b OP-203: Flight/AHRS: Add fifo_buffer dependency for pios_usart
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2146 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-23 18:19:58 +00:00
peabody124
8ea727d10c AHRS/Makefile: Remove trailing CR
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2145 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-23 18:19:56 +00:00
peabody124
e89911bb8a OP-203 PIOS_USART: Don't disable interrupts for receive buffer since
only one receive task.  This is less generally safe but decreases the
frequency of resets in our current configuration

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2144 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-23 17:13:49 +00:00
peabody124
a454f06bf8 OP-203 PIOS_UART: Tweaked the way the interrupts are reenabled to get comms
stable again

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2143 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-23 17:13:48 +00:00
peabody124
300a3bc8ad OP-203 PIOS_USART: Get TX buffer using fifo_buffer
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2142 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-23 17:13:46 +00:00
peabody124
e3dd542609 OP-203 PIOS_USART: Make USART Rx code use fifo_buffer
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2141 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-23 17:13:44 +00:00
peabody124
d2b468d661 Flight/Stabilization: Need to either set or clear the alarm, but the way it was
before cleared at the end of each loop - including one after an alarm

Flight/Actuator: Similar change to make sure not having updates from
stabilization (i.e. no AHRS) doesn't trigger a watchdog reset

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2140 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-23 17:13:42 +00:00
edouard
fadb00860a Update to map library to avoid unnecessary redraws of the map and UAV icon when updating the UAV position & rotation which caused high CPU usage on the GCS.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2139 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-23 16:41:42 +00:00
edouard
d233d65e86 OP-35 Update to GCS Uploader plugin to reflect latest BL changes. Bug fixes too, should be more stable & reliable.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2138 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-22 22:31:59 +00:00
zedamota
d57441e8f4 OP-21/Bootloader - forgot to commit this too..sorry (check last commit)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2137 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-21 22:58:14 +00:00
zedamota
98b0f406dc OP-21/Bootloader - fixes GPS connected issues, enhances timings problems, further work on serial support
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2136 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-21 19:37:40 +00:00
zedamota
063d517ae7 git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2135 ebee16cc-31ac-478f-84a7-5cbb03baadba 2010-11-21 18:45:11 +00:00
zedamota
67c579a6f8 DUMMY commit, just to find out my lost password
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2134 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-21 18:16:16 +00:00
zedamota
ec1cea09c6 DUMMY commit, just to find out my lost password
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2133 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-21 17:52:03 +00:00
osnwt
ed49f7fc40 Prevent some compiler warnings treated as errors during RELEASE build (possible use of uninitialized variables - CodeSourcery under Windows build system). It may be done with some #pragma as well, but this way is more portable.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2132 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-21 13:09:05 +00:00
mattl
f99f53a127 GCS/Dials: Created a deluxe barometer dial
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2131 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-19 23:58:25 +00:00
edouard
05d8e2e36a OP-35 : Attempt at implementing a "Manual" mode which guides the use to get into AHRS + MB BL Mode.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2130 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-18 23:53:13 +00:00
dankers
03af1cdbc4 Update Milestones for Sambas' awesome first ever hexa flight
Combo bonus awarded for being at night and in snow!


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2129 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-18 21:24:34 +00:00
andrew
884421d5e6 comment out sendReset command so that the CLI tool will upload firmware to hardware.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2128 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-17 06:04:50 +00:00
dankers
6584acd0e2 Add name of Tri-Copter to Gary's TriCopter frame
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2127 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-16 09:15:41 +00:00
mattl
4517f31cae GCS/Dials: Fixed a misaligned '50' label on the deluxe thermometer dial
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2126 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-16 00:21:36 +00:00
zedamota
fb21b141ba OP-21/Bootloader - fixed compile issue. Added user space reset function.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2125 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-14 20:30:30 +00:00
edouard
ecb5c719d2 Get rid of yet more compile-time warnings.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2124 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-14 15:25:14 +00:00
edouard
37a1f602b2 Remove compile-time warning to Raw HID plugin as well.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2123 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-14 15:03:45 +00:00
edouard
fbcce4a005 Remove compile-time warning for serial connection plugin.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2122 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-14 15:03:18 +00:00
edouard
e1f61b0dee OP-202 Sorry, this is where the logging entries get moved, not previous commit..
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2121 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-14 15:02:47 +00:00
edouard
c463abab93 OP-202 Cleaned up the 'File' menu and removed (commented out) the entries which are not doing anything. "Save All" now saves the current GCS config so that everything is not lost in case of a crash. Easy to revert in case you don't like it. Also:
moved the logging menu entries to 'tools' where I think they belong - comments welcome - and also small change to iconnection.h to remove compile-time warnings.



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2120 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-14 14:58:16 +00:00