1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-14 21:23:52 +01:00
Commit Graph

1466 Commits

Author SHA1 Message Date
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
chebuzz
d02b0d2da3 OP/GCS Lib - Drop GLC_lib 1.2 for GLC_lib 2.0
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1257 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-10 16:31:21 +00:00
edouard
440cbfc3c3 OP-38 Fix: FancyTabWidget is not part of the API of coreplugin: though gcc on Linux is fine with it, it does not work on Windows with the Windows toolchain and it is not clean anyway. For this reason, added a copy of fancytabwidget to the config plugin directly.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1256 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-10 13:04:14 +00:00
banigreyling
79fbc8b8fc OP-42 GCS/Scope: Added feature to show/hide plot curves. Made background blue. Add grid lines to plot canvas.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1255 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-10 05:42:39 +00:00
edouard
4c98fc391f OP-38 Finish implementation, enable choice of icon size in fancytabwidget too.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1254 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-09 22:58:52 +00:00
edouard
bdae03209f OP-38 Implemented 'vertical' look for Config plugin, using the existing 'fancytabwidget' from the coreplugin. Updated the fancytabwidget to enable either vertical or horizontal upon creation. Delete your config gadget .o files when recompiling!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1253 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-09 22:19:24 +00:00
cwabbott
1125311083 Fix Eclipse project files.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1252 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-09 18:24:26 +00:00
edouard
963a2a920e Fixed a potential crash condition on linear dial gadget when source SVG is not found.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1251 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-09 17:41:55 +00:00
sambas
61d0626bcf GCS\gpsdisplay: updated gui output, more data parsed
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1249 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-09 06:41:10 +00:00
dankers
9a5a34a323 Make the Earth a little brighter.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1248 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-08 20:56:21 +00:00
dankers
a39546591a Slight UI tweaks.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1247 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-08 20:47:32 +00:00
cwabbott
f041569bfe fixed a small problem in port.c, also added some debug statements.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1246 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-08 18:38:03 +00:00
sambas
c71de4b309 GCS/gpsdisplay: more data parsed, Lat and Lon style prepared for OPMAP plugin
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1245 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-08 07:22:37 +00:00
ephy
b188672173 GCS: remove one more source of -pedantic noise.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1244 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-08 07:00:50 +00:00
ephy
4536782428 GCS: Cleanup to allow -pedantic compile flag and changes to reduce the noise that it generates.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1243 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-08 06:45:16 +00:00
sambas
431581b73b GCS/gpsdisplay: static text output fix
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1242 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-08 06:30:25 +00:00
stac
f74c6ffdd5 i2c: rewrite i2c layer
The STM32 I2C block has a number of errata associated with it.
These errata are primarily related to timing sensitivities between
the peripheral and the interrupt handler.  In particular, the
correct generation of the stop bit relies on the I2C IRQ running
immediately and not being held off for any reason.

NOTE: The I2C interrupts must be the highest priority IRQs in the
      system to ensure correct operation.

I2C protocol is now implemented as a formal state machine.
See: stm32_i2c_fsm.{dot,jpg} for FSM description.

I2C init is now expressed by const initializers in pios_board.c
for both OP and AHRS boards.

I2C device drivers (ie. bmp085/hmc5843) now pass in const arrays
of an unlimited number of bus transfers to be done atomically.
The I2C adapter driver now handles all bus-level locking across the
list of transactions.  Generation of start/restart/stop conditions
are handled automatically over the list of transactions.

Timeouts have been removed from the API for now.  May be added
back later.

This driver has run error free on both the OP and AHRS boards for
up to 48hrs but it still sometimes fails earlier than that on the OP
board.  There is another possible set of improvements to the driver
that could employ the DMA engine for transfers of >= 2bytes.  This
change would reduce the timing sensitivities between the peripheral
and the driver but unfortunately, both the SPI and I2C interfaces
share the DMA1 engine.  That means only one of these two peripherals
can use the DMA engine and right now, SPI between OP and AHRS is
already using it.

Failures are currently fatal and will lock up the CPU.  This allows
useful information to be obtained in the failure cases.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1241 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-08 04:15:08 +00:00
stac
b6c1f43145 i2c: Change API to allow passing const config data
Mark the I2C_InitStruct parameter as const so that we can pass
const data as the initializer.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1240 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-08 04:14:58 +00:00
stac
f66e2cbd86 battery: fix doxygen header info
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1239 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-08 04:14:56 +00:00
stac
9050b9d26a ahrs_fsm: minor style fixups
No functional changes.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1238 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-08 04:14:55 +00:00
stac
a320a3e4d4 build: Turn modules back on
The modules were disabled for some reason in r1172.
This just turns them back on for the real targets.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1237 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-08 04:14:53 +00:00
stac
d7856b3d0a gdb: Do not automatically reset target in gdb init file
The gdb init files would previously reset the target immediately
when gdb started up.  This is sometimes an unpleasant side-effect
of running gdb.

In order to connect to the target, use the new "connect" function.
To reset the target use "mon reset".

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1236 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-08 04:14:52 +00:00
zedamota
a688b95eb6 Flight firmware-Start of the new bootloader
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1235 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-08 00:14:22 +00:00
dankers
297985c2a0 Move old bootloader to bootloader.old
This should be removed at some point but can wait till we have a working bootloader.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1234 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-07 23:55:28 +00:00
edouard
732b65cdaa OP-38 Output settings now done, to be validated on real HW and tested by more users. "Test" checkboxes not active yet.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1233 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-07 22:32:57 +00:00
ephy
14a93b4e61 GCS: Quiet down some compiler warnings.
There are now 0 build issues in Linux when I use "QMAKE_CXXFLAGS+=-Wno-ignored-qualifiers -Wno-unused-parameter -Wno-unused-variable" (including the "") as additional arguments to qmake in Qt Creator.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1232 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-07 19:14:34 +00:00
zedamota
ea309623a6 OP37/GCS MapLib - Fixed a bug reported by PeterG Again
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1231 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-07 17:07:18 +00:00
zedamota
10736204be OP37/GCS MapLib - Fixed a bug reported by PeterG, and deleted Nokia from the credits again (still haven't received the free phone :))
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1230 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-07 14:47:48 +00:00
sambas
d9d42ff068 gpswidget outputs now something to the gui
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1229 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-07 09:33:12 +00:00
edouard
516815807c OP-38 Progress on the servo output settings: not functional yet, but the GUI layout is done. Comments welcome, let me know if this is not clear please...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1228 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-07 08:56:03 +00:00
sambas
72871f5c19 nmeaparser: cleaned things up, someone make me sample how out relay values to the gui, like lat and lon values
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1227 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-07 07:58:05 +00:00
cwabbott
6f553efe45 debug_printf() for PiOS.win32. There are still many issues :(.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1226 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-07 02:30:35 +00:00
dankers
895271a518 Finish reverting SVN dirs. Change Thread name in new GPSDisplay plugin away from the default Qt example to avoid conflicts.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1225 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-06 19:54:08 +00:00
sambas
e346b7f1bb Reworked nmeaparser to separate class
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1222 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-06 10:18:28 +00:00