diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index bad6bbd9..8d009dd4 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -4,7 +4,7 @@ Please remember the issue tracker on github is _not_ for user support. Please a Issues created without steps to repeat are likely to be closed. E-mail requests for support will go un-answered; All support needs to be public so that other people can read the problems and solutions. -Remember that issues that are due to mis-configuration, wiring or failure to read documentation just takes time away from the developers and can often be solved without developer interaction by other users. +Remember that issues that are due to misconfiguration, wiring or failure to read documentation just takes time away from the developers and can often be solved without developer interaction by other users. Please search for existing issues *before* creating new ones. diff --git a/README.md b/README.md index 1998afa7..39d8b724 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Changes to the security model used in the latest versions of MacOS X 10.14 (Moja ### Unstable Testing Versions -Unstable testing versions of the lates builds of the Betaflight Blackbox Explorer for most platforms can be downloaded from [here](https://github.com/betaflight/blackbox-log-viewer-nightlies/releases). +Unstable testing versions of the latest builds of the Betaflight Blackbox Explorer for most platforms can be downloaded from [here](https://github.com/betaflight/blackbox-log-viewer-nightlies/releases). **Be aware that these versions are intended for testing / feedback only, and may be buggy or broken.** @@ -116,8 +116,8 @@ yarn start #### Build or release app for one specific platform -To build or release only for one specific platform you can append the plaform after the `task-name`. -If no platform is provided, only for the platform you are builing from will be build. +To build or release only for one specific platform you can append the platform after the `task-name`. +If no platform is provided, only for the platform you are building from will be build. * **MacOS X** use `yarn gulp --osx64` * **Linux** use `yarn gulp --linux64` @@ -128,7 +128,7 @@ If no platform is provided, only for the platform you are builing from will be b #### macOS DMG installation background image The release distribution for macOS uses a DMG file to install the application. -The PSD source for the DMG backgound image can be found in the root (`dmg-background.png`). After changing the source, export the image to PNG format in folder `./images/`. +The PSD source for the DMG background image can be found in the root (`dmg-background.png`). After changing the source, export the image to PNG format in folder `./images/`. ## Flight video won't load, or jumpy flight video upon export diff --git a/changelog.html b/changelog.html index 2e8ce260..166fcabd 100644 --- a/changelog.html +++ b/changelog.html @@ -310,7 +310,7 @@

2.5.0 - Grids, INAV Header Support and Stick Trails.

  • Gyro chart range increased to +/-2000deg/s was a minor calculation error that limited the gyro chart to approx +/-1500deg/s
  • Header update for Betaflight v3.0; added fields gyro_notch_hz, gyro_notch_q, rc_smooth_interval and "Craft name"
  • Craft Name is now shown on status bar (if entered in CLI) and also at top of header dialog (Betaflight v3.0 only).
  • -
  • PID Contoller type names on header updated for Betaflight v3.0.
  • +
  • PID Controller type names on header updated for Betaflight v3.0.
  • Stick Trails; This feature can be turned on from the User Settings dialog, will show a phosphor trail on the stick display that shows the movement of the sticks for the last 500ms.
  • Add tooltips to primary logger controls.
  • Thanks to BorisB, Added New Event names for Betaflight Twitch Testing mode.
  • diff --git a/css/header_dialog.css b/css/header_dialog.css index 7b70e9b9..cdf3d1fc 100644 --- a/css/header_dialog.css +++ b/css/header_dialog.css @@ -1,4 +1,4 @@ -/* Colums START> */ +/* Columns START> */ .cf_column { min-height: 18px; margin-bottom: 0; diff --git a/index.html b/index.html index 32cc44cf..da0bb93a 100644 --- a/index.html +++ b/index.html @@ -938,7 +938,7 @@ - + diff --git a/js/cache.js b/js/cache.js index 7d2f3a37..c0df7923 100644 --- a/js/cache.js +++ b/js/cache.js @@ -1,7 +1,7 @@ "use strict"; /** - * A FIFO cache to hold key-pair mappings. Its capacity will be at least the intialCapacity + * A FIFO cache to hold key-pair mappings. Its capacity will be at least the initialCapacity * supplied on creation, which you can increase by increasing the "capacity" property. * * One extra element beyond the set capacity will be stored which can be fetched by calling "recycle()". diff --git a/js/datastream.js b/js/datastream.js index a24011d8..ac978eb2 100644 --- a/js/datastream.js +++ b/js/datastream.js @@ -145,7 +145,7 @@ var ArrayDataStream; /** * Search for the string 'needle' beginning from the current stream position up - * to the end position. Return the offset of the first occurance found. + * to the end position. Return the offset of the first occurrence found. * * @param needle * String to search for diff --git a/js/flightlog_parser.js b/js/flightlog_parser.js index 9cbc8c2e..e4e925f8 100644 --- a/js/flightlog_parser.js +++ b/js/flightlog_parser.js @@ -200,7 +200,7 @@ var FlightLogParser = function(logData) { // be an older name which is translated into a current name in the table below defaultSysConfigExtension = { - abs_control_gain:null, // Aboslute control gain + abs_control_gain:null, // Absolute control gain anti_gravity_gain:null, // Anti gravity gain anti_gravity_mode:null, // Anti gravity mode anti_gravity_threshold:null, // Anti gravity threshold for step mode @@ -273,7 +273,7 @@ var FlightLogParser = function(logData) { rc_smoothing_active_cutoffs:[null,null],// RC Smoothing active cutoffs rc_smoothing_cutoffs:[null, null], // RC Smoothing input and derivative cutoff rc_smoothing_filter_type:[null,null], // RC Smoothing input and derivative type - rc_smoothing_rx_average:null, // RC Smoothing rx average readed in ms + rc_smoothing_rx_average:null, // RC Smoothing rx average read in ms rc_smoothing_debug_axis:null, // Axis recorded in the debug mode of rc_smoothing dterm_filter_type:null, // D term filtering type (PT1, BIQUAD, PT2, PT3) dterm_filter2_type:null, // D term 2 filtering type (PT1, BIQUAD, PT2, PT3) diff --git a/js/graph_config_dialog.js b/js/graph_config_dialog.js index 7a3c89bd..e76c14e6 100644 --- a/js/graph_config_dialog.js +++ b/js/graph_config_dialog.js @@ -134,7 +134,7 @@ function GraphConfigurationDialog(dialog, onSave) { $('select.color-picker', elem).replaceWith(chooseColor(color)); - // Ade event when selection changed to retreive the current smoothing settings. + // Add event when selection changed to retrieve the current smoothing settings. $('select.form-control', elem).change( function() { var selectedField = { name: $('select.form-control option:selected', elem).val() @@ -314,7 +314,7 @@ function GraphConfigurationDialog(dialog, onSave) { name: $("select", this).val(), smoothing: parseInt($("input[name=smoothing]", this).val())*100, // Value 0-100% = 0-10000uS (higher values are more smooth, 30% is typical) curve: { - power: parseInt($("input[name=power]", this).val())/100.0, // Value 0-100% = 0-1.0 (lower values exagerate center values - expo) + power: parseInt($("input[name=power]", this).val())/100.0, // Value 0-100% = 0-1.0 (lower values exaggerate center values - expo) outputRange: parseInt($("input[name=scale]", this).val())/100.0 // Value 0-100% = 0-1.0 (higher values > 100% zoom in graph vertically) }, default: { // These are used to restore configuration if using mousewheel adjustments diff --git a/js/grapher.js b/js/grapher.js index 8ade00c2..e7415b9f 100644 --- a/js/grapher.js +++ b/js/grapher.js @@ -729,7 +729,7 @@ function FlightLogGrapher(flightLog, graphConfig, canvas, stickCanvas, craftCanv craft3D.resize(craftSize, craftSize); } - // Positon the craft canvas according to options + // Position the craft canvas according to options $(craftCanvas).css({ left:Math.max(((canvas.width * parseInt(options.craft.left) / 100.0) - (craftSize / 2)), 0) + "px", top: Math.max(((canvas.height * parseInt(options.craft.top) / 100.0) - (craftSize / 2)), 0) + "px", diff --git a/js/gui.js b/js/gui.js index 756a009f..a54a9b6c 100644 --- a/js/gui.js +++ b/js/gui.js @@ -11,7 +11,7 @@ var GUI_control = function () { // name = string // code = function reference (code to be executed) -// interval = time interval in miliseconds +// interval = time interval in milliseconds // first = true/false if code should be ran initially before next timer interval hits GUI_control.prototype.interval_add = function (name, code, interval, first) { var data = {'name': name, 'timer': null, 'code': code, 'interval': interval, 'fired': 0, 'paused': false}; @@ -113,7 +113,7 @@ GUI_control.prototype.interval_kill_all = function (keep_array) { // name = string // code = function reference (code to be executed) -// timeout = timeout in miliseconds +// timeout = timeout in milliseconds GUI_control.prototype.timeout_add = function (name, code, timeout) { var self = this; var data = {'name': name, 'timer': null, 'timeout': timeout}; @@ -147,7 +147,7 @@ GUI_control.prototype.timeout_remove = function (name) { return false; }; -// no input paremeters +// no input parameters // return = returns timers killed in last call GUI_control.prototype.timeout_kill_all = function () { var timers_killed = 0; diff --git a/js/header_dialog.js b/js/header_dialog.js index cb36fc9b..d4ebdfbe 100644 --- a/js/header_dialog.js +++ b/js/header_dialog.js @@ -317,7 +317,7 @@ function HeaderDialog(dialog, onSave) { {bit: 13, group: 'rxMode', mode: 'group', name: 'RX_PARALLEL_PWM', description: 'PWM receiver selected'}, {bit: 14, group: 'rxMode', mode: 'group', name: 'RX_MSP', description: 'Controller over MSP'}, {bit: 15, group: 'other', name: 'RSSI_ADC', description: 'ADC RSSI Monitoring'}, - {bit: 16, group: 'other', name: 'LED_STRIP', description: 'Addressible RGB LED strip support'}, + {bit: 16, group: 'other', name: 'LED_STRIP', description: 'Addressable RGB LED strip support'}, {bit: 17, group: 'other', name: 'DISPLAY', description: 'OLED Screen Display'}, {bit: 20, group: 'other', name: 'CHANNEL_FORWARDING', description: 'Forward aux channels to servo outputs'}, {bit: 21, group: 'other', name: 'TRANSPONDER', description: 'Race Transponder'}, diff --git a/js/main.js b/js/main.js index 17f86e7b..e6ca375d 100644 --- a/js/main.js +++ b/js/main.js @@ -688,7 +688,7 @@ function BlackboxLogViewer() { try { flightLog = new FlightLog(flightLogDataArray); } catch (err) { - alert("Sorry, an error occured while trying to open this log:\n\n" + err); + alert("Sorry, an error occurred while trying to open this log:\n\n" + err); return; } @@ -933,14 +933,14 @@ function BlackboxLogViewer() { } // Store to local cache and update Workspace Selector control - function onSwitchWorkspace(newWorkspaces, newAciveId) { - prefs.set('activeWorkspace', newAciveId); + function onSwitchWorkspace(newWorkspaces, newActiveId) { + prefs.set('activeWorkspace', newActiveId); prefs.set('workspaceGraphConfigs', newWorkspaces); workspaceSelection.setWorkspaces(newWorkspaces) - workspaceSelection.setActiveWorkspace(newAciveId) - if (flightLog && newWorkspaces[newAciveId] && newWorkspaces[newAciveId].graphConfig) { - newGraphConfig(newWorkspaces[newAciveId].graphConfig); - document.getElementById("legend_title").textContent = newWorkspaces[newAciveId].title + workspaceSelection.setActiveWorkspace(newActiveId) + if (flightLog && newWorkspaces[newActiveId] && newWorkspaces[newActiveId].graphConfig) { + newGraphConfig(newWorkspaces[newActiveId].graphConfig); + document.getElementById("legend_title").textContent = newWorkspaces[newActiveId].title } } @@ -1285,7 +1285,7 @@ function BlackboxLogViewer() { } }); - function expandGraphConfig(index) { // Put each of the fields into a seperate graph + function expandGraphConfig(index) { // Put each of the fields into a separate graph var expandedGraphConfig = []; @@ -1491,7 +1491,7 @@ function BlackboxLogViewer() { if(graph==null && field==null) return false; // no pen specified, just exit - if(graph!=null && field==null) { // save ALL pens withing group + if(graph!=null && field==null) { // save ALL pens within group for(var i=0; i