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

1299 Commits

Author SHA1 Message Date
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
banigreyling
fdfd004634 OP-42 GCS/Scope: Plot can now show high frequency data effectively
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1286 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-14 20:25:55 +00:00
vassilis
a075eafb98 FlightArchitecture: Updated description of Stabilization module (air/ground speed handled by guidance module)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1285 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-14 14:19:33 +00:00
vassilis
9cd76fbe46 FlightArchitecture: Added Climbrate and Airspeed fields in Position objects
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1284 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-14 14:04:28 +00:00
vassilis
697b3510fb Flight: First release of module architecture and dataflow diagram (still work in progress)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1283 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-14 03:02:21 +00:00
edouard
488b267fb9 OP-52 Resubmit GPS display gadget UI which got overwritten by accident
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1282 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-13 16:45:50 +00:00
peabody124
a084d21804 Merge branch 'watchdog'
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1281 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-13 05:18:17 +00:00
edouard
57525bc81d OP-82 Removed a bug which caused the displayed speed to be off by 10% (result of too much optimization of the PFD display routines...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1280 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-12 22:03:27 +00:00
ephy
68f7120c89 GCS/core: Add separator to options page, to separate gadget configurations from other options.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1279 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-12 19:03:43 +00:00
cwabbott
c1cf1ec71b PiOS/Win32: Most stable version of port.c so far. Changed Makefile.win32 to use mingw32-gcc to avoid conflicts.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1278 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-12 14:32:52 +00:00
mattl
e3fb3f3e1b git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1277 ebee16cc-31ac-478f-84a7-5cbb03baadba 2010-08-12 09:20:53 +00:00
mattl
2ef035d39e git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1276 ebee16cc-31ac-478f-84a7-5cbb03baadba 2010-08-12 09:20:35 +00:00
mattl
3ecd40e706 Beta compass SVG
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1275 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-12 09:20:05 +00:00
mattl
fccc7828ae git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1274 ebee16cc-31ac-478f-84a7-5cbb03baadba 2010-08-12 08:40:10 +00:00
mattl
e479caa98e git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1273 ebee16cc-31ac-478f-84a7-5cbb03baadba 2010-08-12 08:39:51 +00:00
mattl
8e861598dc git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1272 ebee16cc-31ac-478f-84a7-5cbb03baadba 2010-08-12 08:39:28 +00:00
dankers
5781db2dd3 Make handles bigger for resizing gadgets.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1271 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-12 03:38:43 +00:00
edouard
785a6c4b7b OP-52 Update to the GPS Display gadget to make it compatible with Unix (Linux, MacOS). Please double-check it does not break Windows, I do not have a windows machine with me at the moment. Added raw data output in the widget.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1270 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-11 22:58:40 +00:00
ephy
c7da7718e2 GCS/core: sort gadgets by name in combobox and options page.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1269 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-11 17:56:42 +00:00
dschin
487b61473e git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1268 ebee16cc-31ac-478f-84a7-5cbb03baadba 2010-08-11 16:18:24 +00:00
ephy
b8712ef361 GCS/modelview: Minor compile fix.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1267 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-11 04:12:50 +00:00
dankers
f14e00bd42 Rename dial directory to Deluxe in prep for Matt's work.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1266 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-11 02:07:13 +00:00
dankers
3ec40c17dc Do the includes a slightly different way that negates the need for the install directory.
Is this acceptable or a mistake?


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1265 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-10 22:05:32 +00:00
dankers
b1042ecb11 Inc is required.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1264 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-10 21:35:43 +00:00
dankers
e6c99d73f5 Remove install and inc dirs for GLC lib.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1263 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-10 20:42:49 +00:00
dankers
44eb65ec68 Another minor compile fix.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1262 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-10 20:35:57 +00:00
dankers
81104f7a97 Minor compile fix for Windows. Hope this doesn't break anything else.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1261 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-10 20:30:25 +00:00
chebuzz
023df37b2b OP-98 GCS/ModelView - Update ModelView to use GLC_lib 2.0
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1260 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-10 17:16:57 +00:00
chebuzz
1fd3018684 OP-98 GCS/ModelView - Update ModelView to use GLC_lib 2.0
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1259 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-10 16:57:14 +00:00