Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add SupaflyFPV graphconfigs as default preset (#734) * Remove changelog (#741) * Added setting of minimum and maximum curves values on the graphs. VITE Web version. (#726) * added minimum and maximum curves values * resolved issue: rewriting zero value input of min max values to charts config dialog panel * add: restore default min max values for curve by mouse click at clear input field on Chart setup dialog box * change action to restore default minmax values at double mouse click to enabled input field * tab symbols are changed to 4 space in file graph_config_dialog.js * added helper function to convert values units * added function FlightLogFieldPresenter.ConvertFieldValue() to convert parameters from log units to chart and back * added convertation values to chart setup dialog box * Convertation of MinMax values optimization. There were before: MinMax values are loaded and saved in logfile units. There are now: .... in friendly chart units * resolved issue: restore wrong default MinMax values when new curve is added (before save) * add use $('select.form-control option:selected', elem).val() as fields name when field.name is undefined only * deleted undesired trailing spaces * added: show context menu by right mouse click at minmax control elements in setup dialog box * at context menu are added functions to set all minmax to default and set all curves to one scale * added round of min max values to 1 digit in the output * added function SetSelectedCurveMinMaxToDefault to set selected curves min-max values to default * add using associative list instead of array to store curves data * added function FitSelectedCurveToOneScaleWithSecond to fit selected curve at one scale with second * add functions to place curves around zero axis * Labels of context menu are corrected * code style improvement * added getWindowCenterTime function to FlightLogGrapher * added function getMinMaxForFieldDuringTimeInterval to FlightLog * added reference to FlightLogGrapher in GraphConfigurationDialog * added function SetAllMinMaxValuesToFullRangeDuringWindowTime to use in menu * added menu action to set all curves min-max values to current local window range * added menu action to set minmax in window full range for selected curve * resolved issue: wrong context menu position by right mouse click. Screen mouse coords are changed to client coords * added charts redrawing after min-max control actions * added restore last curves setting when Cancel button pressed * added preventDefault call before show menu * bodies of menu handlers functions are replaced * resolved issue: wrong min-max for new selected curves. Definition of field name is changed * removed smoothing from min-max computing algoritm * Min-Max input fields are set read only as default * improve minmax compute function in flightLog * Code placement optimization * added: restore charts view after change when mouse click out of dialog panel * The enabled minmax checkbox is deleted from user interface * removed min-max enabled condition in graph module. Allways use min-max! * deleted readonly attribute for min-max input fields * added menu action to set all min-max to default * added menu action to set min-max one selected curve to default * resolved issue of computing min-max values while all range values have negative sign * resolved issue wrong min-max computing sometime * added menu actions: 'Fit all curves in zero ofset at global full range', 'Fit all curves in zero offset at window full range' * added menu action 'Apply this curves min-max to all curves' * added parseFloat in menu actions to transform string to digit * added menu item 'Apply this curves min-max to ...', without action till * added menu action 'Apply this curves min-max to ...' * optimized range of menu items * field names submenu changed to own menu with handlers ShowFieldsWithoutSelectedCheckboxedMenu * set checkbox type in fields name menu, added new items * added: set min-max from selected curve to curves group, that is selected by checkboxes menu * added menu action 'Apply this curves min-max to ...', without checkboxes till * resolved issue of curves count definition * removed zoom from charts config users interface, removed offset, inputRange, outputRanged from curves data * code style improvement * resolved outputRange issue, the zoom value is set to 100 * code style improvement * The menu action 'Fit this curve to one scale at:' changed to 'Fit selected curves to same scale ...'. The group selection is able by using checkboxes menu * When select 'Fit curves to same scale ...', current curve is checked by default in menu * changed lists size definition * changed lists size definition * added curves zoom action to context menu * removed unusing local variable * added caption to checkboxed menu * The new menu items order * added menu.css file * added div tags for menu items * added menu content and click handlers * added arrows special symbols into menu item * added: zoom is working * 'Selected to this one' menu action is ready * 'Selected to one scale' menu action is ready' * added: lock main menu when submenu is open * added: 'Back' menu items * resolved missing ; * Made: zoom setup from one menu, instead of two menu before * zoom menu improvement * add: block outer interface while menu is opened * improve: setting of true submenu positions * resolved issue of zoom computing * added: harder mouse events lock at dialog panel around the menu * improve setting of submenu vertical position * prevent of lock charts config dialog box after menu exit by Esc key * the structure of code is improved * added curves selection by centered menu action * added Shift key accelerator for group menu actions to fast all curves selection without submenu * Code style improvement: function declaration without var * added Save menu for next time working * zoom improvements: added two control buttons: 'zoom in', 'zoom out' * The curves zoom by mouse scroll is restored * the menu source codes are repalced to js/graph_minmax_setting_menu.js file * Apply default MinMax values for new openning logs * added checkboxed submenu into Save menu to select curves for save * added Save checkbox into curves table row at GraphConfig dialog box * The MinMax data are saved for next using if curves Save checkboxes is checked * resolved issue of workspace saving logic * added the left arrow symbol into submenu apply item, what close submenu * the menu1, menu2, menu3 variables changed to main_menu, sub_menu * changed the locking elements while menu is showed * added Esc keydown events handler * improved 'Selected to this one' menu action: it is posible to edit minmax values now * resolved issue of duplicate Save menu * added font style change while mouse click to menu item * Changed menu captions style * the menu item placement optimization: all auto range menu items placed into one submenu * added menu 'This full range' with submenu * The 'All full range' menu item improvement * added captions into main menu * added totalCount field into frames stat data * added method getCurrentLogRowsCount to flightLog.js * improved actual log rate computing * remove the logs maximal time limit * added menu item action 'centered one scale' into 'All full range'submenu * menu view style improvement * improve of computing min-max stat data in flightLog. The I and Prame is used now * Improve computing curves min-max values in charts setup dialog box. Added minmax computing function into flightLog and graphConfig * MinMax curves control menu is added into VITE WEB version * The Shift key action in the menu is reverted * The menu items order is changed * The single and group Zoom menu actions is improved * The single and group 'Full range' menu action are improved * added hidden span with right arrow into menu item which can have submenu * added Shift key event handler to show/hide the right arrow symbol in menu items * 'Save' table caption is renamed to 'Default' * the workspace minmax values save strategy is changed * 'This curves action' replaced into submenu * code style improvement: added menu helpers function * Zoom submenu is removed from 'This curve' submenu * added submenu for 'This curve'-'Full range' item while Shift key is pressed * The 'Apply' and 'Cancel' buttons are unlocked while minmax menu is open * Code style improvement: added special function UnlockUsersInterfaceAfterWorkOfMinMaxMenu * Is set Alt control key instead of Shift * added extended submenu for 'Default' action while Alt-key is pressed * added modules directive in code to use external function * resolved issue of keyboard event handlers the Esc and Alt keys * The integer digits are showed in MinMax menu * The Alt action menu modifer key is changed back to Shift. The Alt is has own action in browsers * Update src/graph_minmax_setting_menu.js Code style improvement Co-authored-by: Mark Haslinghuis <[email protected]> * resolved issue the empty string names for unfull DEBUG fields * Update src/flightlog.js Code style improvement Co-authored-by: Mark Haslinghuis <[email protected]> * Update src/flightlog.js Code style improvement Co-authored-by: Mark Haslinghuis <[email protected]> * Update src/flightlog.js Code style improvement Co-authored-by: Mark Haslinghuis <[email protected]> * Update src/flightlog.js Code style improvement Co-authored-by: Mark Haslinghuis <[email protected]> * the autocompetion is off in min-max input fields * Return or top level Back menu items are designed like button * added helper function for the menu control * menu button style improved * The Cancel button at chart setup dialog box has focus after openning this window * Revert "the autocompetion is off in min-max input fields" This reverts commit 269f1d5. * Improvement: The changes of current workspace can store by Shift+S key * The Shift-S key actions information is added to Help dialog box * table column caption is renamed to 'Keep' instead of 'default' * resolved issue of unworked 'As this one' extended submenu * The 'Keep' checkbox is checked by default for new curves * Extended group full range submenu is improve * Extended one curve full range submenu is improved * enabled multiple actions in 'Set zero offset' and 'Set same scale' extended submenu * the curves expo power is set to 1 as default * added function in graph to get marked in-out time * added function to compute min-max curves values during marked time interval * added action to extended full range submenu items to set minmax for marked time interval * resolved issue in extended 'Set one scale' menu item action * resolved issue minmax compute in marked range * the grid field is removed from curves data * The main menu items actions auto close main menu * The 'Return' menu item is renamed to 'Close' * The 'Keep' checkbox setting is removed * min-max input fields style improvement * resolved issue of data storage * The charts are updated after manual changes of min-max input fields * The all extended submenu are multy actions * The unused menu functions are removed from source code * The 'Default' menu actions set as default MinMax so the default Expo and Smoothing too * Use event data for single curves menu actions * The Workspaces file example is added into project * The 'Close' main menu item active allways * The short main menu has auto closed items * workspaces-ctzsnooze.json is default workspace * docs: update README.md for pwa flow (#731) * docs: update README.md for pwa flow * Update README.md * Update README.md --------- Co-authored-by: Mark Haslinghuis <[email protected]> * Bump ejs from 3.1.9 to 3.1.10 (#738) Bumps [ejs](https://github.com/mde/ejs) from 3.1.9 to 3.1.10. - [Release notes](https://github.com/mde/ejs/releases) - [Commits](mde/ejs@v3.1.9...v3.1.10) --- updated-dependencies: - dependency-name: ejs dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * The mouse click at curves on the legend works like toggle button (make the analyser chart as visible/unvisible) * Remove changelog (#741) * added charts preview after any charts configuration changes * Charts redrawing is optimized * PIDsumm computing condition is improved * the menu items order is changed * resolved issue selected curves Zoom menu actions * Update src/graph_legend.js Code style improvement Co-authored-by: Mark Haslinghuis <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Mark Haslinghuis <[email protected]> Co-authored-by: Tomas Chmelevskij <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Míguel Ángel Mulero Martínez <[email protected]> * Add nightly PWA link to the README (#742) * Fix current version text in the Blackbox Explorer (#746) * Associate .bbl and .bfl files with PWA (#749) * Auto fill of curves table by selecting group curves names on Chart setup dialog box (#747) * added group fields name extender function in graph_config.js * The group curves selection is self extended in charts setup dialog box * Code style improvement * added curves auto color after extend of curves group * added group fields auto fill after charts samples selection * code style improvement * the code is simplified * Update graph_config.js Resolve code style issue * Update graph_config.js Resolved semicolon issue * Update graph_config.js Removed unusing variable * Update graph_config.js Resolved code style issue * Update graph_config_dialog.js Resolved semicoma missing * Update main.js Code style improvement * Code style improvement: the for loops are changed to for of * Code style improvement * Code style improvement * resolved issue of wrong curves color draw on Chart setup dialog box * Improve curves collor assign * Resolved code issue * Restore various default workspaces by using menu (#745) * added menu (showed by Shift+W keys) to select and restore default workspaces * Code style improvement Co-authored-by: Mark Haslinghuis <[email protected]> * Code style improvement Co-authored-by: Mark Haslinghuis <[email protected]> * Code style improvement Co-authored-by: Mark Haslinghuis <[email protected]> --------- Co-authored-by: Mark Haslinghuis <[email protected]> * add dyn_idle_start_increase parameter to header view (#750) * Fix error by loading default workspace, addition to #751 (#752) * removed unused files * Default workspace function call order is changed * Fixed issues of first applications run (#753) * resolved issue of load default workspace configuration * The onSwitchWorkspace function call optimization * Resolved issue: GraphConfig load error by first programm run * resolved error of loading undefined stored graph config data by first program run * Code style improvement * resolved issue of wrong curves colors by first application run * The SonarCloud issue improvement * The SonarCloud issue improvement * Resolved issue of color assign for combined (Gyro+PID) samples graphs * Code refactoring in main.js (#754) * code fragment duplicate issue resolved * code style improvement * Resolved issue of log records count and actual log rate computing (#755) * improve field statistic and log rows count calculate * SonarCloud issue improvement * code style improvement * Bump braces from 3.0.2 to 3.0.3 (#756) Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3. - [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md) - [Commits](micromatch/braces@3.0.2...3.0.3) --- updated-dependencies: - dependency-name: braces dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Chore/formatting setup (#735) * chore: add eslint, prettier and lint staged configs * chore: run eslint:fix * chore: run prettier * Update FFT_FREQ debug fields (#759) * Update FFT_FREQ debug fields * Update presentation * Reset * Recover * support rc_smoothing_rx_smoothed (#761) * rc_smoothing_rx_smoothed - WIP (this fills the existing field, but not techincally correct) * rc_smoothing_rx_smoothed - working, but is it proper? * rc_smoothing_rx_smoothed - this should be proper. caveat: fails to reset value null when 4.5 pre 4.5-RC1 * rc_smoothing_rx_smoothed - revert html id's * rc_smoothing_rx_smoothed - fix id * Filtering out bad RPM values for spectrum chart (#757) * The bad rpm values filtering by plot spectrum chart improvement. The chunks rpm averages min-max values are used now by spectrum plot * code style improvement * added gap to maximal rpm axis value at spectrum chart * code style improvement * Resolve issue of computing actual log rate for spectrum chart in case of data gaps in log file (#762) * added compute of unlogged time by handling log resumd events * added getActualLoggedTime function in FlightLog * improve getMinTime, getMaxTime functions in FlightLog * Improved actual log rate computing in spectrum chart * code style improvement * code style improvement * Add mcu_id to statusbar (#763) * Bug fix for flight modes names at the chart (#764) * The checked flight mode index is limited by 31 value to prevent show of wrong 'mirror' modes at the charts * removed tittle 'Flight mode change' to get shorter flight modes description * missed semicolon issue is resolved * Resolved issue of wrong log time computing (#765) resolved issue of getTimes flightLog methods in case of call with log index argument * Bump micromatch from 4.0.5 to 4.0.8 (#769) Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.5 to 4.0.8. - [Release notes](https://github.com/micromatch/micromatch/releases) - [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md) - [Commits](micromatch/micromatch@4.0.5...4.0.8) --- updated-dependencies: - dependency-name: micromatch dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Added ALTHOLD flight mode marker at the chart for 4.6 BF firmware (#767) * added ALTHOLD flight mode for 4.6 BF firmware * code style improvement * Bump vite from 5.2.6 to 5.2.14 (#772) Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.2.6 to 5.2.14. - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/v5.2.14/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v5.2.14/packages/vite) --- updated-dependencies: - dependency-name: vite dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Added cartesian gps coords relative home point as additional computed fields (#773) * added gps coords transform module gps_transform.js * Added computed fields for coords in cartesian system * added coords values at curves legend * The home distance id added as computed field * added friendly names for gps cartesian coords * added using of gps home points altitude if it exists in log file * gps coord names are changed * Added example graphs for GPS Cartesian coords data * code issues are resolved * code issues are resolved * code issues are resolved * code style improvement * Field name is improved Co-authored-by: Mark Haslinghuis <[email protected]> * Code style improvement Co-authored-by: Mark Haslinghuis <[email protected]> * Code style improvement Co-authored-by: Mark Haslinghuis <[email protected]> * Code style improvement Co-authored-by: Mark Haslinghuis <[email protected]> * Code style improvement Co-authored-by: Mark Haslinghuis <[email protected]> * Code style improvement Co-authored-by: Mark Haslinghuis <[email protected]> * Update gps_transform.js * Code style improvement * Code style improvement * Code style improvement --------- Co-authored-by: Mark Haslinghuis <[email protected]> * The azimuth of Home point added as computed field (#774) * added homes point azimuth computed field * added friendly name for homes point azimuth field * added default min max values for homes point azimuth field * homes point azimuth field is added to example graph * Comment is edited Co-authored-by: Mark Haslinghuis <[email protected]> --------- Co-authored-by: Mark Haslinghuis <[email protected]> * rename d_min related values (#775) * rename d_min related values * add semver checks * Fix export video (#777) * Add browser check (#778) * Export of spectrum analyzer data to Csv file (#779) * The 'Convert to Csv' button is added at the spectrum analyzer chart * The spectrum export Worker is added * The spectrum exporter is added * The exportSpectrumToCSV method is added into graph_spectrum * The action handler is addedto spectrum export button * The spectrum export button is enabled for spectrum by frequency only * The 4 spaces tabs are replaced to 2 space tab * unused library link is removed * Code issues are resolved * Code issues are resolved * Code style improvement * The export buttons tooltip text is changed Co-authored-by: Mark Haslinghuis <[email protected]> * Code style improvement Co-authored-by: Mark Haslinghuis <[email protected]> * Code style improvement Co-authored-by: Mark Haslinghuis <[email protected]> * Code style improvement * Update index.html --------- Co-authored-by: Mark Haslinghuis <[email protected]> * Added spectrum comparison by using import spectrum data from CSV file (#780) * Added 'Import from CSW' button at the spectrum analizer chart * Added importSpectrumFromCSV method to FlightLogAnalyser * Added drawing imported spectrum data * Added events handler for spectrum import button * missing semicoma issue is resolved * The buttons caption is changed Co-authored-by: Mark Haslinghuis <[email protected]> * the imported spectrum curves color is changed to blue --------- Co-authored-by: Mark Haslinghuis <[email protected]> * The multi-file spectrum comparison (#782) * Multiple spectrums file adding and curves showing are made * The clearImportedSpectrums method is added * The spectrum comparison Users interface improvement * Added 'Clear' button to remove imported cpectrums * Spectrum comparison users interface is visile in spectrum by frequency mode only * Spectrum comparison buttons style is improved * missing semicoma issue is resolved * Deprecate gps-rescue-throttle-pid and replace with autopilot-altitude (#784) Change gps-rescue-throttle-pid to ap-altitude * Remove gyro_scaled (#781) * Added curves legend at multi-curves spectrum (#786) * added legend at multi-spectrum chart * The buttons are placed in one row * Changed buttons height * resolved issue of wrong legend drawing code placement * Code style improvement Co-authored-by: Mark Haslinghuis <[email protected]> --------- Co-authored-by: Mark Haslinghuis <[email protected]> * Resolved issue of compas (mag_adc[]) curves (#787) * Added value converter for magADC (Compas) fields * Field name to friendly transformers return raw source data for unknown fields * Update ATTITUDE debug (#791) * Fix panning (#793) * Fix panning (2nd issue) (#794) Fix panning * Bump cross-spawn from 7.0.3 to 7.0.6 (#795) Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6. - [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md) - [Commits](moxystudio/node-cross-spawn@v7.0.3...v7.0.6) --- updated-dependencies: - dependency-name: cross-spawn dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Added curves settings for axis_s log fields (for airplanes) (#789) added curves settings for axis_s log fields (for airplanes) * Added computing of heading[] fields from new flight attitude quatrernion log data (#790) * added computing of heading[] fields from new flight attitude quatrernion fields instead of internal IMU * removed unused variable * resolved quaternion issue * improve quaternion operation * code style improvement: tab to space replacement * Code style improvement Co-authored-by: Mark Haslinghuis <[email protected]> * Code style improvement Co-authored-by: Mark Haslinghuis <[email protected]> --------- Co-authored-by: Mark Haslinghuis <[email protected]> * Add missing debug modes (#796) * Add missing debug modes * Also update TPA * Resolved issues of show motor_idle and motors Start inc header fields for BF 4.6 log files (#797) * resolved issue of show motor_idle header field for BF 4.6 * resolved issue of Start inc header field for BF 4.6 * Added ATTITUDE log disabled flag for BF gte 4.6 (#799) * Added ATTITUDE log disabled flag for BF gte 4.6 * The ATTITUDE log disabled flag code refactoring * Code style improvement Co-authored-by: nerdCopter <[email protected]> --------- Co-authored-by: nerdCopter <[email protected]> * Added POSITION HOLD flight mode show (#788) added POSITION HOLD modes * Add SERVO disable field (#800) * Bump nanoid from 3.3.7 to 3.3.8 (#801) Bumps [nanoid](https://github.com/ai/nanoid) from 3.3.7 to 3.3.8. - [Release notes](https://github.com/ai/nanoid/releases) - [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md) - [Commits](ai/nanoid@3.3.7...3.3.8) --- updated-dependencies: - dependency-name: nanoid dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add AUTOPILOT_POSITION and OPTICALFLOW debug modes (#803) * The DEBUG modes list is updated. The OPTICALFLOW, AUTOPILOT_POSITION debugs are added * added converters for OPTICALFLOW debug * added converters for AUTOPILOT_POSITION debug * Update IMU (remove legacy) (#802) Update IMU * Fix type error (#806) * Add IMM42653 (#807) * Bump vite from 5.2.14 to 5.4.12 (#809) Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.2.14 to 5.4.12. - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/v5.4.12/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v5.4.12/packages/vite) --- updated-dependencies: - dependency-name: vite dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * The units converters are added for TPA (WING) debug fields (#808) The units convertors are added for TPA debug fields * Added chirp parameters to header (#658) Adjustments due to file location change * Fix undefined video export dialog (#810) --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Tomas Chmelevskij <[email protected]> Co-authored-by: Míguel Ángel Mulero Martínez <[email protected]> Co-authored-by: Vladimir Demidov <[email protected]> Co-authored-by: Mark Haslinghuis <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: nerdCopter <[email protected]> Co-authored-by: MikeNomatter <[email protected]> Co-authored-by: pichim <[email protected]>
- Loading branch information