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

2510 Commits

Author SHA1 Message Date
zedamota
693c2219ec OP-21/Upload Plugin - Change HW ID to 16bits. Should still be compatible with the old version.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2400 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-13 16:27:10 +00:00
zedamota
301d9cddfc OP-268/PipX Bootloader - Trunk integration of Edouard's work.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2399 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-13 15:57:30 +00:00
zedamota
1f89ee1865 OP-21/Bootloader - Change HW ID to 16bits. Should still be compatible with the old version.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2398 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-13 14:36:32 +00:00
ligi
5bf8adb12a ignore autogenerated files - they should really go into special dirs to be ignored more easy
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2397 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-13 10:22:47 +00:00
ligi
2db5d0eb1a removing autogenerated flight/uavobject files with @ref http://forums.openpilot.org/topic/2811-uavtalk-code-generation/
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2396 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-13 10:22:44 +00:00
ligi
3c8ee7a9d0 remove autogenerated gcs/uavobject files
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2395 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-13 09:36:08 +00:00
pip
df45cb7be8 PipX modem full source code moved into public SVN.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2394 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-13 08:45:18 +00:00
FredericG
cf71281bf4 OP-241 Fixed small issue with arming timeout + some refactoring of the arming/disarming code
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2393 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-13 07:48:46 +00:00
ligi
dbc5d26605 splitting uavobject generation by language and cleanup:
- all languages to generate where processed everytime. In most runs only flight and/or gcs was needed but also matlab and python code was generated - now uavobjectgenerator has command line arguments to specify which languages to build and there are also new targets in the makefile.
 - generation code for all languages was in the parser section - was bit of a mess in general - now all splitted
 - its now more easy for new devs to add a new language or find relevant code for the language he is interested in

initial java generation:
 - uavobjectgenerator can now generate java code for uavobjects

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2392 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-13 02:26:00 +00:00
edouard
cb2aa1d389 OP-254 Do not reset accel bias before running the calibration, only correct it: should improve precision and lead to better results (and improving each time the procedure is launched again).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2391 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-12 21:21:06 +00:00
edouard
b7cb562009 OP-262 GCS: new "About Authors" dialog which displays the contents of the CREDITS.txt file. We should actually have a makefile script which takes credits.txt, parses it and updates the CREDITS.html file whenever we compile the GCS, to enable a nicer display of the authors.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2390 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-12 21:14:35 +00:00
edouard
49718aabf4 Added the Gaui and Scorpion 3D models, and updated the default settings file accordingly.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2389 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-12 12:54:19 +00:00
edouard
dda5d55ffa Improvements in suspendPolling/resumePolling in the connection manager even
if a connection plugin does not have devices connected when called.



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2388 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-12 07:43:02 +00:00
cwabbott
0f965df11e SiTL: Updates for UAVObjects, and for the recent Actuator and Watchdog changes to compile with SiTL. Posix needs to be tested.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2387 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-12 00:39:18 +00:00
edouard
67fb65b984 Add a msleep in the SSP loop to avoid taking 100% CPU when waiting for commands.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2386 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-12 00:15:44 +00:00
edouard
809f4f7e07 Started updating the connection manager to tell the connection plugins to poll or not in a central location. Updated the rawhid and serialconnection plugins to reflect this.
More updates to uploader gadget.

Updated the telemetrymonitor and telemetrymanager to set the GCS connection status to "Disconnected" when the user click on "Disconnect" (was not done before, and lead to confusion...)



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2385 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-12 00:05:51 +00:00
edouard
3d7407a82a Latest improvements to GCS Uploader gadget...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2384 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-11 20:41:52 +00:00
pip
a1b03ef55c Added http reference address for source of coeffs and c code for if and when new coeffs are required.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2383 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-11 15:45:16 +00:00
pip
b3d1c1f822 Added a return code test when calling WMM_GetMagVector() function. If returned code is error then don't set home location.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2382 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-11 11:15:27 +00:00
pip
7b50e09eb9 Fixed possible memory leaks. Now check for NULL pointers from all MALLOC calls. Functions now return '0' if OK, otherwise returns a value < 0.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2381 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-11 11:11:23 +00:00
edouard
c6e99a5c4f OP-260 Remove @Ref tags in the tooltips, thanks for pointing this out.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2380 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-11 09:02:57 +00:00
dankers
9e0728d0fa Update URL for Dean Hall's embedded Python interpreter
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2379 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-11 06:25:26 +00:00
peabody124
d846288cec OP-14 I2C: Remove delay in I2C IRQ handlers
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2378 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-11 03:50:23 +00:00
muralha
53627014d0 GCS/Modelview: Brand new additions: the Gaui 330X, the "Scorpion Tri copter" and a Zagi.
Linux users please test them, because I've hex edit the files to use "texture.jpg" instead of "TEXTURE.JPG".

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2377 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-11 00:55:51 +00:00
peabody124
5bcdfd6edd OP-239 OP-210 GPS memory usage: Pip catching the memory on the stack in the WMM
means this task only needs 800 bytes (of which only 120 is for the WMM).  Free
heap is now 9k.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2376 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-10 21:31:31 +00:00
edouard
f7b5ebdcc5 Further fixes to Uploader gadget
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2375 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-10 21:26:26 +00:00
pip
1fbd7155f9 Moved a few large variables off the stack to dynamically allocate them from the heap (http://progress.openpilot.org/browse/OP-225).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2374 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-10 20:30:47 +00:00
edouard
7aab98f3ee More checks on the uploader gadget, to prevent potential crashes in case something goes wrong when halting the board.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2373 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-10 20:12:12 +00:00
peabody124
2fee1781ec OP-239 OP-210 HomeLocation: This was causing resets on the board due to not
enough memory.  Increase task memory a little.  I'm not sure that it's possible
to make the WMM memory usage less.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2372 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-10 18:45:16 +00:00
dankers
ab923cae62 Add Dean Hall to CREDITS.txt
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2371 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-10 10:07:47 +00:00
edouard
e6cf9bfece OP-255 Only listen to autopilot connection/disconnection events, not to user disconnect events. There is a (by default) 8 second delay between a user disconnect and an autopilot connection lost event.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2370 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-10 09:00:44 +00:00
peabody124
3abcfc9608 OP-251 UAVObject/WatchdogStatus: Sorry forgot files earlier for monitoring what
triggered previous watchdog resets

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2369 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-10 05:42:57 +00:00
peabody124
bbbd9a10e3 OP-14 I2C Diagnostics: Improve the logging so that the events going into FSM
are logged, and separately the erirq and evirq logs are exported

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2368 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-10 05:42:53 +00:00
peabody124
aae4d113f5 OP-237 Actuator: Woops, typo
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2367 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-10 01:13:55 +00:00
peabody124
b173d74821 OP-237 I2C ESC support. This _will_ require you to reconfigure your
ActuatorSettings although for PWM aircrafts it should be done exactly as before

Actuator: Store the update times and maximum update time

OP-14 I2C: Start tracking short history of events and states in driver for
logging
OP-237 Flight/Actuator: Support for I2C based ESCs

OP-237 MK_ESC: Send all four motors as one atomic transfer

OP-237 Flight/Actuator: Allow channels to be mapped to MK I2C interface.  Currently
mixer channels are either PWM or MK but in the future this will change to
support more than 8 channels.

OP-16 PiOS/I2C: Further work to try and make I2C more stable, mstly special case
handline in IRQ

OP-237 I2C ESC: Support for Astect 4 channel ESCs

OP-237: When the I2C Actuator write update fails track this

OP-237 Actuator Settings: Change the way motor types are selected to keep that
information more appropriately within ActuatorSettings instead of MixerSettings

Also make motors stay at or above neutral when armed and throttle > 0

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2366 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-10 01:11:44 +00:00
peabody124
ed11e64bb2 OP-251 Watchdog: Get rid of the old extra watchdog module and instead have
tasks directly update a flag for each module (which they register) and when all
flags set clear the watchdog then.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2365 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-10 00:16:30 +00:00
vassilis
1e78cc7a30 Flight/FlightPlan: First release of flight plan scripting. The scripting engine is based on the PyMite Python VM. The released code is able to execute a simple python script on the target. However it is currently disabled from the makefile due to a few issues with more complex scripts. When the library is enabled in the makefile a python interpreter will be needed to compile the firmware since some intermediate code is generated by PyMite.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2364 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-09 22:36:15 +00:00
vassilis
007f7cbea0 GCS/FlightPlan: Create FlighPlan module related objects
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2363 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-09 22:28:39 +00:00
edouard
f7464557f2 Forgot to send the final version of the barometer (default set)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2362 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-09 22:19:10 +00:00
peabody124
e393000c34 OP-238 PIOS/SPI: Decrease pin clock rate from 50 to 10 Mhz. Since data at
1.125 MHz this should slow down the slew rates

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2361 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-09 20:49:46 +00:00
peabody124
5734e1f437 OP-176 PIOS/ADC: Decrease the priority of the ADC DMA/IRQ
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2360 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-09 20:49:43 +00:00
peabody124
0175e25ddf Flight/ADC: If there is a DMA error for the ADC transfer dont copy those values
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2359 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-09 20:49:39 +00:00
peabody124
148ea6fdc1 Flight: Make PWM outputs default to 0 us to avoid either pushing servos to
exteremes or running up motors

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2358 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-09 20:49:35 +00:00
peabody124
24c4e92b12 OP-176 FreeRTOS task priorities a bit more sensible
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2357 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-09 20:49:33 +00:00
peabody124
85b7619617 OP-176 OP-238 Flight/IRQ and DMA: Increased the priority of the AHRS DMA
transfer, seems to reduce CRC errors

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2356 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-09 20:49:29 +00:00
peabody124
0f07d7f671 OP-240 OP-176 Flight: Setting the priority group back to 4 (anything higher
priority preempts) and adjusting the priorities around to be more sensible.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2355 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-09 20:49:26 +00:00
edouard
79f72bda47 OP-248 Enable serial device polling on Windows too as automatic detection seems to be unreliable.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2354 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-09 18:43:03 +00:00
osnwt
9827746847 GCS/Windows installer: fixed working directory in shortcuts, added shortcut comments.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2353 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-09 14:13:48 +00:00
edouard
30b165c302 Update to Dials widget to check for NaN values in UAVObjects: a NaN can cause the GCS to freeze inside the dial repaint operations. This will ensure that the GCS does
not freeze if things go south on the firmware.



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2352 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-09 13:11:32 +00:00
edouard
79c4ba60f6 Explicitely close the serial port upon DFU object deletion.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2351 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-09 09:53:56 +00:00