peabody124
ef0b307353
[OP-119] Flight/AHRS: Created a HomeLocation object which is updated when the GPS gets an initial 3D fix and populated with the information to convert from LLA from the GPS to NED reference frame. Also added a message for passing the MagneticNorth vector to the AHRS and removed that computation from AHRS.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1337 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-19 20:38:27 +00:00
FredericG
fd986f3437
OP-90 Configuring the ET OSD without eLogger. The module can now read a opaque config-file from the SD-card card and send it to the OSD
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1336 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-19 17:32:18 +00:00
edouard
dc2928ae99
OP-38 Config gadget: you can now test your servo outputs by checking the "Test Outputs" checkbox and moving the sliders. You will need up to date
...
flight firmware for this to work.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1335 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-19 11:48:16 +00:00
peabody124
3c4def13cc
AHRS: Added message to pass GPS information into AHRS from OP. This is then converted
...
into NED reference frame and used in the INSGPS algorithm, although currently this
information isn't propagated back to OP. Data structures related to the GPS position
into the algorithm and the position estimate out will likely be in flux.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1334 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-19 05:18:34 +00:00
muralha
18110f9ac8
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1333 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-18 21:25:35 +00:00
muralha
74dbc04047
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1332 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-18 21:24:17 +00:00
muralha
eadf0ea278
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1331 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-18 21:23:40 +00:00
muralha
80292d4f72
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1330 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-18 21:21:14 +00:00
peabody124
8bcff21184
Flight: Made the actuator module perform a get after set to allow configuration module to override servo position.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1329 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-18 20:47:36 +00:00
erhard
d11c570785
OP-99 Export/Import Plugin: Handling of workspace-settings, layout, key-binding. Formatting.
...
Quite a few changes in the core-plugin.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1328 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-18 19:24:18 +00:00
FredericG
0b9079e277
ET OSD: removed existing debug and config code
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1327 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-18 19:15:43 +00:00
peabody124
5e7dff0481
Ground: Modified GCS control gadget to actually take over the manual control object and also swapped the signs of the axis as well as bounding the range.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1326 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-18 15:24:47 +00:00
peabody124
cfd20922cd
AHRS: Added the filtered data to the attitude raw object. Even though this seems like an oxymoron it's still raw to the EKF algorithm, and nice to see the real values after filtering to make sure nothing weird is going on. However, if people don't like this I'm open to suggestions/patches. I'd maybe suggest the whole attituderaw object be converted to ahrsraw anyway since it's more like that (eg. none of the values are actually attitude estimates).
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1325 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-18 14:54:24 +00:00
peabody124
fda6fc8371
Merge branch 'mac_support'
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1324 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-18 14:29:53 +00:00
peabody124
450cf07a89
AHRS: Keeping magnetometer I2C address consistent with change to I2C driver.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1323 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-18 13:54:15 +00:00
edouard
c396f92bac
OP-38 Servo icon for the RC input/output settings. Quick job but does the trick, right?
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1322 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-18 12:49:41 +00:00
FredericG
b46bc68e96
"addr" field of I2C transaction struct now takes real I2C address, and not address that is pre-shifted to accommodate the R/W bit
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1321 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-18 10:04:55 +00:00
edouard
93295154d6
Fix for Bargraph dial factor, enables up to 6 decimal digits instead of two.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1320 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-18 09:41:40 +00:00
edouard
2193a94b6b
... and the same for the share directory of the GCS
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1319 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-18 09:40:53 +00:00
edouard
661b866945
Simple text-only dial for the bargraph dial widget. Use it to display a numeric value such as the system uptime...
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1318 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-18 09:39:58 +00:00
edouard
587e10fc43
OP-38 Separated airframe type from RC output, added telemetry settings. Larger icons on left side menu.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1317 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-18 09:38:25 +00:00
FredericG
be2f5bbf70
ET OSD: Adapt to new I2C API
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1316 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-18 09:31:54 +00:00
peabody124
4cba4929c2
AHRS: Fixed another bug in decimation code - I stupidly used Matlab 1 based indexing. Adjusted timing of AHRS so it can process all the data and doesn't miss updates. Finally adjust all inputs to INS to have correct sign and orientation (I think). This is X is forward, Y is right, and Z is down which is mentioned in the forum as our standard and fits the algorithm. The magnetic sensor driver should be modified to return in this order (currently reads X,Y,Z registers which maps to left, back, up) but maybe since it's a board dependent orientation it's better where it is.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1315 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-18 05:47:44 +00:00
cranphin
e3e81c0866
Don't sleep for a second, yield seems more sensible. Though really this should be combined with blocking IO instead of using non blocking bytes available I think (and why does the nmea parse only accept one byte at a time??)
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1314 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-18 00:12:49 +00:00
cranphin
85c335aa5d
Minor tidying on GPS display
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1313 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-18 00:02:32 +00:00
cranphin
39a93a72fd
Refactor: Move the GpsDisplayThread class to it's own h/cpp files.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1312 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-17 22:07:07 +00:00
chebuzz
10b4df2100
GCS/ModelView - Add scroll-to-zoom functionality and resize fix.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1311 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-17 19:53:24 +00:00
dschin
9ae9c87574
Six point sensor cal for accels and/or mags
...
Uploaded here for now - belongs in GCS probably.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1310 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-17 19:02:07 +00:00
mattl
3061ddc98c
GCS/Dials: renamed the layers on the compass dial
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1309 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-17 11:19:59 +00:00
mattl
9e8c90f0e7
GCS/Dials: renamed the layers on the attitude dial
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1308 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-17 11:18:34 +00:00
peabody124
64bcebb87a
AHRS: Fixed bug in the downsampling code (used a += a + blah, dumb). Also added initialization of the magnetic flux based on fixed GPS settings (I hope you're near Houston). I will add the GPS communication shortly.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1307 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-17 05:32:07 +00:00
dschin
ae18a8e89c
Added general functions for coordinate conversions
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1306 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-17 00:09:32 +00:00
dschin
4f31bfbef7
Fixes for the project files. Hopefully they don't break someone else.
...
Eclipse Workspace:
- Made project in Eclipse workspace point to trunk/flight
- Re imported launch configurations from previous version
OpenOCD
- added "ft2232_device_desc "Dual RS232-HS"" back to jtag cfg files because windows didn't like it w/o it.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1305 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-16 23:40:27 +00:00
peabody124
f74268b5e5
Cleanup and documentation.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1304 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-16 16:58:24 +00:00
peabody124
a23f3c66f4
Behaving reasonably, added calibration code which runs by default on startup and take 6 seconds - this will be called from GCS in future and saved to SD card.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1303 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-16 16:58:22 +00:00
peabody124
e0d63103ec
Added a testing function for INS - currently doesn't stabilize for fixed inputs. Fixed two bugs I found in INSGPS (R[10] instead of R[9] initialized and Nav.Pos[2] was set to wrong X element).
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1302 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-16 16:58:20 +00:00
peabody124
d2e234b53a
Adding the code from Dr. Dale to the AHRS. Currently diverges though, but not on the PC.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1301 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-16 16:58:18 +00:00
ephy
45d2d82322
GCS/glclib: Quiet down some compiler warnings.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1300 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-15 14:02:11 +00:00
peabody124
ddbd4f8c80
Simple attitude calculation based on gravity and magnetic vector
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1298 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-15 06:03:44 +00:00
peabody124
3f408ad655
AHRS: Changing AHRS to use a DMA double buffering scheme with continuous samping for the analog data, then a simple fixed point FIR/decimate function. Currently all the oversampling parameters are hard coded as definitions, but will be updated to be configurable via settings.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1297 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-15 04:09:01 +00:00
peabody124
cc2441d41b
Adding ADC downsampling code
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1296 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-15 04:08:57 +00:00
mattl
070ce007a0
GCS/Dials: Added glass and shadow to the turn coordinator
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1295 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-15 02:15:18 +00:00
mattl
36c2ea4243
GCS/Dials: Converted text to paths on the artificial horizon
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1294 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-15 01:54:57 +00:00
mattl
1da170413e
GCS/Dials: Converted text to paths on the compass dial
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1293 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-15 01:53:19 +00:00
peabody124
ed70cb4794
[AHRS] Missed a setting for the ADC configuration.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1292 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-15 01:12:00 +00:00
stac
3125ecfc4e
AHRSComms: altitude sensor data is now sent to AHRS
...
Altitude/pressure sensor data is sent to the AHRS whenever
the AltitudeActual object is updated.
Altitude, Pressure and Temperature are sent as floats.
Same as in the UAVObject that goes to the GCS.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1291 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-15 01:02:13 +00:00
peabody124
d4c5dba234
[PIOS] The ADC mappings are strange because of the way the DMA engine works. Basically data is packed 16 bits ADC2 then 16 bits ADC1 channels, so the accels are pins [4 2 0] currently. Also there is inconsistency between the names of the pins in the config file which uses 1 based indexing and the index for PIOS_ADC_PinGet which is zero based and has to account for this interleaving. Probably should adjust config file to be zero based and then to make those pin numbers map to the function call. The actual order they appear is arbitrary as the ADC engine can scan in whatever order.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1290 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-15 00:53:30 +00:00
stac
c3e509c2cb
attituderaw: Replace HeadingActual with AttitudeRaw
...
AttitudeRaw now includes:
- magnetometers XYZ (in mG)
- gyros XYZ (raw ADC samples)
- accelerometers XYZ (raw ADC samples)
- placeholder for gyro temp sensors (read as zero for now)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1289 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-14 23:42:14 +00:00
stac
5d635d4233
uavobjects: regenerate existing uavobjects
...
No functional change, uavobjects were not regenerated since last
change to the object generator.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1288 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-14 23:42:07 +00:00
banigreyling
9ca72beb7f
OP-42 GCS/Scope: Oops...forgot to remove test data generator.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1287 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-14 21:09:13 +00:00