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

3656 Commits

Author SHA1 Message Date
Oleg Semyonov
aeda61d252 usart: serial telemetry can be disabled to free USART
It was tested being merged with OP-472_CorvusCorax_CopterControl-Guidance_v3
branch, Spektrum on USART3 and GPS on USART1 and seems to work.

Currently defaults mimic original behavior, that is, if USE_SPEKTRUM
is not defined - define USE_PWM and USE_GPS. Thsi should be refactored
later to make it configurable from the Makefile.

Also it was not ported to the OP MB: it currently does not support the
S.Bus hardware and still has original behavior with the patch. But this
is one more step to dynamic configuration of ports.
2011-06-16 15:06:01 +03:00
Andrew Thoms
08822807b3 OP-532 Now saving channels to GUI config data structure 2011-06-16 00:33:07 -04:00
Andrew Thoms
5c5a07b101 OP-532 Updated GUI config data definition, UI, and implemented three
sliders in mixer generation code
2011-06-16 00:09:27 -04:00
Stacey Sheldon
8c4c73496b build: add unbrick targets
Added new unbrick_<board> targets for each board.
These targets use the stm32flash utility to install
a bootloader on to the board.  This is a tool of
last resort and should not be used for normal firmware
upgrades.

Usage:
  make unbrick_<board> UNBRICK_TTY=/dev/ttyUSB0
Where:
  <board> is one of coptercontrol, pipxtreme,
          openpilot, ins, ahrs
  UNBRICK_TTY is set to the serial device connected
              to the board.
2011-06-15 21:37:10 -04:00
Stacey Sheldon
81dbd3f4c0 build: add install rule for stm32flash utility
This tool can be used as a last resort for
installing a bootloader to a completely bricked
board that is unresponsive to even the rescue
functionality in the GCS uploader gadget.
2011-06-15 21:37:10 -04:00
Stacey Sheldon
6313a78dc9 build: make lists of boards with fw, bl and bu
Provide unique lists of boards for each type of
build (fw, bl, bu) so we can refer to them in
the help text.
2011-06-15 21:37:09 -04:00
Stacey Sheldon
0801495ce1 build: fix spacing on label for clean targets
Whitespace only, no functional changes.
2011-06-15 21:37:09 -04:00
Oleg Semyonov
50e819192b usart: make CC USART ports compile-time configurable
TODO: This should be dynamic in the future.
But for now define any compatile combination of:
   USE_I2C (shared with USART3)
   USE_TELEMETRY
   USE_GPS
   USE_SPEKTRUM
   USE_SBUS (USART1 only, it needs an invertor)
and optionally define PIOS_PORT_* to USART port numbers

Defaults are:

#define PIOS_PORT_TELEMETRY 1
#define PIOS_PORT_GPS       3
#define PIOS_PORT_SPEKTRUM  3
#define PIOS_PORT_SBUS      1

#define USE_TELEMETRY
#define USE_GPS

Telemetry, GPS and PWM input are enabled by default.
2011-06-15 22:37:44 +03:00
Oleg Semyonov
d8201ec45b sbus: provide a stub based on Spektrum driver (for CC only) 2011-06-15 22:35:21 +03:00
Andrew Thoms
22269b658d OP-532 improved UI layout for new controls 2011-06-15 00:39:13 -04:00
James Cotton
144f36dfb7 Merge branch 'bugfix-flight' 2011-06-14 10:02:55 -05:00
James Cotton
d7e08e5686 Merge branch 'heli_improvements' 2011-06-14 09:13:52 -05:00
Andrew Thoms
748d49817f OP-532 Save and Load UI elements to new GUIConfigData UABObject Field 2011-06-14 00:53:42 -04:00
Andrew Thoms
1c1881663f OP-532 Save and recall the new GUI config data to UAVObject 2011-06-14 00:10:28 -04:00
Andrew Thoms
23f9dc42cc OP-532 Created union of struct to assist in type casting of GUI settings
to UAVObject
2011-06-13 21:40:39 -04:00
Andrew Thoms
31339e0414 OP-532 Modified system settings UAVObject to have GUI config data 2011-06-13 21:39:47 -04:00
Andrew Thoms
651c65ad84 OP-532 Started with GUI configuration save to OP hardware 2011-06-13 20:46:53 -04:00
elafargue
b4d65102b1 Add "..." on import and export buttons 2011-06-13 18:59:53 +02:00
elafargue
54d57f1815 Merge branch 'bugfix-ground' of git.openpilot.org:OpenPilot into bugfix-ground 2011-06-13 18:56:30 +02:00
Pip
7b3241cca9 Fixed GCS export file selection problem - in windows. 2011-06-13 16:12:04 +01:00
elafargue
8807d6bf0f OP-534 Disable arming completely when staring calibration procedure. Tells user to reconfigure arming manually afterwards. 2011-06-13 12:14:40 +02:00
James Cotton
404c026188 Patch from Zippe to use cycle timer for CPU monitoring. 2011-06-13 00:24:30 -05:00
Andrew Thoms
c8939e6e4f Merge branch 'heli_improvements' into OP-532_Heli_GUI_Improvements 2011-06-12 23:21:00 -04:00
Andrew Thoms
2dab73a128 minor updates to UI code for visibility of controls 2011-06-12 00:31:22 -04:00
Andrew Thoms
6ad60a7971 Implemented UI code for new ccpm options checkboxes and sliders 2011-06-12 00:17:32 -04:00
James Cotton
0f5fe54329 FlashFS: Should clear the 0 sector when wiping flash chip, not 10 bytes in. 2011-06-11 22:31:51 -05:00
Andrew Thoms
86f5d63045 Changed names of new ui components 2011-06-11 22:35:19 -04:00
Andrew Thoms
2454596211 Modified names of new controls 2011-06-11 22:21:33 -04:00
Andrew Thoms
f9bddb107d changed label on single servo to 1st servo 2011-06-11 22:15:56 -04:00
Andrew Thoms
716f87e79b Added linking between new controls on ui 2011-06-11 22:13:55 -04:00
Andrew Thoms
597838ba0c Update CCPM config ui file for new options 2011-06-11 22:08:36 -04:00
zedamota
689eb2c588 Minor Cleaning 2011-06-12 00:49:05 +01:00
zedamota
cac495cebb Fix custom mixer throttle 1 curve. 2011-06-11 19:39:24 +01:00
dankers
9c6f2e0aea New deluxe linear dials, new files and not used by default so commiting to master. 2011-06-11 23:24:59 +10:00
Oleg Semyonov
5d0c7fe42e Merge branch 'master' into heli_improvements 2011-06-11 12:19:07 +03:00
Oleg Semyonov
a13c8470d3 Merge branch 'master' of ssh://git.openpilot.org/OpenPilot 2011-06-10 23:14:16 +03:00
Corvus Corax
a7841a523a bugfix: forgot to add header file (pios.posix) 2011-06-10 22:04:54 +02:00
Oleg Semyonov
52d9438847 Merge remote branch 'origin/bugfix-ground' 2011-06-10 23:02:45 +03:00
Corvus Corax
47a6643318 PiOS.posix: ported PiOS_CRC to PiOS.posix to fix compilation error on OpenPilot introduced by new dependency 2011-06-10 17:16:15 +02:00
dankers
d9607c44d8 Minor update from London flyer, readability on smaller screens improvement 2011-06-10 23:51:01 +10:00
dankers
314f596940 Update to Ed's PFD from London Flyer, adds slight look and feel improvments and removes the orange look.
Uses some look and feel from Guy's work also.
2011-06-10 21:40:30 +10:00
elafargue
c79cc1eb1a OP-376 Make all dialogs more dynamic to cope with smaller screens & resizes. 2011-06-09 18:03:19 +02:00
Oleg Semyonov
bc3b23a4a2 Merge branch 'bugfix-ground' into heli_improvements 2011-06-09 15:58:11 +03:00
elafargue
9d89f1e180 OP-528 Make the manual and maximum RPY rates available in the config gadget 2011-06-09 13:12:03 +02:00
Oleg Semyonov
f766642f0d Merge branch 'master' into heli_improvements
Conflicts:
	shared/uavobjectdefinition/manualcontrolsettings.xml
2011-06-09 10:11:27 +03:00
elafargue
1ac92643b7 Fix 'smart' throttle/flight mode channel assignment, it works now. Someone please test & report.
OP-522
2011-06-08 22:15:10 +02:00
James Cotton
3a3c88cefa OP-522: When you unchecked Run Calibration it forces the Throttle neutral to 5%
of the range and the FlightMode to 50%.

Sorry there's also some indentation changes mixed into this patch.
2011-06-08 12:21:43 -05:00
zedamota
dcccae7270 Change throttle default max value to 0.95 on multis 2011-06-08 18:21:29 +01:00
James Cotton
5aa8224181 Merge branch 'bugfix-flight' of ssh://git.openpilot.org/OpenPilot into bugfix-ground 2011-06-08 12:02:52 -05:00
James Cotton
f361603a10 OP-521: Fixed reversal of flight mode in GCS properly now I have hardware to
test it :)
2011-06-08 12:01:47 -05:00