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

2310 Commits

Author SHA1 Message Date
dankers
96c7e84228 Updates to the text files in the root. If I have missed anything, please let me know!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2200 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-07 00:18:01 +00:00
pip
dc58243b0f Forgot to commit a telemetry file after adding more telemetry baudrate options.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2199 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-06 21:04:19 +00:00
pip
5e91f46633 Added more telemetry baudrate options
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2198 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-06 08:31:24 +00:00
pip
72fab2f00b Added more telemetry baudrate options
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2197 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-06 08:31:01 +00:00
pip
4c08a4c2c7 Added more telemetry baudrate options
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2196 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-06 08:23:46 +00:00
pip
49e99ea180 Added more telemetry baudrate options
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2195 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-06 08:23:20 +00:00
edouard
f0bc081ae9 Disable actuator combo box on the config dialog, because of the risk of creating an inconsistent mixer. Letting the user change there was misleading.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2194 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-05 17:45:32 +00:00
peabody124
e6a21977f1 OP-156 AHRS: Make the account for the fact the analog data is downsampled two
times for each EKF update

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2193 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-04 18:13:08 +00:00
edouard
476d548da9 Should hopefully make log/stop log operations more robust, as well as avoid crashing GCS upon exit in case the user did log during the session...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2192 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-04 17:39:32 +00:00
peabody124
4e8c6588b6 OP-156 AHRS: Run the accel data through a fifo so it can output raw data faster
than the ekf runs and also be more tolerant of timing jitter

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2191 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-04 17:34:29 +00:00
peabody124
45e3ed27a7 OP-156 AHRS_ADC: Make the ADC system use a callback to better separate ADC code
from the AHRS code (which will facilitate code integration with new INS) and
also will help set up a fifo queue for the downsampled data to allow gyro data
output from AHRS faster than EKF output.  Also decreased ADC interrupt priority
so the SPI comms don't drop out.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2190 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-04 17:34:27 +00:00
peabody124
6f1e7b4e41 AHRS: Add a configuration to export the sensor data either with or without INS
bias correction.  This is useful for stabilization to get rid of the gyro bias.
Making it an option is important for calibration.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2189 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-04 17:34:25 +00:00
peabody124
81b2f88e75 AHRS: Swap to new code which tracks accel_bias and export the accelerometer
bias

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2188 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-04 17:34:22 +00:00
peabody124
e861bcb9d0 Flight/Guidance: Convert PositionPID mode to PositionPI + Velocity feedback.
Needs AHRS with accel_bias estimation to behave well.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2187 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-04 17:34:19 +00:00
peabody124
0679e8d472 AHRS: In indoor mode correct with a high variance 0 for position to keep it
bounded.  Velocity variance still comes from AHRSCalibration.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2186 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-04 17:34:18 +00:00
peabody124
a04e33ccc6 OP-192 Flight/ManualControl: Add an ArmedTimeout field to the
ManualControlSettings so that planes can disable the timeout
feature for gliding (holding roll on a plane not so good).

Note: This will require you to reconfigure your ManualControlSettings

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2185 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-04 17:34:16 +00:00
edouard
477657ea6e Logging plugin will refresh all the settings if telemetry is already connected, so that the log file always contains all the setting objects, which is vital for post-flight analysis.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2184 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-04 16:47:55 +00:00
edouard
327252f5c0 Fix for objects not getting updated properly upon USB connection: please please report how this works for you!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2183 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-02 07:36:38 +00:00
dschin
f99eb5b0c7 No changes to mainline code.
Three files added to  AHRS which add accelerometer biases (16 states) to the INS/GPS.  Added for evaluation (give it a try James).

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2182 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-02 02:39:01 +00:00
peabody124
4f21bee0d7 OP-192 Flight/ManualControl: Correctly convert to ms in timeout code so system
will automatically disarm after 30 seconds without motor.  This behavior will
need to be parameterized for planes which might idle for a while.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2181 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-01 22:12:01 +00:00
edouard
3069f81000 Modify AHRS config gadget so that Mag variance gets graphed in a meaningful way.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2180 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-01 19:28:09 +00:00
scott
8532bdfe28 An example batch file for starting Flightgear as a stand-alone app on Windows.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2179 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-29 23:34:03 +00:00
dschin
18809ce3dc AHRS - fixed time constant of baro altitude offset filter, added the offset to the EKF dump
Added new EKF data parser (m-file) to ground



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2178 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-29 23:28:38 +00:00
scott
a4ba7fcbee Added option to start Flightgear 1.9.1 simulator as a stand alone application, optionally from a networked computer. Also enabled joystick input to control flightgear for complete manual control and debugging purposes. Joystick needs to be connected and armed in the GUI. Tested on WinXP. UDP receive needs more testing on linux.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2177 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-29 17:05:53 +00:00
sambas
bf8b9fd00c OP-51: GCS Antenna Tracker plugin, My (first) quick tester plugin for antennatracker. Not included into build. Heavily based on gps display plugin.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2176 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-29 16:41:53 +00:00
peabody124
74249f8e41 OP-171 AHRS: I was flipping sign of baro when putting into INS but shouldn't
have been.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2175 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-29 08:44:43 +00:00
peabody124
f51a5a824e AHRS: Export the bias drift corrected gyro values to OP so stabilization see
more accurate roll rates

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2174 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-29 08:44:41 +00:00
pip
0cae6df8b0 Aligned fifo buffers to 32-bit for possible speed improvement.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2173 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-28 11:06:45 +00:00
pip
d4c24de556 Updated to use the new fifo_init function
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2172 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-28 11:00:20 +00:00
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