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

1607 Commits

Author SHA1 Message Date
edouard
2589d0d055 OP-38 Windows compile fix
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1418 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-26 16:47:51 +00:00
zedamota
7f76b7f5a0 OP-21/Flight Bootloader - Fixed an error introduced on last rev.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1417 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-26 16:26:51 +00:00
edouard
08f2c5fd82 OP-38 Further updates to config plugin, please test!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1416 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-26 14:23:40 +00:00
edouard
828363948d Fix for PFD gadget so that it does not freeze the GCS in case attitude values are "NaN", which can happen in some situations with the AHRS.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1415 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-26 12:58:57 +00:00
peabody124
c07e1416b7 AHRS: Serial output option for AHRS and corresponding serial logger.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1414 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-26 06:25:11 +00:00
peabody124
71de54d0a7 OP-12 HID Bootloader: Patch to make it compile on other platforms than windows and to accept the binary to upload from the command line prompt.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1413 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-26 06:25:09 +00:00
andrew
2361af19fb First attempt at ccpm mixing for single rotor helicopter.
This has throttle and pitch curves implemented and can be configured for many swashplate configurations.

This has flown a 450 clone (with training wheels) and the ccpm worked well.

Still need to neaten up some stuff and work out how to implement yaw stabilisation in manual mode.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1412 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-26 06:00:57 +00:00
martin
d9a6ced655 next portion (+168) of the Russian translation.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1411 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-26 02:13:08 +00:00
edouard
86bef7b96b OP-38 Experimental AHRS automated calibration widget, for testing purpose only. Does not save to SD, and wait 10 seconds before hitting "Save" once the button becomes enabled.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1410 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-25 22:54:32 +00:00
zedamota
d71ade8227 OP-21/Flight Bootloader - Now if USB not connected it jumps directly to FW. If connected it will wait 5 seconds for command, then jumps. Also changed led flashing to PWM and created a timer for the delays.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1409 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-25 22:31:14 +00:00
edouard
38df030773 OP-38 Fix servo output settings so that it works with the new Helicopter settings.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1408 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-25 08:00:45 +00:00
peabody124
d445e36717 OP-122 Ground: Fixed bug in GCS usb sending that prevented sending large objects. Also made the model view rotate the models so it's consistent with both the 3D modelers convention and the flight convention OP is adpoting.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1407 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-25 06:25:24 +00:00
sambas
efb7b158b4 OP-38 svg lib used
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1406 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-25 05:44:51 +00:00
peabody124
8dd81443be OP-122 Flight: Same changes regarding 62 byte limit applied to the receiving code on the device.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1405 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-25 05:32:56 +00:00
peabody124
dd491160c5 OP-121 OP-122 Flight: Improved the Blocking/Nonblocking behavior for USB to be correct. I'd like a mutex still around the transmission buffer but don't want to slow down the interrupt.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1404 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-25 05:32:54 +00:00
peabody124
4ca10e92c7 OP-121 OP-122 Flight: Improved USB HID communication.
1. Added reenumeration function and call it on USB init (device will appear after reprogramming now)
  2. Moved buffer.c to general flight/Libraries location
  3. Removed the 62 byte transmission limitation by adding a transmission buffer
  4. Sped up USB communication by increasing endpoint polling frequency

Note, that the nonblocking and blocking USB send functions are not blocking entirely correcting.  The blocking calls the nonblocking, and the nonblocking blocks until the last chunk has started tranmission if it's a big transmission.  The buffering I added would generalize to non-blocking nicely, but would require using the EP1(IN) callback to handle most of the tranmission.  This creates a lot of issues if one function is pushing data onto the buffer and the interrupt is sending.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1403 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-25 05:32:52 +00:00
andrew
b467b419e6 OP-103, UAVObject update.
Adding settings for configuring CCPM mixing for Helicopters to ActuatorSettings and SystemSettings UAVObjects.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1402 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-25 00:55:15 +00:00
edouard
36e086f40e OP-38 Further work on AHRS calibration UI.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1401 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-24 23:33:25 +00:00
martin
84d82f7ac7 Fixed path to *.qm files
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1400 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-24 22:06:02 +00:00
zedamota
8526589dfb OP-21/Flight Test App Changed packet size to 64byte
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1399 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-24 18:27:32 +00:00
zedamota
6da48dcc1a OP-21/Flight Bootloader Changed packet size to 64byte
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1398 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-24 18:26:44 +00:00
martin
12e447f010 Basis for russian translation of the GCS.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1397 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-24 17:58:43 +00:00
martin
2007156869 Basis for russian translation of the GCS.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1396 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-24 17:56:45 +00:00
edouard
0d640a69c9 OP-38 Template for AHRS calibration panel.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1395 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-23 23:18:26 +00:00
edouard
e3108c36ad OP-38 All sliders now work on the servo output calibration. Beware: will only work if your RC receiver is connected, otherwise the OP board goes into failsafe and does not let you touch the actual servo outputs.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1394 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-23 22:02:49 +00:00
zedamota
f91ae974a7 OP-21/Bootloader Small change. Now turns off interrupts before jumping to code.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1393 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-23 21:30:09 +00:00
muralha
8adbd76a4e 3D Model: New .3ds files uploaded again.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1392 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-23 14:32:33 +00:00
muralha
b5d19ab8cd 3D Model: Deleting other new .3ds files.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1391 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-23 14:27:45 +00:00
muralha
79d0bab446 3D Model: Deleting new .3ds files. Let's hope it fixes the svn.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1390 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-23 14:26:20 +00:00
muralha
9a95eed956 3D Model: Deleting old .3DS files.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1389 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-23 14:25:14 +00:00
muralha
a1e43d399e 3D Model: Added new components (servo1, clevis1, esc1 and control_horn1). Updated components (motor1), planes (funjet and firecracker) and helis (t-rex). Added new Easystar (easystar-fix) because Easystar is facing left instead of front (testing need). With all models facing front, there's a need to change the ModelView plugin (check http://bit.ly/aIcK5y and below).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1388 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-23 12:14:40 +00:00
peabody124
2db294caf7 OP-125 Flight: Changed GPS stack size to a bit closer to what the internal model needs to get rid of out of memory warning, but it could still use 1k less if it pulled all the constants from flash when needed and computed the time difference when called. Also changed ManualControl so it checks the active control values to determine the warning, so if GCS is controlling the warning light goes out.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1387 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-23 06:03:19 +00:00
peabody124
82f7f42112 Ground: Fix bug in serial port opening for OSX. I could have put another compile switch in serialplugin.cpp but making this function return in the same format as linux made more sense. Just make sure this doesn't get clobbered from upstream in future.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1386 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-23 05:13:43 +00:00
peabody124
beac0c0ea9 AHRS: Get the signs for the simple algorithm correct
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1385 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-23 04:12:14 +00:00
peabody124
e94d3d3846 AHRS/Flight: Allow selecting simple algorithm as well as INSGPS
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1384 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-23 03:51:08 +00:00
peabody124
bd8fffe4d0 AHRS/Flight: Renamed AttitudeSettings to AhrsSettings to make it more intuitive. Added the ability to change the algorithm from GCS.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1383 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-23 03:39:13 +00:00
peabody124
b32184d1ec OP-119 Flight: Converted HomeLocation object to use cm for the home base instead of floating point.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1382 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-23 02:49:53 +00:00
peabody124
2596f43511 OP-120 AHRS: Moved conversion of quaternion to RPY over from AHRS to OP to minimize transfer and computational load on AHRS.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1381 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-23 02:35:39 +00:00
peabody124
0d11493337 Flight: Added mixer settings for elevon. Also added bound checking on servo outputs which becomes important when multiple things are mixed and you want to use the full range.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1380 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-23 01:54:58 +00:00
cwabbott
19f6db79be Added ManualControl to the win32 and posix makefiles. Also fixed a compiler error about "No newline at end of file."
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1379 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-23 00:52:56 +00:00
zedamota
002c746076 OP-21/Bootloader deleted old one, commited new one. Partly functional, but slow due to current packet size.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1378 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-22 19:51:55 +00:00
zedamota
d899bc3c81 OP-21/Flight QT test app for the USB HID bootloader
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1377 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-22 19:13:18 +00:00
peabody124
2e705e6836 OP-116 AHRS: Made data going to the AHRS in NED format. Once the final estimate object is created I'll repeat the same calculation to populate it, although we want to avoid going back to LLA format on the OP because the CPU requirements are excessive.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1376 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-22 19:01:36 +00:00
zedamota
6adc834d9b OP-21/Flight Prep work for the USB HID bootloader
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1375 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-22 18:57:29 +00:00
zedamota
2daa229a2d OP-21/Flight Prep work for the USB HID bootloader
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1374 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-22 18:56:00 +00:00
zedamota
b0d1d0dd09 OP-21/Flight Prep work for the USB HID bootloader
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1373 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-22 18:54:57 +00:00
peabody124
60332efec0 OP-118 AHRS: Missed the auto generated files for the default values. Also no idea why last patch changed navigationsettings - either make uavobjects does differently on different platforms or someone forgot to run make uavobjects.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1372 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-22 17:02:12 +00:00
peabody124
0862d64b8c OP-118 AHRS: Made default calibration values friendly for people. Also fixed bug that would repeatedly trigger calibration when it was requested.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1371 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-22 16:43:00 +00:00
edouard
dd34ca1a8d OP-52 a small modification for GSV parsing (not working yet)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1370 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-22 09:01:30 +00:00
sambas
7859a130e8 Fixed bug that caused Object Browser to crash
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1369 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-22 08:59:18 +00:00