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

702 Commits

Author SHA1 Message Date
fredericg
59250845ea MKSerial: composing messages
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@703 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-02 19:44:57 +00:00
FredericG
4d227cd8b6 MKSerial: print attitude
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@702 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-02 06:57:41 +00:00
zedamota
9de32fa040 GCS/Tools DocumentationHelper - Just a small app to help with my laziness
Just choose a folder and the app will fill the license header in .h and .cpp files with the proper filename and user selectable DefGroup.
Also inside the same folder it can create a namespace with user selectable name.
Additionally it can create #if #endif blocks around qDebug's ex #ifdef DEBUG_name_of_file_uppercase.
This was made for my needs, use it at your own risk.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@701 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-01 22:28:45 +00:00
zedamota
0492641f31 OP-37 GCS/MapPlugin filename renaming only
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@700 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-01 22:20:18 +00:00
zedamota
1f8bee643d OP-37 GCS/MapPlugin Widget user interaction started. Panning done (default right mouse button), MouseWheel Zooming done.
Fixed minor bug in get tiles threadpool 
Divided project in 3 different namespaces, introduced license info.
Current test project is "widgettest"

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@699 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-01 22:08:57 +00:00
ephy
754544f82b GCS/core: Turn off logger before exiting.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@698 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-01 13:43:12 +00:00
ephy
147996935d GCS/utils: Small fix to PathChooser for Windows.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@697 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-01 12:27:04 +00:00
ephy
845bc99c03 GCS/core+plugins: Missing files in rev 695. Changes to options pages to make them more uniform.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@696 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-01 08:53:01 +00:00
ephy
4a974de1b5 GCS/core+plugins: Changes to options pages to make them more uniform.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@695 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-01 08:07:53 +00:00
fredericg
a2beb49257 Changed PIOS_DEBUG_Panic()
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@694 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-31 16:22:58 +00:00
fredericg
17f6646f6e Simplified the way test-applications can be built
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@693 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-31 16:22:10 +00:00
ephy
cea963e96b GCS/core: Preliminary support for more than 2 workspaces in GCS.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@692 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-30 18:57:33 +00:00
sambas
c53aa219d5 OP-25 Flight/GPS: Speed from knots to m/s
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@691 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-30 18:09:37 +00:00
zedamota
76802e0d38 OP-37 GCS/MapPlugin
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@690 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-30 17:16:35 +00:00
edouard
3ea3bf4018 Less agressive smoothing on the dials, add a factor option to dials for quick unit conversion, and allow negative max value for range settings.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@689 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-30 16:05:00 +00:00
fredericg
0fc8240b12 Display incoming messages - untested
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@688 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-30 13:28:53 +00:00
sambas
4f4391708e OP-25 Flight/GPS: Heading and GroundSpeed used, speed in knots?
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@687 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-30 06:31:58 +00:00
vassilis
c2a30176de GCS/HITL Simulation with FlightGear, only tested on Win7, see http://wiki.openpilot.org/HITL_Simulation for more details and video.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@686 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-30 02:12:53 +00:00
vassilis
6414887dcc Flight/ManualControl Added support for reversing inputs
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@685 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-30 01:58:15 +00:00
vassilis
c22804e90a Flight/UAVObjects Modify update rate and acked flag of periodic objects, added new gpsobject fields
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@684 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-30 01:56:43 +00:00
vassilis
30a127ebad GCS/UAVObjects Modify update rate and acked flag of periodic objects, added new gpsobject fields
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@683 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-30 01:55:47 +00:00
vassilis
7bc37e891d GCS/UAVTalk Added TelemetryMonitor, generates signals on autopilot connect/disconnect
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@682 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-30 01:52:31 +00:00
vassilis
4893dead52 GCS/Modelview Implemented real-time updates from AttitudeActual object
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@681 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-30 01:50:46 +00:00
vassilis
3fae030433 GCS/Map Implemented read time updates from GPS object
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@680 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-30 01:49:51 +00:00
zedamota
198045b292 OP-37 GCS/MapPlugin
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@679 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-29 19:43:16 +00:00
zedamota
ab34bbfa7a OP-37 GCS/MapPlugin Some fixes to core, fixed sqlite multi-thread access, changed some things from being created on the stack to the heap (I'm starting to sound like a C++ developer...lol)
Continued work on the widget stuff

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@678 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-28 19:39:51 +00:00
dankers
1cd94e7b31 Updated Credits file (please contact me if I missed you, a lot happens and I'm sorry if I did).
Add Easystar 3D model, using 3DS format and textures. First model with textures in the SVN for testing of ModelView with textures.
  

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@677 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-28 19:07:35 +00:00
edouard
b246079a35 Corrected typo in the minimum value settings.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@676 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-28 09:04:03 +00:00
edouard
9e76bcca1b Cleanup of dials plugin, signal disconnect should now work properly and the overall gadget should be more robust when changing the dial multiple times during a session.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@675 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-27 22:14:18 +00:00
edouard
838f312309 New thermometer dial, measures from -30 degrees C to 90 degrees C. Updated settings UI for the analog dials to accept negative values.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@674 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-27 16:29:52 +00:00
edouard
dd5d60b11e Solved (?) the signal connection issue, plugin now should work with multiple dials at the same time, and any on the fly object reconnection. Real life testers needed!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@673 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-27 13:51:30 +00:00
fredericg
dc2e7a041a Moved MKSerial to Modules/MK dir
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@672 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-27 10:30:39 +00:00
edouard
eedb81de9d The Analog dial widget now fully works! Testers with actual needed.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@671 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-27 09:47:42 +00:00
fredericg
5aa8da0be3 Module subdir holding MK related modules
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@670 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-27 09:43:36 +00:00
stac
140a51932f spi: fix cut/paste error for AHRS SPI setup
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@669 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-27 01:37:43 +00:00
stac
918250868b irq_stack: correct one word overlap of _irq_stack_top
The previous fix in r652 was _almost_ right.  There was
still a one word (4-byte) overlap between _irq_stack_top
and the start of the data segment.

_irq_stack_end + _irq_stack_size leaves the '.' pointer at
the word immediatly after the stack.  This commit corrects
this error and places _irq_stack_top on the last word
_inside_ the reserved space for the irq stack.

[Before]
  $ ./tools/arm-2009q3/bin/arm-none-eabi-nm -n ./build/openpilot/OpenPilot.elf
  ...
  20000000 A SRAM_BASE
  20000000 B _irq_stack_end
  20000400 d LED_GPIO_PORT   <--- overlap
  20000400 B _irq_stack_top  <--- overlap
  20000400 D _sdata
  20000408 d ADC_GPIO_PORT
  ...

[After]
  $ ./tools/arm-2009q3/bin/arm-none-eabi-nm -n ./build/openpilot/OpenPilot.elf
  ...
  20000000 A SRAM_BASE
  20000000 B _irq_stack_end
  200003fc B _irq_stack_top
  20000400 d LED_GPIO_PORT
  20000400 D _sdata
  20000408 d ADC_GPIO_PORT
  ...

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@668 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-27 01:37:40 +00:00
zedamota
ac80771774 OP-37 GCS/MapPlugin Core done, started widget part.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@667 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-26 16:19:34 +00:00
edouard
80956a2766 Analog dial gadget now uses combo boxes for choosing the UAVObject: more user-friendly, less error-prone.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@666 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-25 16:11:39 +00:00
sambas
ebff9f3638 OP-25 Flight/GPS: New GPS fields in use
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@665 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-25 05:32:43 +00:00
sambas
f7f1b37c62 OP-25 Flight/GPS: More object fields for GPS module
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@664 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-25 05:14:52 +00:00
vassilis
06c9bef7aa GCS/Attitude Minor change in field names and task priority
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@663 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-25 00:50:35 +00:00
vassilis
9be49ca54d Flight/Attitude Minor change in field names and task priority
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@662 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-25 00:49:46 +00:00
zedamota
630c1325d8 OP-37 GCS/MapPlugin First Commit, NOT fully functional.
Standalone compilation, not included on the top level project. 

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@661 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-24 19:53:44 +00:00
sambas
ec40618664 OP-25 Flight/GPS: Optimized GPS, buffer overflow fixed, RMC sentence handler
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@660 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-24 19:49:37 +00:00
stac
d678720855 i2c: i2c errors no longer mapped to event channel
Both EVents and ERrors were mistakenly being mapped to the
EVent IRQ channel.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@659 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-24 16:33:49 +00:00
stac
874239154a Turn on -Werror on openpilot firmware build
This commit fixes all existing warnings.

All basic compiler warnings will now be treated as errors.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@658 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-24 16:33:46 +00:00
stac
46101794e3 gcs: quiet some debug messages on tx via USB HID
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@657 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-24 16:33:44 +00:00
stac
6b2760da1a USB HID: basic COM functionality over USB HID
This fixes the COM interface over USB HID to the point where
it can establish and maintain solid communications with the UAVObject
Browser in the GCS.

Tested only on Linux.  The USB HID interface is still disabled for now
until it is tested successfully by a wider group.

Edit telemetry.c and set ALLOW_HID_TELEMETRY to 1 to enable telemetry
over the USB HID interface and report your results in the forum.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@656 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-24 16:33:40 +00:00
stac
69de42db49 Add AHRS attitude module and driver skeletons
- New Attitude module for AHRS (skeleton)
 - New AttitudeSettings UAVobject
 - New AttitudeActual UAVobject
 - Regenerated UAVobjects
 - Added new UAVobjects to OpenPilot and GCS builds
 - New PiOS driver for OpenPilot AHRS (stubs only)

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@655 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-24 16:33:36 +00:00
stac
e892dcb033 bmp085: create semaphore prior to configuring irq
Since the EXTI and NVIC init routines automatically enable the IRQ when it
is configured, it is possible for the EOC interrupt to fire immediately
upon configuring the IRQ.

Since the handler for the EOC interrupt (EXTI15_10_IRQHandler) does a
xSemaphoreGiveFromISR, it is important to have the semaphore initialized
prior to enabling the interrupt.

Also, added missing include for altitude module.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@654 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-24 16:33:30 +00:00