Commit Graph

784 Commits (00e89a1daee582372671550c156f8957f3a538d0)

Author SHA1 Message Date
Dominic Clifton 251712c85d Merge branch 'development' into thenickdude-private-development
Conflicts:
	js/msp.js
2015-12-18 01:56:57 +01:00
skaman82 47bf426c29 fix 2015-12-18 00:07:00 +01:00
skaman82 f07cea070e error fix 2015-12-17 23:50:51 +01:00
skaman82 ba18e4eee1 Merge branch 'cleanflight/development' into NewPIDFunctions
# Conflicts:
#	js/backup_restore.js
#	js/msp.js
2015-12-17 23:46:09 +01:00
skaman82 2641770300 fixed indention 2015-12-17 11:41:02 +01:00
ProDrone 1a0c6735a9 RXFAIL send method that allows more future RX channels
- Fixed the bug found by Nighthawk32
- Correction for camelCase
- Some bugfixes
2015-12-17 11:33:39 +01:00
skaman82 70b35f22c9 msp corrections 2015-12-17 00:32:59 +01:00
Albert Kravcov 5160855b93 Merge pull request #76 from NightHawk32/NewPIDFunctions
Hint by ProDrone: fixing double-save on backup restore
2015-12-16 22:47:13 +01:00
skaman82 c58335bd5b msp.js change (thanks ProDrone) 2015-12-16 22:34:10 +01:00
NightHawk32 dc8f06fcc9 Hint by ProDrone: fixing double-save on backup restore 2015-12-16 16:19:27 -05:00
skaman82 0b3f1a48fb Merge branch 'cleanflight/development' into NewPIDFunctions 2015-12-16 20:53:37 +01:00
Dominic Clifton b4730034c8 Disconnect on F1 boards when 'break' is received if connected. This
happens when the device reboots due to incorrect hardware
initialisation.  This prevents the GUI saying 'waiting for data'.

See https://github.com/cleanflight/cleanflight/pull/1436

Since the problem is already fixed in firmware there's not much reason
to spent development working on additional GUI fixes.  A disconnect will
suffice.
2015-12-16 14:49:58 +01:00
skaman82 63dde67097 correction 2015-12-16 02:53:43 +01:00
NightHawk32 da1f456b87 Messed up some brackets 2015-12-15 16:00:01 -05:00
NightHawk32 a72a00a2de Fixing backwards compatibility of prodrone's failsafe tab 2015-12-15 14:45:09 -05:00
Dominic Clifton f21c169d74 Add support for SPRacingF3Mini. 2015-12-15 13:22:21 +01:00
Dominic Clifton 55a2677a2b Merge branch 'development' into thenickdude-private-development
Conflicts:
	js/data_storage.js
	js/gui.js
	js/msp.js
	main.html
	tabs/dataflash.css
	tabs/dataflash.js
2015-12-15 12:35:52 +01:00
NightHawk32 c1a7452b27 Merge remote-tracking branch 'upstream/NewPIDFunctions' into NewPIDFunctions
Conflicts:
	js/backup_restore.js
	js/data_storage.js
	js/msp.js
2015-12-15 01:27:55 -05:00
skaman82 d4969d73a1 resolving conflicts 2015-12-15 01:59:58 +01:00
skaman82 2d6feb0e6a Merge branch 'cleanflight/development' into NewPIDFunctions
# Conflicts:
#	_locales/en/messages.json
#	js/backup_restore.js
#	js/data_storage.js
#	js/msp.js
#	tabs/configuration.html
2015-12-15 01:43:24 +01:00
Dominic Clifton bd98aca67f Merge branch 'new_stuff' of
https://github.com/skaman82/cleanflight-configurator into
skaman82-new_stuff

Fix up messages.json formatting.

Conflicts:
	_locales/en/messages.json
2015-12-15 00:51:42 +01:00
NightHawk32 067999c5e8 added MSP support for sensor orientation, some fixes for 3D backup and restore 2015-12-14 18:06:25 -05:00
skaman82 c498e7de34 Added support for failsafe TAB
Made in cooperation with skaman82.

Summary of modifications:
- Extended data storage to hold data for new/changed MSP messages.
- Added support for added/changed MSP messages.
- Added assigned mode(s) to AUX labels.
- Tooltip changes.
- Included style modifications to configuration tab from Skaman82.
- Moved all texts from failsafe tab .html to `messages.json`.
- Removed failsafe settings from configuration tab (now obsolete).
- Added failsafe-tab variables to Backup & Restore.
- Reorganized stage 2 elements, cleanup and corrections.
2015-12-13 17:50:26 +01:00
NightHawk32 19e6f9026b PID controllers can now be reset to defaults 2015-12-12 18:42:49 -05:00
NightHawk32 5ba359fe17 FIX: LED config from backup file was not saved to EEPROM after reading the file 2015-12-12 15:36:05 -05:00
NightHawk32 6d7c6a4576 FIX: RC controls is profile dependent, now this saving for every profile 2015-12-12 14:41:32 -05:00
NightHawk32 1df0a14877 MSP communication for deadband and yaw_deadband 2015-12-09 18:56:42 -05:00
Nicholas Sherlock 4e12db9c5e Convert dataflash tab to a new Blackbox tab with SD card support 2015-12-04 15:49:51 +13:00
skaman82 16442c40a4 Merge branch 'cleanflight/development' into new_stuff 2015-11-28 22:12:31 +01:00
Dominic Clifton 0149901597 Prepare for release. 2015-11-28 15:23:48 +00:00
Dominic Clifton 5907b4c019 Merge pull request #278 from wanderzell/development
Fix for issue #274 (checkboxes on firmware flasher)
2015-11-28 11:37:19 +00:00
NightHawk32 7ca376926a Some code styling and cleanup. 2015-11-25 15:06:17 -05:00
NightHawk32 d21b4a157f Typo in css classes, update global dataflash display on every dataflash summary respond. 2015-11-24 18:17:53 -05:00
NightHawk32 6157c875f9 Renamed global dataflash components, fixed detection for global dataflash display. 2015-11-24 18:01:56 -05:00
NightHawk32 11fcf24258 Fixed bug with profile selector: It updates now on every status request. 2015-11-23 01:47:09 -05:00
NightHawk32 3c05c218c5 Code cleanup for profile selector. 2015-11-22 16:08:59 -05:00
NightHawk32 7531ce69fe Profile is now changable globally. 2015-11-22 16:00:01 -05:00
Kristjan Vaga 168b412089 Fix for firmware flasher checkboxes not restoring saved state issue #274. 2015-11-17 00:54:10 +02:00
skaman82 644c8da1cf Merge branch 'cleanflight/development' into new_stuff 2015-11-16 23:44:14 +01:00
Dominic Clifton ec57aa9d1a Fix 3D support.
Add missing backup and restore functionalty
Add missing configuration migration logic
Add missing visibility toggling of 3D section when API version <
`1.14.0`
Add missing logic for issuing the correct sequence of MSP commands
issues when API version < `1.14.0` when viewing the configuration tab.
2015-11-16 22:28:21 +00:00
skaman82 13aac48a79 Merge remote-tracking branch 'cleanflight/development' into new_stuff
# Conflicts:
#	_locales/en/messages.json
#	tabs/pid_tuning.html
2015-11-16 23:13:35 +01:00
Dominic Clifton e801cd260a Merge branch 'master' of https://github.com/NightHawk32/cleanflight-configurator into NightHawk32-master 2015-11-16 21:44:11 +00:00
skaman82 6b97eb2809 Further work on dataflash and profile switch in the header 2015-11-16 12:46:59 +01:00
skaman82 19897cd574 started to work on new GUI functionality 2015-11-15 23:35:22 +01:00
Dominic Clifton 65762587ba Cleanup tabs, whitespace & comments. 2015-11-14 11:20:08 +00:00
Dominic Clifton d32ba714bf Fixing whitespace and indentation. 2015-11-14 11:16:54 +00:00
skaman82 5de5f6d191 Merge remote-tracking branch 'cleanflight/development' into GUI-optimization 2015-11-14 01:49:10 +01:00
Dominic Clifton ac78dbc8c0 Support cleanflight API 1.14.0 (pid controller removal/reindex). 2015-11-14 00:41:23 +00:00
NightHawk32 904a55c930 Adding fixes for 3D to the newest version
Merge remote-tracking branch 'upstream/master'

Conflicts:
	tabs/configuration.html
2015-11-12 17:34:21 -05:00
skaman82 990fd26eb9 Including fixes from wanderzell
• fixes small css bug with tooltip icons
• fixes sensor icons nit showing up when connecting Naze32 Acro rev6
and Sparky1.1
2015-11-12 09:56:03 +01:00
skaman82 a63e628eac updating hydras changes 2015-11-11 22:17:54 +01:00
skaman82 0880343488 Merge remote-tracking branch 'cleanflight/development' into GUI-rework
# Conflicts:
#	main.js
#	tabs/landing.js
2015-11-11 22:08:19 +01:00
NightHawk32 31cd2de3d3 Added 3D configuration parameters so they don't have to be changed in the CLI 2015-11-11 16:05:24 -05:00
Dominic Clifton 504e494a4f Bump version to 1.0.0 and prepare for release. 2015-11-11 21:03:37 +00:00
Dominic Clifton d73196ea11 Fix toggle buttons reverting to checkboxes after reboot.
This moves GUI specific code out of main and the individual tab js files
into gui.js, where it fits better.
2015-11-11 21:01:22 +00:00
skaman82 b6b2812271 Fixing toggle buttons and the motors tab 2015-11-10 09:38:43 +01:00
Dominic Clifton 1adc6f7bd6 Delete more unused files from libraries.
Note that this commit is indicating there needs to be a build step to
make it easier to generate the used sources when packaging the
configurator.
2015-11-10 00:26:50 +00:00
Dominic Clifton 6d524ebe5e Delete unused switchery files and relocate the modified switchery
distribution files.

Note that the switcher.css/.js are NOT the same as the minified version.
They have been modified to generate smaller switches.
2015-11-10 00:22:09 +00:00
Dominic Clifton 8324a2c002 Fix repeated documentation link generation. Fixed repeated switchery
checkbox code.
2015-11-09 23:01:42 +00:00
skaman82 1f4838c5e2 boards.js update 2015-11-09 22:29:02 +01:00
skaman82 1816979cc4 More Work done:
• Tooltip integration
• Sensor Tab: rework
• Help & Documentation Tab: basic styling
• Logging Tab: basic styling
• PID Tab: some fixes
• Added the word „configurator (+ version)“ under the logo
• Removed not yet used „help icons“
2015-11-05 16:37:15 +01:00
skaman82 8e79a250ed Basic rework of: Adjustments and PID tabs, little fixes and changes here and there 2015-11-04 22:22:23 +01:00
skaman82 80439ef4bd Syncing 2015-11-03 07:21:25 +01:00
skaman82 06f643812d sync 2015-11-02 22:07:37 +01:00
skaman82 53a615279d fixing auto connect 2015-11-02 13:37:46 +01:00
skaman82 d2be1715e5 Display header elements depending on connection state 2015-11-02 11:56:18 +01:00
skaman82 77effe1963 Fixing some things in the configurator tab
and some media-query updates
2015-11-01 22:17:19 +01:00
Moto Moto 24fe790df3 Added MotoLab to BOARD_DEFINITIONS 2015-10-31 18:10:01 -05:00
Dominic Clifton 5c85ba7011 Merge commit '8e7097c' into development 2015-10-31 11:35:43 +00:00
Dominic Clifton afe62cc01b Merge pull request #250 from tracernz/development
Enable flashing using USB-DFU protocol
2015-10-31 11:22:18 +00:00
Dominic Clifton 716457b0ed Merge branch 'development' 2015-10-31 11:18:51 +00:00
Dominic Clifton 5d82bd8959 Prepare for release 2015-10-31 08:09:48 +00:00
skaman82 29f38f38e0 Ports Tab rework 2015-10-30 20:30:27 +01:00
skaman82 a618839f50 Some updates 2015-10-30 17:41:39 +01:00
skaman82 54d7c24e82 First rework of Configuration Tab
… also minor fixes to switchery buttons
2015-10-30 09:46:53 +01:00
skaman82 5782a83293 some minor changes 2015-10-29 17:15:48 +01:00
skaman82 968e10feeb switchery integration 2015-10-29 00:30:22 +01:00
skaman82 9489b13c13 Ports tab clean up 2015-10-28 20:23:48 +01:00
skaman82 819c07f2f5 Added sensor icons. Experimenting with theme change 2015-10-26 22:54:05 +01:00
skaman82 d2c14f15ec Added an new connect button 2015-10-23 22:57:55 +02:00
skaman82 d15dbca994 fixing things… 2015-10-23 16:00:03 +02:00
skaman82 87e9bfd3d9 ...restoring some files 2015-10-23 15:42:32 +02:00
skaman82 d61970e177 upload 2015-10-23 15:13:33 +02:00
skaman82 3a9c7f3794 Merge remote-tracking branch 'origin/baseflight-configurator-development' into GUI-rework
Conflicts:
	README.md
	js/libraries/d3.min.js
	js/msp.js
	main.html
2015-10-23 14:41:08 +02:00
skaman82 707e2c454b More work done… 2015-10-22 22:27:48 +02:00
skaman82 b0b8cc00d7 Further work and preparation.
Placed dataflash status bar in the header but can’t figure out how to
trigger a readout on connect in serial_backend.js. Some help?
2015-10-22 18:03:17 +02:00
Michael Corcoran 1a20b317dd DFU: Add additional error checks, enabled GUI connect lock while flashing 2015-10-15 13:00:43 +13:00
Michael Corcoran 1e386f508b DFU: Add local erase, 2 kB page size hardcoded
Not possible to read chip ID using DFU or page size info from USB descriptor (not yet supported by Chrome)
2015-10-15 13:00:43 +13:00
Michael Corcoran d89e9682c2 DFU: Make permissions compulsary, make DFU detection more robust 2015-10-15 13:00:43 +13:00
Michael Corcoran 88a59f05c9 STM32DFU: Remove line missed in c038785 2015-10-15 12:59:44 +13:00
Michael Corcoran 42a8d38e32 STM32: Check for DFU device after device reboot 2015-10-15 12:59:44 +13:00
Michael Corcoran 8b029edbcf Enable flashing using USB-DFU protocol
For new boards like Tornado
2015-10-15 12:59:44 +13:00
Dominic Clifton 7bf70092d3 Fix backup, broken by a missed rename in 1cb6413. 2015-10-14 21:48:09 +01:00
Dominic Clifton 43423ec7f9 Merge pull request #237 from sherlockflight/pid-rounding
Fix rounding of floating point values in crunch() (rc_rate, pids, etc)
2015-10-14 20:40:28 +01:00
Dominic Clifton eb2aa5b4e5 Allow configuration of servo angle at min/max from GUI.
Closes #193
2015-10-14 20:27:47 +01:00
Dominic Clifton d1396d8918 Merge pull request #224 from sherlockflight/msp-rx
Add control sticks for MSP Rx, suitable for debugging CF without a Tx
2015-10-14 20:09:10 +01:00
Dominic Clifton 240bfbc442 Merge pull request #220 from ProDrone/handle_unsupported_msp_msg
Handle unsupported MSP messages
2015-10-14 20:02:22 +01:00
Dominic Clifton fb683c27a6 Bump three library to r72. 2015-10-02 22:48:29 +01:00
Dominic Clifton 8317bcb607 Bump three library to r71. 2015-10-02 22:42:02 +01:00
Dominic Clifton 70903b7639 Bump three library to r70. 2015-10-02 21:35:16 +01:00
Dominic Clifton aa5fe105c4 Bump d3 library. 2015-10-02 21:11:07 +01:00
Dominic Clifton ddeaceaf60 Bump jQuery libraries. 2015-10-02 21:01:35 +01:00
Dominic Clifton b698169d20 Prepare for release 2015-10-02 21:01:08 +01:00
Larry (TBS) e4f47f8153 - Target-unspecific VCP bugfix 2015-09-14 20:21:09 +08:00
Nicholas Sherlock ef0c637877 Add control sticks for MSP Rx, suitable for debugging CF without a Tx 2015-08-30 02:23:40 +12:00
Nicholas Sherlock fa3888a9d8 Fix rounding of floating point values in crunch() (rc_rate, pids, etc) 2015-08-20 12:14:33 +12:00
Larry (TBS) d22f3faf1d * Add Colibri Race Support 2015-08-06 12:19:15 +08:00
ProDrone 717025cbde Skip and log unsupported messages 2015-07-20 01:05:31 +02:00
ProDrone 56a209a1e8 Detect and register unsupported message error from FC 2015-07-20 01:05:19 +02:00
Dominic Clifton b1eb21cb78 Bump date. 2015-07-13 02:09:24 +01:00
Dominic Clifton 687c0f1a84 Remove legacy servo configuration which originated from the overloaded
use of the servo 'rate'.  All servos are free to be configured
regardless of whether the mixer actually uses those servos.
2015-07-13 02:01:19 +01:00
Dominic Clifton 1cb64130cc update servo tab on configurator
1) work around 1.9.0 MSP buffer size bug.
2) support updated API for 1.12 (CF >= 1.10.0)
2015-07-13 00:02:58 +01:00
Dominic Clifton 4e41f46523 First cut of support for custom airplane and tricopter on servos tab. 2015-06-28 23:19:03 +01:00
Dominic Clifton 438dc8d46d Some changes required for the 'custom-servo-mixers' cleanflight branch.
TODO - Support old version of MSP_SERVO_CONF
2015-06-28 22:30:36 +01:00
Dominic Clifton 8d39b3f8cc Fix handling of MSP_SERVO and MSP_MOTOR. Previously the code assumed
there was always 8 servos and 8 motors.
2015-06-01 11:02:09 +01:00
Dominic Clifton 774fcf5f68 Merge commit '34e8c55a006ed3a2a989bf4e57c32bfa2e56f35b' into development
Conflicts:
	js/msp.js
2015-05-25 23:43:52 +01:00
Dominic Clifton dec46c0d30 Update changelog and prepare for release 2015-05-23 15:03:45 +01:00
Dominic Clifton 5707a12858 Fix for some incorrect data being left in the data structures after
connecting to two different firmware revisions.

This is a hack, the true fix should be to re-initialise the data
structures that are found in data_storage.js. See #197
2015-05-23 15:03:15 +01:00
ProDrone 322b7c1085 Fix access to `RC_YAW_EXPO` in `MSP_RC_TUNING` data packet 2015-05-22 21:37:04 +02:00
ProDrone ab883c6dc5 Cleanup code indention and positioning the rc_yaw_expo field 2015-05-22 21:37:03 +02:00
borisbstyle 34c6077b5c Yaw Expo Feature 2015-05-22 21:37:01 +02:00
Dominic Clifton 3086a98828 Add support for manual baud rate selection to firmware flasher. 2015-05-22 02:29:29 +01:00
Dominic Clifton 5471ab7f65 Add support for STM32 Extended Erase to allow erasing only needed pages. 2015-05-22 02:18:40 +01:00
Dominic Clifton 2f6160d6a1 Merge branch 'eziosoft-master' into development 2015-05-22 00:27:38 +01:00
Dominic Clifton 90cc08c86b Test and cleanup STM32 extended erase bootloader command support.
Note: entire chip only for now - 'Full Chip Erase' checkbox is ignored.
2015-05-22 00:27:09 +01:00
Dominic Clifton 2e6f5aa4d4 Prepare for release. 2015-05-20 15:37:28 +01:00
Bart ef682cdca9 STM F3 support
Partial F3 support. Should be enough to flash correctly.
Currently only full chip erase is supported.

IT IS NOT TESTED AT ALL as I don't have hardware
2015-05-19 03:04:40 +02:00
Dominic Clifton d18e5a9559 Merge branch 'manual_comport_selection' of git://github.com/pulsar256/cleanflight-configurator into pulsar256-manual_comport_selection 2015-05-17 23:11:58 +01:00
Paul Rogalinski cabeba70f7 checkbox to show dev releases, code refactoring 2015-05-17 23:01:27 +01:00
Paul Rogalinski 8913b8bb1c handle setups with no non-bt serial ports - for real 2015-05-10 22:30:00 +02:00
Paul Rogalinski 21a75ea7d3 gui cosmetics, handle setups with no non-bt serial ports 2015-05-10 21:51:16 +02:00
Paul Rogalinski 1bb63a597b manual port override as chrome won't enumerate bluetooth serial ports on linux 2015-05-10 14:37:31 +02:00
Dominic Clifton d10023ec4b Update changelog and prepare for release. 2015-05-09 04:36:30 +01:00
Dominic Clifton 0f95f4ec4c Improve MSP handling of servo configuration. Fixes backup of CJMCU
boards.
2015-05-07 22:47:32 +01:00
Dominic Clifton 244685c9a6 Update version checking code to use semantic versioning - see
http://semver.org/

semver.js creating using browserify.

https://www.brcdn.org/?module=semver&version=4.3.4
2015-05-07 22:10:26 +01:00
Mauro Mombelli e781e14617 fix for undefined function
ArrayBuffer does NOT have length but byteLength parameter.
2015-04-28 10:20:48 +02:00
Dominic Clifton 37a1c0d3e7 Update changelog and prepare for release. 2015-04-14 13:33:38 +01:00
Dominic Clifton bf353192ef Avoid backing up invalid looptime/arming configuration for firmware with
api < 1.8
2015-04-14 13:29:44 +01:00
Dominic Clifton 2398f10b62 Fix for restoring backups created with 0.63.0 for firmwares with api <
1.8.0 that were saved with incorrect looptime.
2015-04-14 13:25:45 +01:00
Dominic Clifton 77d608063d Prepare for release. 2015-03-29 16:18:54 +01:00
Dominic Clifton 045d2b0ca4 Use updated IDs for MSP_LOOP_TIME and MSP_SET_LOOP_TIME. Cleanup and
fix backup/restore arming config.  Backup restore/looptime.  Add config
migration of looptime and arming config.  Rename MSP_RCMAP to
MSP_RX_MAP to match cleanflight code.
2015-03-29 15:01:54 +01:00
Dominic Clifton 2e046db53e Ensure offset variable is updated consistently in MSP_MISC.
See 9261163ca2
2015-03-29 12:06:33 +01:00
tricopterY 54c5d9b44c Reworked msp.js - MSP_ARMING_CONFIG, MSP_SET_ARMING_CONFIG 2015-03-29 08:58:01 +11:00
tricopterY e362130810 Reworked data_storage.js - ARMING_CONFIG 2015-03-29 08:45:08 +11:00
tricopterY 68dbf1707e Merge pull request #11 from cleanflight/development
Sync to latest changes
2015-03-23 08:43:54 +11:00
Dominic Clifton 52d7670977 Move apiVersion to appear before profiles in backup file. 2015-03-22 09:25:32 +00:00
Dominic Clifton 2e5acfc1bd Fix the 0.63.0 serial port configuration migration code. 2015-03-22 09:19:10 +00:00
tricopterY a1f932f36a Reworked msp.js - new code MSP_ARM_CONFIG etc 2015-03-18 14:46:24 +11:00
tricopterY e5235e46e6 Code style check data_storage.js 2015-03-18 14:29:09 +11:00
tricopterY ea78239cac Reworked data_storage.js - ARM_CONFIG and LOOP_TIME 2015-03-18 14:24:50 +11:00