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

1219 Commits

Author SHA1 Message Date
edouard
d96a9aace9 OP-223 Basic support for X-Plane implemented. New Wiki documentation should be written, but basically: use 127.0.0.2 as the local IP, 127.0.0.1 as the destination IP, choose a (free) port as the input port which you will setup in the inet3 tab with dest address 127.0.0.2, and output port as 49000. Enjoy!
One potential issue: X-Plane expects 4-byte floats, the code is potentially not 64bit compliant...



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2281 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-24 18:35:34 +00:00
edouard
4ee9cf7aad GCS/Config gadget: problem with GCS crashing on input channel assignement should be fixed. Was triggered whenever no input channel was assigned to flight mode, as Corvus found out, thanks!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2277 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-23 22:28:24 +00:00
vassilis
6799f75aeb GCS/UAVObjectGenerator: Calculate and report number of bytes used by the object fields.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2276 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-23 16:01:31 +00:00
martin
be4df7b757 changed scripts and added tools for creating multilingual installer
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2275 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-22 23:31:31 +00:00
pip
d072c30ba1 Settings additions.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2274 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-22 22:16:44 +00:00
edouard
d72d4fa4d2 Freebie: implemented access to the UAVObject description in GCS-side UAVObjects, and added support for this in the UAVObject browser: leave your mouse over the name of a UAVObject and the tooltip will show the description. Nice, eh?
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2273 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-22 21:29:23 +00:00
edouard
bb1d5e8b2e Uploader gadget: Increased AHRS detection time a bit in Rescue mode to make its use a bit easier.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2272 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-22 16:38:38 +00:00
edouard
fc27419cf6 OP-220 1st attempt at "horizontal bias calibration" for the AHRS. Very basic calculation over 100 samples, be my guest to make it more sophisticated if necessary, all the basics are there, you just have to plug a better algo!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2271 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-22 15:31:37 +00:00
edouard
c6f14c7530 HITL: Flightgear: velocitydown was the wrong sign, so vario went the wrong way. Fixed now.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2269 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-22 09:19:25 +00:00
edouard
77f4fbe919 Fixed a rare issue with Heading becoming NaN and not checked by GCS (froze the GCS). Update op_dfu.cpp to reflect latest changes by PT_Dreamer on the CLI.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2268 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-21 21:10:31 +00:00
edouard
195c811c90 HITL/SITL: Flightgear now works in SITL mode with the current stabilization algorithm which includes gyro rates. Upped the rate for attitudeactual and attituderaw to a value which makes the stabilization algo work properly, will cause trouble on slow machines.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2267 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-21 20:21:00 +00:00
edouard
da3d4cdab8 GCS Control Gadget: After double checks on actual quad, correct pitch sign now implemented.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2266 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-21 20:05:56 +00:00
martin
390a355c57 Added "phonon_backend" and "phonon_backend" dirs
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2265 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-21 18:15:07 +00:00
martin
58152de093 Added phonon_ds94.dll
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2264 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-21 18:11:35 +00:00
zedamota
14ef24a3de OP-21/Bootloader - Maximize flash space available for user code. Bring back delay on HID send (board->pc) it still hangs when blasted with data. AHRS is now Readable.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2263 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-21 17:25:24 +00:00
edouard
5748fe0e90 Add rotation rates into FG simulator to test Stabilization. Does not work well yet...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2262 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-20 22:30:42 +00:00
edouard
790637ba00 GCS Control gadget: invert the sign of pitch which was wrong. Bounding of values to -1/+1 so that it is not possible to put the red dots outside of the picture...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2261 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-20 17:30:38 +00:00
edouard
39d0b2e4a7 HITL: Flightgear did not work properly anymore in full SITL mode with the new throttling system (udp sent/received difference getting too big before FG sent its 1st packet). Fixed. Please report...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2258 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-19 21:14:07 +00:00
edouard
fc66814ed3 HITL: Flightgear plugin was broken, there was a missing space in the command line! Fixed now.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2257 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-19 17:56:22 +00:00
edouard
51089b40bc HITL Plugin: "start sim on local machine" settings was not saved, fixed it.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2256 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-19 17:51:27 +00:00
edouard
1ef88e854b OP-214 SSP protocol now implemented on the Uploader gadget, and board halt/reboot is now tested and working. Not tried an actual firmware flash yet, but if you do, please report (should work).
I have done my best to make the interface foolproof, by only enabling the relevant buttons in the relevant situations, please let me know if this creates trouble in some use-cases I have overlooked...



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2254 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-19 14:42:47 +00:00
edouard
3d0e90e266 OP-214 Extend connection manager to tell interested plugins about the current telemetry method. Used for SSP on the uploader plugin.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2252 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-19 10:32:16 +00:00
pip
e84b222272 PipX modem settings update .. note that they do not yet function.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2248 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-18 13:54:35 +00:00
peabody124
50b5d0d289 Ground/UAVObjectBrowser: Don't crash for undefined enum values, just say
invalid

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2244 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-18 07:09:32 +00:00
martin
3adf0e044e new default configuration
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2242 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-17 15:13:45 +00:00
peabody124
a66ce5c0a3 UAVObjects: Syncing changes with FirmwareIAP to the autogenerated files
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2240 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-17 07:02:41 +00:00
peabody124
4b4a66c2d7 PiOS/I2C: Lots of small changes. Added a few weird bus events that are
sometimes thrown, and made errors not lock it up by default.  It works for me,
but since this has historically been associated with lots of lock ups please
check your systems carefully.

PiOS/I2C: Make the bus by default try to recover from errors instead of locking
up

PiOS/I2C: After a bus error and clocking all previous data create a STOP
condition to make sure bus is released (note, this also requires creating a
START condition first)

PiOS/I2C: If the same event hits the I2C bus twice in a row then disregard
second one, there is no situation where we should get the same event multiple
times that matters and this gets us out really quickly to catch the real
events.  I was seeing this with repeated 0x70084 which means byte transmitted.
This is related to STM32 bugs in the IRQ timings I believe.

PiOS/I2C: 1) Mask out some bits we don't care about in the event flags
2) Don't lock up if the give semaphore fails, although why it does is strange
3) Recover from bus failure through the "auto" state path instead of just
coding state

PiOS/I2C: Change the reset bus code to follow
http://www.analog.com/static/imported-files/application_notes/54305147357414AN686_0.pdf
(thanks for the reference Neontangerine).  Although this may actually NOT clear
the bus the first time through, subsequent bus errors should eventually clock
it out.  The up side is it is less likely to clock a bunch of 1s into an ESC
and make it run up.

PiOS/I2C: Some cleaned up code for getting a snippet of the history when
something strange happens

PiOS/I2C: Export logging information from I2C through a UAV object

PiOS/I2C: Improve the diagnostic information

PiOS/I2C: Need to handle the event 0x30084.  This seems to happen between a
byte transmitted and new byte started

PiOS/I2C: Handle the NACK condition by simply going to the stopping state.

PiOS/I2C: Add a new NACK state to handle sending the STOP signal after a NACK
following the STM documentation.  Other error conditions still are not dealt
with.

PiOS/I2C: Should handle the NACK condition from all the write cases.  Need to
think about read cases

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2239 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-17 07:01:58 +00:00
zedamota
c034a35d2c OP-21/Bootloader - Changes to the IAPObject. Implements MB and AHRS user mode IAPObject. Added user mode reset command to the CLI. To many changes to bootloading system to write here, a Wiki page will have to be writen.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2238 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-15 19:06:28 +00:00
edouard
f7c824cdb8 OP-214 Start working on port selection within the Uploader widget to enable serial telemetry updates including rescue mode.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2237 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-15 18:39:04 +00:00
edouard
4be34fdb0f Modified all channel naming internally to use Channel 1 to Channel 8, instead of the previous convention of Channel0 to Channel7.
BEWARE: I have not flown my quad with this code, so please be careful, test, and report!



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2234 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-13 23:54:30 +00:00
edouard
9277968e55 OP-214 : Ported SSP capabilities to GCS Uploader gadget - SSP not active yet, but USB still works as before.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2233 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-13 23:44:31 +00:00
dschin
06c42702f9 UAVObjects:
Add code to generate matlab code to convert GCS logfile to a matlab .mat file

Run OPLogConvert.m to convert log file
Then run OPPlots.m as an example of plots

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2228 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-13 03:03:24 +00:00
pip
08b43f5420 Updated UAVObjects
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2226 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-12 18:26:39 +00:00
pip
ed6b02fec2 Updated UAVObjects
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2225 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-12 18:26:26 +00:00
pip
6a44b0544b Updated UAVObjects
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2223 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-12 18:16:00 +00:00
pip
c01c69299c Updated UAVObjects
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2222 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-12 18:15:32 +00:00
andrew
c7eb0c912c GCS Control - controller now only updates the OP hardware when it is in GCSControl mode.
Previously it would update all the time and this could create glitches in control when both a standard Tx and the GCS were connected to the flight H/W.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2221 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-12 04:57:43 +00:00
andrew
1007cbd115 GCS Control - Joystick buttons can now toggle GCSControl.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2220 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-12 04:09:32 +00:00
pip
5a0d9fb36c Adding PipX modem settings/status UAVObjects
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2217 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-11 10:56:07 +00:00
pip
5f6024c06e Adding PipX modem settings/status UAVObjects
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2216 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-11 10:55:34 +00:00
andrew
b48953a5b4 GCS control - implemented channel reversal for joystick input.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2215 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-11 06:39:05 +00:00
peabody124
7d70d1f9f2 Bootloader: A few cross-platform changes for the serial uploading functionality
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2213 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-10 20:19:28 +00:00
zedamota
eb01c55478 OP-21/Bootloader CLI- New version to be used with the new BL FW. Linux and MacOs Devs please test it, I'm having probs using serial port in unbuffered mode under Linux VM. I'm hoping its just a VM problem.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2212 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-10 19:16:09 +00:00
peabody124
771173a492 TelemetrySettings: Commit a change Pip forgot :-p
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2210 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-10 17:14:37 +00:00
andrew
901725a9db _GCS control
fixed options panel so that user can only select 
1. axis for increase and decrease functions 
2. armed/gcs control for toggle function

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2207 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-09 06:54:33 +00:00
andrew
5f71795d67 Added -1 -> +1 bounding to button control functions
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2206 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-09 04:50:52 +00:00
sambas
c23df70b49 GPSposition trail added, quick and dirty copy/paste, but works OK. Needs settings for menus etc.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2204 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-08 19:36:02 +00:00
edouard
d8db3087ca GPS Display gadget: also display SNR above each satellite bar in the display gadget.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2203 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-08 17:22:55 +00:00
edouard
970b155870 Add tooltips on the modelview gadget configuration page to explain more about VBOs.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2202 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-07 22:23:04 +00:00
edouard
0fe666b7a2 Config gadget: Forward-pointing arrow on multirotor shapes in case those were ambiguous, and more tooltips for the servo config tabs.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2201 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-07 21:40:54 +00:00