Commit Graph

727 Commits (17cdf3dcf4f9afc634bcb791d9792ce9ca24a963)

Author SHA1 Message Date
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
tricopterY 9261163ca2 Reworked msp.js
MISC.auto_disarm_delay, MISC.disarm_kill_switch are CONFIG.apiVersion dependent
2015-03-15 17:04:40 +11:00
tricopterY fde8edfe1e MISC auto_disarm_delay and disarm_kill_switch 2015-03-14 11:17:30 +11:00
tricopterY fc656d4ac2 MISC auto_disarm_delay and disarm_kill_switch 2015-03-14 11:08:29 +11:00
Nicholas Sherlock 2863077ee3 Merge remote-tracking branch 'upstream/development' into development 2015-03-14 10:19:24 +13:00
Dominic Clifton e462439c1b Upgrade D3 library to 3.5.5.
See http://d3js.org/
2015-03-12 00:14:39 +00:00
Dominic Clifton 8160e8e353 Merge branch 'development' of https://github.com/tricopterY/cleanflight-configurator into development
Conflicts:
	js/msp.js
	tabs/pid_tuning.html
	tabs/pid_tuning.js
2015-03-12 00:40:15 +01:00
Dominic Clifton b2be2853b4 Provide a migration path from pre-1.8.0 firmware backups. 2015-03-11 23:34:24 +00:00
Dominic Clifton 4b2704e784 Support independent configuration of pitch and roll rates. Cleanup of
tpa breakpoint configuration support.
2015-03-11 22:50:07 +00:00
tricopterY abbfe1d763 Update jquery.flightindicators.js 2015-03-11 16:57:50 +11:00
tricopterY 3ed04866f6 Update gui.js 2015-03-11 16:41:09 +11:00
tricopterY 97857b19d8 Update data_storage.js 2015-03-11 16:20:15 +11:00
tricopterY f4fb947f8f Update msp.js 2015-03-11 16:18:49 +11:00
tricopterY 6380a7a821 Merge pull request #8 from tricopterY/development
development sync
2015-03-11 14:07:33 +11:00
tricopterY 8e6c5909c1 Merge pull request #4 from tricopterY/tricopterY-patch-1-3
Update data_storage.js
2015-03-10 16:10:12 +11:00
tricopterY 2b5296884a Update msp.js
Added TPA Breakpoint handling via PID Tuning tab
2015-03-10 14:51:23 +11:00
tricopterY 3d921b9549 Update data_storage.js
Support for TPA Breakpoint via GUI
2015-03-10 14:35:00 +11:00
Nicholas Sherlock b331315b76 Add 250000 baudrate for blackbox 2015-03-07 13:07:32 +13:00
Nicholas Sherlock aa8d5300e5 Support new Blackbox baudrates including new 230400 rate 2015-03-06 19:58:57 +13:00
Dominic Clifton 88a9699487 Drop support for old API and configuration backups. Additional code is
required to migrate and support pre 1.8.x serial port configuration.  

This commit is just to limit user expectations until such code is
written.
2015-03-03 23:29:11 +00:00
Dominic Clifton 24dba62144 First working cut of new port configuration tab.
Migration from or configuration of pre 1.8.x firmware is not supported
but may be added later.
2015-03-03 22:56:48 +00:00
Dominic Clifton f3e14b73a2 Merge remote-tracking branch 'cleanflight/development' into serial-cleanup 2015-03-03 18:27:58 +00:00
Dominic Clifton c3f1c13d54 Move Documentation and Support links to separate tab. Add a
contributing section.  Unify help/landing section CSS/html a little.
Expand the sponsors panel area in preparation for an updated section.
2015-03-03 16:27:40 +00:00
Dominic Clifton 9ba21f773f Fix servo channel forwarding configuration. Closes #117.
Editor mishap during refactoring in
34d72feb69.
2015-02-27 10:52:56 +00:00
Dominic Clifton bbab895dd8 Merge branch 'development' into serial-cleanup 2015-02-27 01:16:44 +00:00
Dominic Clifton c423aaf44d work-in-progress changes to go with the corresponding serial-cleanup
firmware branch.
2015-02-27 01:15:37 +00:00
Nicholas Sherlock 289719b81a Merge remote-tracking branch 'upstream/development' into development 2015-02-27 00:45:01 +13:00
Dominic Clifton 7bdd010eb0 Avoid using GPS commands for targets that do not have GPS support
compiled in.
2015-02-23 21:27:55 +00:00
Nicholas Sherlock 66e767881e Fix endianness of board version read 2015-02-23 22:47:47 +13:00
Dominic Clifton 831e4a848e Merge branch 'blackbox-flash' of
https://github.com/sherlockflight/cleanflight-configurator-dev into
sherlockflight-blackbox-flash

Conflicts:
	_locales/en/messages.json
2015-02-22 21:51:18 +00:00
Dominic Clifton 31fd709351 Update changelog, bump verson and prepare for release. 2015-02-20 20:11:01 +00:00
Richard Birkby f89aaa1011 Add flight instruments to setup tab 2015-02-20 01:18:49 +00:00
Nicholas Sherlock d0ae8dd921 Show "dataflash unsupported" for old versions missing new MSP commands 2015-02-16 19:13:09 +13:00
Nicholas Sherlock 7fb9f43b00 Merge remote-tracking branch 'upstream/development' into blackbox-flash 2015-02-16 17:45:47 +13:00
Nicholas Sherlock 49741b45a8 Add progress dialogs for flash save and erase 2015-02-13 21:05:36 +13:00
Dominic Clifton 34d72feb69 Move handling of servo channel forwarding into the MSP. 2015-02-10 01:12:26 +00:00
Dominic Clifton 745c2dc793 Adding SP Racing F3 board. 2015-02-08 23:16:29 +00:00
Dominic Clifton 6901aa2dbc Cleanup serial port count code. 2015-02-08 23:16:17 +00:00
Dominic Clifton 39be4d9e62 Update changelog and prepare for release. 2015-02-03 00:18:50 +00:00
Dominic Clifton cfe6949c84 Allow same rnage of values for board alignment as cli (-180 - 360) 2015-02-02 00:08:09 +00:00
Nicholas Sherlock 0f22b92e35 Add dataflash tab: Very basic functionality is working 2015-01-31 00:41:41 +13:00
Dominic Clifton e672dde6e2 Fix backup of PID controller. 2015-01-29 21:50:02 +01:00
tracernz c78bd800db Fix MSP_GPS_SV_INFO comment
Depends on #437
2015-01-29 19:26:42 +01:00
Dominic Clifton e447739e74 Adjust documentation button so that it doesn't move the sensor
indicators when connected. Use same color as other help panels.
2015-01-29 19:01:37 +01:00
Dominic Clifton 20a82e7339 Merge branch 'development' of https://github.com/pulsar256/cleanflight-configurator into pulsar256-development 2015-01-29 18:30:21 +01:00
Dominic Clifton e96839d3d8 Merge pull request #80 from ledvinap/feature-negative-current
Allow negative current draw
2015-01-29 18:29:01 +01:00
Dominic Clifton 35200e5a36 Support changing PID controller in the GUI. 2015-01-29 18:27:50 +01:00
Dominic Clifton aaab850407 Change MSP_SONAR_ALTITUDE to be in the range used for cleanflight
original commands.

See
https://code.google.com/p/multiwii/source/browse/trunk/MultiWii_shared/Protocol.cpp#18
2015-01-29 15:29:12 +01:00
Krzysztof Rosinski 39c70ce9b8 Add sonar data storage 2015-01-28 22:28:19 +01:00
Krzysztof Rosinski f933dbf330 Sonar altitude added to sensors 2015-01-28 22:24:44 +01:00
Petr Ledvina 943d33ba4d Allow negative current draw
Interpret MSP_ANALOG.amperage value as signed
2015-01-28 17:15:23 +01:00
Paul Rogalinski d3fc8464fa added a help button for the currently installed firmware 2015-01-28 00:01:42 +01:00
Dominic Clifton b3424eadcb Defining the models and images used in one place to make maintainance of
the mixer list easier.
2015-01-27 21:06:39 +01:00
Dominic Clifton a56c0eef40 Fix welcome tab being cleared after failing to connect to a port. 2015-01-27 00:43:09 +01:00
Dominic Clifton 34b7b87c3e Allow old API version to be used but disable LED strip tab and
backup/restore functionality in certain cases.  Cleanup of tab
switching.
2015-01-26 22:37:55 +01:00
Dominic Clifton 342a5134a5 Merge branch 'feature-negative-currentsensors' of https://github.com/frog32/cleanflight-configurator into frog32-feature-negative-currentsensors 2015-01-26 19:01:01 +01:00
Dominic Clifton d269d60391 Improve user experience by adding tabs for the welcome and firmware
flasher.

The welcome (aka 'landing') and firmware flasher were already modelled
as tabs but were never displayed as tabs.

The UI didn't make sense when the whether the welcome message or
firmware flasher was displayed since there was no active tab or other
indication.
2015-01-25 17:37:47 +01:00
Dominic Clifton 994b04b0aa Add support for LED strip 'color' mode. 2015-01-25 16:22:57 +01:00