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

4163 Commits

Author SHA1 Message Date
James Cotton
bac7836318 Revert "uavobj: shrink metadata struct to save RAM". I was premature merging
this to next as it changes the on-the-wire representation and thus doesn't
allow GCS to set the metadata.

This reverts commit a641cd7956.
2011-08-04 07:17:36 -05:00
James Cotton
8697a7f785 Merge remote-tracking branch 'origin/stac/uavobjects-go-on-a-diet' into next 2011-08-04 07:02:52 -05:00
zedamota
2a1b830eaa Merge remote-tracking branch 'remotes/origin/stac/support-multiple-receivers' into GCS_ChangesToUI-RuntimeCFG 2011-08-04 12:13:44 +01:00
Peter Gunnarsson
32f6cf7346 Change to normal tabwidget for workspace panel, allow placement of tab panel on top or bottom and allow reordering of tabs through drag n drop, allow changes to number of workspaces to take effect immediately, merge uavgadgetmanager with uavgadgetmode. 2011-08-04 11:55:18 +02:00
Oleg Semyonov
6e5e807691 Windows installer: add HISTORY.txt and web links to the Start menu 2011-08-04 12:51:05 +03:00
Oleg Semyonov
8ad65f6583 Convert HISTORY.txt file to DOS format (readable on all platforms) 2011-08-04 11:23:00 +03:00
Peter Gunnarsson
4dd7ff3750 Remove unused ViewManager from MainWindow. 2011-08-03 10:58:42 +02:00
Peter Gunnarsson
f3db62bb4f Remove unused code in splitterorview.cpp 2011-08-03 10:04:40 +02:00
Peter Gunnarsson
951cae948e Make config gadget use new widget in icon panel. 2011-08-03 10:03:49 +02:00
Peter Gunnarsson
fc2e1c7fd7 Add new widgets with simpler code than what is used currently (FancyTabWidget). 2011-08-03 10:02:51 +02:00
Stacey Sheldon
a641cd7956 uavobj: shrink metadata struct to save RAM
This update saves 448 bytes of RAM with the current
crop of UAVObjects.  It reduces a 19 byte struct to
8 bytes.

Note: This also introduces a limit of 65.534s for the
update periods.
2011-08-03 00:00:50 -04:00
zedamota
1b34376797 Added "changes not saved" message warning to config gadget 2011-08-02 17:06:17 +01:00
Stacey Sheldon
90b2625deb rcvractivity: Add tracking of Rx channel activity 2011-08-02 01:27:37 -04:00
Stacey Sheldon
1299e110c4 gcs: update CC hw settings to use hwsettings RcvrPort field 2011-08-02 01:22:04 -04:00
Stacey Sheldon
06cdeb7b61 rcvr: support multiple simultaneous receivers
Now also supports multiple instances of the Spektrum driver.
These are configured as Spektrum1 and Spektrum2.
2011-08-02 01:22:04 -04:00
Stacey Sheldon
829b8b83f6 rcvr: Add GCS receiver driver for rcvr via telemetry
This allows the GCS to emulate a receiver device via the
telemetry link.

Select "GCS" as your input type in the manualcontrol config
screen and calibrate it as normal.

Note: The expected values for the channels are in microseconds
      just like a PWM or PPM input device.  The channel values
      are validated against minimum/maximum pulse lengths just
      like normal receivers.
2011-08-02 01:22:04 -04:00
zedamota
cdf4d112ce Finished refactoring airframe config widget 2011-08-01 13:28:58 +01:00
Oleg Semyonov
9a882811a2 packaging: put only CC firmware into the distributable package
All firmware still will be built, but only CC firmware is packaged
to prevent abuse of bootloader updaters etc.
2011-08-01 12:40:45 +03:00
Stacey Sheldon
2f79e4fa76 Merge remote branch 'origin/stac/refactor-usart-com' into next 2011-07-31 09:41:06 -04:00
James Cotton
035b4103c4 Need to initialize the HwSettings before using them. 2011-07-31 09:42:15 +09:00
James Cotton
c5bf0ac657 Merge branch 'stac/refactor-usart-com' into camera_stabilization 2011-07-31 09:13:37 +09:00
James Cotton
568ea13471 Merge branch 'next' into stac/refactor-usart-com 2011-07-31 09:13:27 +09:00
James Cotton
e2985ec419 Merge branch 'stac/refactor-usart-com' of ssh://git.openpilot.org/OpenPilot into stac/refactor-usart-com 2011-07-31 09:13:19 +09:00
Stacey Sheldon
6b1ec9a54e bl: fix LED pwm computation with new stopwatch 2011-07-30 16:59:57 -04:00
Oleg Semyonov
76b4407d04 Update history.txt file (PPM receiver support) 2011-07-30 15:39:39 +03:00
James Cotton
3df730c64f Merge branch 'stac/refactor-usart-com' into camera_stabilization 2011-07-30 13:38:43 +09:00
James Cotton
8d50c6c646 Merge branch 'stac/refactor-usart-com' of ssh://git.openpilot.org/OpenPilot into stac/refactor-usart-com 2011-07-30 13:38:14 +09:00
James Cotton
387a22398e Make it possible to optionally enable the CameraStab module 2011-07-30 12:08:47 +09:00
Stacey Sheldon
8c0b60099f rcvr: don't init spektrum and sbus rcvrs twice 2011-07-29 22:59:50 -04:00
James Cotton
cb9c6dfb5e Change the sequencing of telemetry starting to make sure all the objects that
were registered in an initialize and then enumerated by telemetry
2011-07-30 11:31:45 +09:00
James Cotton
132e19d613 Change the makefiles - always compile the optional objects but the flag
indicates whether they are registered
2011-07-30 11:29:29 +09:00
James Cotton
ae67c51632 Register some missing objects with their modules 2011-07-30 11:28:21 +09:00
James Cotton
2e5a36a4db Merge branch 'stac/refactor-usart-com' into camera_stabilization 2011-07-30 10:55:16 +09:00
James Cotton
f5156d0f83 Merge branch 'next' into stac/refactor-usart-com 2011-07-30 10:35:04 +09:00
James Cotton
b2d2114ede Disable auto registration of all objects. Later the uavobj_init linker scripts
should be deleted to not carry around old code.
2011-07-30 10:24:46 +09:00
James Cotton
23e9b56839 Dos2unix flight/CopterControl/System/coptercontrol.c 2011-07-30 10:06:35 +09:00
James Cotton
96c2d24253 Merge branch 'next' into camera_stabilization
Conflicts:
	flight/CopterControl/Makefile
	flight/CopterControl/System/coptercontrol.c
	flight/Modules/Actuator/actuator.c
	flight/Modules/GPS/GPS.c
	flight/Modules/ManualControl/manualcontrol.c
	flight/Modules/Stabilization/stabilization.c
	flight/Modules/System/systemmod.c
	shared/uavobjectdefinition/manualcontrolsettings.xml
	shared/uavobjectdefinition/stabilizationdesired.xml
2011-07-30 10:06:10 +09:00
James Cotton
333ab645ec Dos2unix manualcontrol.c to facilitate merging 2011-07-30 09:55:02 +09:00
Stacey Sheldon
c2fb0d8b43 com: allow run-time allocation of buffers 2011-07-29 15:33:14 -04:00
Stacey Sheldon
8b0415d905 bl: alternate stopwatch for small bootloaders
The small bootloaders (CC and PipX) are out of flash space
so their stopwatch implementation has been swapped out for
one based on the DELAY clock that takes about 500 bytes less
of code space.

Identical functionality is preserved.
2011-07-29 15:33:01 -04:00
Stacey Sheldon
13f9b0e09d Merge remote branch 'origin/OP-498_jwhitlock_add-ppm-to-cc' into next 2011-07-28 22:15:01 -04:00
Oleg Semyonov
921905bd8c gcs: some cosmetic ui form changes
Receiver message font made the same as for other info messages.
Changed few label alignments.
2011-07-28 23:28:59 +03:00
Oleg Semyonov
ad339d32a6 gcs: some cosmetic ui text changes 2011-07-28 23:26:07 +03:00
James Cotton
9840f12658 Disable ModelView on QT 4.8 until fixed. 2011-07-28 18:59:55 +09:00
James Cotton
f2e04f78b7 Change to GLC Lib to make it compile on OSX with QT 4.8.0. This might be
required for all OS's with 4.8.0
2011-07-28 18:08:22 +09:00
Stacey Sheldon
a3888ecd48 usart: ensure callbacks are bound in the correct order 2011-07-27 23:21:39 -04:00
Stacey Sheldon
5f8760a55c com: Move buffering out of USART/HID layer and into COM layer
This allows the spektrum and sbus receiver drivers to bind
directly to the usart layer using a properly exported API
rather than overriding the interrupt handler.

Bytes are now pushed directly from the usart layer into the
com layer without any buffering.  The com layer performs all
of the buffering.

A further benefit from this approach is that we can put all
blocking/non-blocking behaviour into the COM layer and not
in the underlying drivers.

Misc related changes:
 - Remove obsolete .handler field from irq configs
 - Adapt all users of PIOS_COM_* functions to new API
 - Fixup callers of PIOS_USB_HID_Init()
2011-07-27 19:45:38 -04:00
zedamota
c7cf52be39 Added embedded and gcs version info to exported uavobjects file. 2011-07-27 19:39:08 +01:00
James
60136f0464 Add support for PPM transmitters up to 12 channels. Small array indexing issue in PIOS_PPM_Get. 2011-07-27 00:33:32 +01:00
zedamota
69083ee618 Merge remote-tracking branch 'remotes/origin/GCS_ChangesToUI-RuntimeCFG' into next
Conflicts:
	ground/openpilotgcs/src/plugins/config/configinputwidget.cpp
	ground/openpilotgcs/src/plugins/config/input.ui
2011-07-26 21:44:59 +01:00