1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-13 20:48:42 +01:00
Commit Graph

174 Commits

Author SHA1 Message Date
zedamota
411c38aebf Fixes the incompatible message when the GIT tag has a leading zero. 2012-04-17 13:54:41 +01:00
James Cotton
6cb3abec80 Allow firmware compiled for 0x902 to be downloaded to 0x901 2012-03-22 00:42:23 -05:00
James Cotton
1eaf6f66fb Rename one of the boxes in the runnindevicewidget.ui to avoid warnings. 2012-03-22 00:42:22 -05:00
James Cotton
f20e5da9ed Merge branch 'next' into revolution
Conflicts:
	ground/openpilotgcs/src/plugins/config/config.pro
	ground/openpilotgcs/src/plugins/config/configrevowidget.h
	ground/openpilotgcs/src/plugins/scope/scopegadgetwidget.cpp
2012-03-03 11:41:41 -06:00
James Cotton
03d12915af Merge remote-tracking branch 'origin/os/features/better-version-info-and-uav-export' into next 2012-02-14 13:39:00 -06:00
David Ankers
a5ffdb7306 Merge branch 'master' into next 2012-01-31 05:32:49 +11:00
zedamota
01c910cd2b OP-616 Fixes wrong HW version being displayed. 2012-01-29 21:49:11 +00:00
naiiawah
fdcea01100 numberOfDevices could be left unitialized if sendData or receiveData
fail in findDevices or if no one ever calls findDevices.  Added init of
var.
2012-01-28 15:12:27 -07:00
James Cotton
3ab40b713e Add exception to allow uploading firmware for 0x402 boards to 0x401 boards 2012-01-24 16:58:56 -06:00
Oleg Semyonov
421cf89544 Fix device info struct fields and variable names, better version info messages
- fixed deviceDescriptorStruct field names
  (gitTag->gitHash, buildDate->gitDate, description->gitTag);

- fixed variable names
  (onBoardDescrition->onBoardDescription, LoadedDescrition->LoadedDescription);

- version info in exported UAV files looks now like this:

<version>
    <hardware revision="1" serial="51ff6b064883545366621987" type="4"/>
    <firmware tag="master" date="20120104 17:51" hash="14ee6e4f"/>
    <gcs tag="os/features/version-info" date="20120115 12:57" hash="236fae56"/>
</version>
2012-01-15 18:37:42 +02:00
zedamota
dbd9fcda28 OpenPilot OP-611
disable Flash button during operation
2012-01-09 16:53:59 +00:00
zedamota
00cb66ae79 OpenPilot OP-602
Please add a Help button on the Firmware page
2012-01-09 16:35:35 +00:00
James Cotton
12e879ced9 Merge branch 'master' into next 2012-01-04 11:54:27 -06:00
James Cotton
82d91d9830 Talked PT into a simpler firmware mismatch warning in exchange for more
photoshop.
2012-01-04 11:51:12 -06:00
Stacey Sheldon
4fd40ca0d2 gcs uploader: add support for "Safe Boot" to the GCS uploader
When halted in the bootloader or while rescuing a board, the
user can press the "Safe Boot" button in the uploader gadget
to force the FW to boot with a default hwsettings configuration.

The default conditions of the hwsettings uavo will disable all
optional modules, disable all serial port config, and ensure that
the board can communicate via the USB HID telemetry interface.

Once booted in this mode, a user can easily reconfigure the
hwsettings uavo through the config GUI and save the fixed
settings to the board to be used on the next reboot.  No need
to wipe all settings just to recover from a non-functional
HW config.

NOTE: The GCS needs to grow some very clear visual clues to
      indicate when the board has booted in safe mode.  The
      firmware helpfully raises a (new) critical alarm called
      BootFault whenever it boots in safe mode.
2012-01-02 14:27:07 -05:00
zedamota
5bc1a10774 Fixes the "halt" and "rescue" problems 2011-11-28 12:12:26 +00:00
zedamota
27de9fcb08 Some tweaks to detection and connection timings. Should fix some issues with "halt". 2011-11-26 00:06:45 +00:00
zedamota
9eaf09860c Delay the running device info fetching by 1 second. 2011-11-25 23:59:42 +00:00
James Cotton
856f8a9b6c Merge remote-tracking branch 'origin/pt/version-mismach-warning' into next 2011-11-21 07:38:16 -06:00
zedamota
0875831f6d made the firmware date display on a more user friendly format 2011-11-20 18:18:51 +00:00
zedamota
1632d354a1 Fix the don't show this again option 2011-11-19 18:47:41 +00:00
zedamota
e2c4b2f978 Simple mismatch detection, needs testing to find if message is clear enough for users. 2011-11-13 17:39:05 +00:00
zedamota
ad13cee7a1 Added the basis for GCS and FW version mismatch warning. 2011-11-13 16:05:36 +00:00
Brian Mahaffy
e1dbf3b75c Changed the uploader gadget to not ask if you want to plug in another
board, but only when using CC.
2011-11-05 23:22:56 -06:00
zedamota
032fa759ac Fixes the zero while arming checkbox and and OP-575 2011-10-12 16:43:14 +01:00
James Cotton
a53f2353a5 Merge branch 'ed_mac_halt_bug' into next 2011-09-25 15:19:22 -05:00
Edouard Lafargue
822cbfbc81 Fix MacOS halt issues by using the USBMonitor to detect device re-insertion:wq: 2011-09-25 15:28:08 +02:00
James Cotton
dc340596f5 Merge branch 'next' into GCS_ChangesToUI-RuntimeCFG
Conflicts:
	flight/CopterControl/Makefile
	flight/OpenPilot/System/pios_board.c
	flight/OpenPilot/UAVObjects.inc
	flight/PiOS/STM32F10x/pios_spektrum.c
	ground/openpilotgcs/src/plugins/config/config.pro
	ground/openpilotgcs/src/plugins/config/configgadget.qrc
	ground/openpilotgcs/src/plugins/uavobjects/uavobjects.pro
	shared/uavobjectdefinition/hwsettings.xml
2011-08-27 15:26:05 -05:00
zedamota
0d92e00125 Several bugfixes.
Created "simple wizard" button witch bypasses the sticks identification screen.
Small bugfix to fix GCS crashing if trying to upload a firmware bigger then the HW capacity.
2011-08-23 11:25:28 +01:00
Oleg Semyonov
2f7f920ef3 gcs: (uploader plugin) few firmware info string and icon changes
Also it looks like the date check clause doesn't work, needs to be checked.
2011-08-14 17:25:52 +03:00
Oleg Semyonov
ba58ec7e08 gcs: (uploader plugin) replace red warning icon with less serious yellow triangle 2011-08-14 17:25:50 +03:00
zedamota
c7cf52be39 Added embedded and gcs version info to exported uavobjects file. 2011-07-27 19:39:08 +01:00
Oleg Semyonov
400e07bbd1 gcs: change fw date format to match the fw info and GCS version strings
Use UTC time of last commit instead of local time of PC.
Use the same date/time string "YYYYMMDD HH:MM" as GCS uses in About dialog.
2011-07-22 21:29:59 +03:00
zedamota
283422b930 Fix for FW upload failing if placed on a folder with non latin1 chars 2011-07-12 21:36:54 +01:00
elafargue
b729b67f33 Attempt at making the new uploader gadget a bit more compact for smaller screens, make warning icon consistent with the rest of the icons. 2011-06-26 12:18:00 +02:00
zedamota
b67b6221d1 OP-515 took CPU serial from the devices screen 2011-06-23 17:42:54 +01:00
zedamota
6910bbb4f1 OP-515 Changes according to Osnwt suggestions. 2011-06-21 18:09:37 +01:00
zedamota
c6350492eb Cleaning and formating 2011-06-19 00:56:35 +01:00
zedamota
a0eca05595 Many changes to the uploader Gadget 2011-06-19 00:50:38 +01:00
elafargue
cacf03ae7b OP-515 Uploader Gadget UI improvements. Not implemented Firmware pre-check yet. 2011-06-01 14:49:22 +02:00
David Buzz Carlson
2691b80576 Fix segfault on close. Fix _terrible_ variable naming. Fix excessive qDebug messages. 2011-05-31 23:31:40 -07:00
zedamota
d591d509ed Merge remote-tracking branch 'remotes/origin/PT-bugfix-ground' into bugfix-ground 2011-05-29 10:57:57 +01:00
PeterG
8b80b35964 Remove " Gadget" from gadget names since it adds nothing useful. 2011-05-29 09:51:39 +02:00
PeterG
3a7f8c7fc5 Remove empty options pages for config, pipxtreme and uploader gadgets. 2011-05-29 09:42:26 +02:00
elafargue
da887d3f2e OP-513: Endianness problem on GIT revision and Date display on uploader gadget. Fixed, please confirm on your own architectures? 2011-05-29 08:58:14 +02:00
zedamota
7f5c9b6c43 Cosmetic changes to Uploader Gadget Rescue mode 2011-05-27 11:49:15 +01:00
elafargue
3edd7e3c3d Support for packaged firmware files (opfw) in the uploader gadget. 2011-05-25 21:23:22 +02:00
elafargue
5b787272f5 OP-504 Attempt to fix the Rescue/Boot issue, and bugfix in firmware version display in UPloader gadget. 2011-05-24 08:15:57 +02:00
elafargue
98f286a682 Uploader gadget improvements 2011-05-16 22:05:33 +02:00
elafargue
3129c10d05 Bugfix (uploader gadget) 2011-05-16 20:09:51 +02:00
elafargue
65201ec81c Improve Uploader gadget widget behaviour when clicking on halt & boot (prevent double clicking) 2011-05-16 20:03:41 +02:00
elafargue
50f1e15f54 Aditional artwork for GCS (artwork directory), plus show basic board info when connected on the uploader gadget. 2011-05-15 22:48:18 +02:00
elafargue
ca39cbe1fe Merge branch 'bugfix-ground' 2011-05-11 07:16:11 +02:00
elafargue
d5fbc0be4d Fix "Halt" command on Windows XP sp2. 2011-05-10 21:19:51 +02:00
elafargue
4d58967e49 Now check board model and SHA1 hash of the file when uploading a packaged firmware. 2011-05-08 21:22:00 +02:00
elafargue
4af0c562e3 GCS-side implementation: if a firmware is package with description 100 byte bin blob at the end, it will use it, and parse it back
if description is structured the same way.
2011-05-08 11:36:55 +02:00
elafargue
b61bd5bf31 Start of Uploader plugin parsing of packaged firmware. work in progress, not fully working yet. 2011-05-08 00:57:59 +02:00
James Cotton
028b731a5b Make the boards look better in the Uploader gadget 2011-05-02 16:19:19 -05:00
James Cotton
1f36e00287 Merge remote-tracking branch 'origin/OP_442_OP_437_PT_Dreamer' 2011-05-02 03:34:09 -05:00
elafargue
b2f62e724b OP-456 OP-459 OP-460 and OP-461 fixed. 2011-04-30 23:43:01 +02:00
zedamota
42c2b7193a Should fix the impossibility to choose a non existing file to download FW to. 2011-04-29 21:50:58 +01:00
edouard
92944dcfcb OP-374 Disable "Rescue" button during rescue procedure, to avoid people pressing it twice...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3145 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-10 08:46:41 +00:00
edouard
e8b4ef6954 OP-373 Uploader gadget now checks whether the autopilot is connected already when it starts, so that it displays the right state.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3142 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-10 08:23:03 +00:00
dankers
d1aa380b01 Minor change of the messages displayed. In a smaller screen size this save the gadget shifting slightly for the longer message.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3139 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-10 03:44:58 +00:00
zedamota
06826840aa OP356/GCS - Update uploadergadgetwidget to cope with latest changes.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3104 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-29 18:43:53 +00:00
edouard
332cafa8b8 Improve behaviour of Uploader gadget whenever the board does not manage to get into bootloader mode.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3075 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-26 11:22:31 +00:00
edouard
9d0ce95b37 Attempt to fix GCS crashes on USB disconnect: please confirm on other operating systems it is still working fine in all situations.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3066 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-25 10:59:24 +00:00
edouard
bfed85a9b0 Update uploader gadget to use the USB monitor to get the list of available devices.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3013 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-09 00:07:07 +00:00
edouard
f41cfc3d00 New CopterControl rendering in full SVG for the uploader gadget, should look much nicer than the previous pixmap.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2893 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-26 18:01:41 +00:00
edouard
4d76926561 Compile fix.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2890 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-26 13:53:50 +00:00
edouard
0a87ed23c7 OP-306 More updates to plugins to properly destroy the Widgets when the gadgets are removed.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2644 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-31 21:50:11 +00:00
osnwt
1ae14c5682 GCS/Uploader plugin: display DeviceID in hex making it more sensible (201 -> device 2, revision 01).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2626 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-30 01:49:32 +00:00
edouard
dce3c25771 Add missing header on some files.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2595 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-26 16:49:21 +00:00
stac
7195862d77 build: Move openpilotgcs into its own subdirectory
This will allow us to build a parent project for
qt-creator that sits above both openpilotgcs and
uavobjgenerator so that we can build both projects
at the same time.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2528 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 17:40:26 +00:00