Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR for app release #812

Merged
merged 57 commits into from
Feb 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
d95ab71
Add SupaflyFPV graphconfigs as default preset (#734)
chmelevskij May 3, 2024
b979ccb
Remove changelog (#741)
McGiverGim May 5, 2024
c320de6
Added setting of minimum and maximum curves values on the graphs. VIT…
demvlad May 9, 2024
8ab3213
Add nightly PWA link to the README (#742)
McGiverGim May 10, 2024
56e0a57
Fix current version text in the Blackbox Explorer (#746)
McGiverGim May 22, 2024
60711ef
Associate .bbl and .bfl files with PWA (#749)
McGiverGim May 28, 2024
ac8355d
Auto fill of curves table by selecting group curves names on Chart se…
demvlad May 29, 2024
248003e
Restore various default workspaces by using menu (#745)
demvlad May 29, 2024
cb48fbb
add dyn_idle_start_increase parameter to header view (#750)
nerdCopter May 29, 2024
748638e
Fix error by loading default workspace, addition to #751 (#752)
demvlad May 30, 2024
5f28cd4
Fixed issues of first applications run (#753)
demvlad Jun 1, 2024
0e341d4
Code refactoring in main.js (#754)
demvlad Jun 3, 2024
07f5961
Resolved issue of log records count and actual log rate computing (#…
demvlad Jun 5, 2024
9b9926e
Bump braces from 3.0.2 to 3.0.3 (#756)
dependabot[bot] Jun 17, 2024
a01caf5
Chore/formatting setup (#735)
chmelevskij Jul 15, 2024
739f27f
Update FFT_FREQ debug fields (#759)
haslinghuis Jul 29, 2024
08cf069
support rc_smoothing_rx_smoothed (#761)
nerdCopter Aug 1, 2024
e568594
Filtering out bad RPM values for spectrum chart (#757)
demvlad Aug 5, 2024
f3e80b9
Resolve issue of computing actual log rate for spectrum chart in case…
demvlad Aug 7, 2024
0ce8ef7
Add mcu_id to statusbar (#763)
haslinghuis Aug 18, 2024
bb7b021
Bug fix for flight modes names at the chart (#764)
demvlad Aug 21, 2024
6fff6d8
Resolved issue of wrong log time computing (#765)
demvlad Aug 22, 2024
68b5b71
Bump micromatch from 4.0.5 to 4.0.8 (#769)
dependabot[bot] Sep 1, 2024
886b3f8
Added ALTHOLD flight mode marker at the chart for 4.6 BF firmware (#767)
demvlad Sep 4, 2024
f3b680b
Bump vite from 5.2.6 to 5.2.14 (#772)
dependabot[bot] Sep 18, 2024
62978cc
Added cartesian gps coords relative home point as additional compute…
demvlad Sep 28, 2024
97236d1
The azimuth of Home point added as computed field (#774)
demvlad Oct 5, 2024
380601b
rename d_min related values (#775)
mituritsyn Oct 13, 2024
c306bb5
Fix export video (#777)
haslinghuis Oct 17, 2024
ec62bca
Add browser check (#778)
haslinghuis Oct 17, 2024
3269938
Export of spectrum analyzer data to Csv file (#779)
demvlad Oct 22, 2024
576a7d7
Added spectrum comparison by using import spectrum data from CSV file…
demvlad Oct 24, 2024
d5bd7a7
The multi-file spectrum comparison (#782)
demvlad Oct 25, 2024
16bf517
Deprecate gps-rescue-throttle-pid and replace with autopilot-altitude…
haslinghuis Oct 25, 2024
d98cacf
Remove gyro_scaled (#781)
haslinghuis Oct 26, 2024
14f4621
Added curves legend at multi-curves spectrum (#786)
demvlad Nov 1, 2024
0020595
Resolved issue of compas (mag_adc[]) curves (#787)
demvlad Nov 1, 2024
d27ef30
Update ATTITUDE debug (#791)
haslinghuis Nov 14, 2024
0bea5fe
Fix panning (#793)
haslinghuis Nov 18, 2024
0d4de81
Fix panning (2nd issue) (#794)
haslinghuis Nov 19, 2024
8e9e411
Bump cross-spawn from 7.0.3 to 7.0.6 (#795)
dependabot[bot] Nov 20, 2024
65dbdc3
Added curves settings for axis_s log fields (for airplanes) (#789)
demvlad Nov 23, 2024
dfd3e4a
Added computing of heading[] fields from new flight attitude quatrern…
demvlad Nov 25, 2024
747b921
Add missing debug modes (#796)
haslinghuis Nov 26, 2024
0c54fca
Resolved issues of show motor_idle and motors Start inc header fields…
demvlad Nov 29, 2024
9e0bd27
Added ATTITUDE log disabled flag for BF gte 4.6 (#799)
demvlad Dec 6, 2024
0ddf6ca
Added POSITION HOLD flight mode show (#788)
demvlad Dec 8, 2024
82ddabb
Add SERVO disable field (#800)
haslinghuis Dec 9, 2024
f10ad5e
Bump nanoid from 3.3.7 to 3.3.8 (#801)
dependabot[bot] Dec 15, 2024
2769c28
Add AUTOPILOT_POSITION and OPTICALFLOW debug modes (#803)
demvlad Dec 23, 2024
20def91
Update IMU (remove legacy) (#802)
haslinghuis Jan 2, 2025
418662c
Fix type error (#806)
haslinghuis Jan 3, 2025
28858fc
Add IMM42653 (#807)
haslinghuis Jan 15, 2025
6bdfbc5
Bump vite from 5.2.14 to 5.4.12 (#809)
dependabot[bot] Jan 22, 2025
e4f043e
The units converters are added for TPA (WING) debug fields (#808)
demvlad Jan 22, 2025
5166d49
Added chirp parameters to header (#658)
pichim Jan 22, 2025
6ff3484
Fix undefined video export dialog (#810)
haslinghuis Jan 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
*.json
*.html
*.less
*.css
package.json
docusaurus.config.js
public/
src/vendor/
40 changes: 40 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
module.exports = {
parserOptions: {
ecmaVersion: 2020,
sourceType: 'module',
},
extends: ['eslint:recommended', 'prettier'],
root: true,
env: {
node: true,
jquery: true,
es2017: true,
browser: true,
webextensions: true,
},
rules: {
// TODO: currently a lot of these issues are marked as
// warnings because they are in the codebase already
// and I don't want to fix them all at once.
// Eventually, they should be fixed and the rules
// should be set to 'error' (default in preset).
'no-var': 'warn',
'no-unused-vars': 'warn',
'no-undef': 'warn',
'no-redeclare': 'warn',
'no-prototype-builtins': 'warn',
'no-empty': 'warn',
'no-inner-declarations': 'warn',
'no-fallthrough': 'warn',
'no-useless-escape': 'warn',
'no-constant-condition': 'warn',
'no-unreachable': 'warn',
'no-duplicate-case': 'warn',
'no-dupe-keys': 'warn',
'no-irregular-whitespace': 'warn',
'no-case-declarations': 'warn',
'prefer-template': 'warn',
'comma-dangle': ['warn', 'always-multiline'],
semi: ['error', 'always'],
},
};
7 changes: 7 additions & 0 deletions .lintstagedrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"**/*.{tsx,js}": [
"prettier --write --ignore-unknown",
"eslint --fix --ext .tsx,.js"
],
"**/*.{html,md,mdx,less,css,json}": ["prettier --write --ignore-unknown"]
}
36 changes: 36 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# node.js npm related

node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Configurator Build process
cache/
apps/
dist/
public/
src/vendor/
dist_cordova/
debug/
release/
testresults/
.eslintcache
cordova/bundle.keystore

# OSX
.DS_store

# artefacts for Visual Studio Code
/.vscode/

# NetBeans
nbproject/

# IntelliJ
.idea

# Eclipse
.project
.settings/
test-results-junit/
36 changes: 21 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,19 @@ Current blackbox explorer version is built as
Meaning it can work in both online and offline modes as regular desktop app
would.

### Web
### Latest stable version

1. Visit https://blackbox.betaflight.com/
2. Use the app
For the latest stable released version visit https://blackbox.betaflight.com/

### Standalone
### Unstable testing versions

1. Visit https://blackbox.betaflight.com/
2. Follow the procedure to install PWA on your platform. On MacOS chrome:
The latest master build is always available at https://master.dev.blackbox.betaflight.com/

**Be aware that these versions are intended for testing / feedback only, and may be buggy or broken. Caution is advised when using these versions.**

### Install the app to be used in offline mode

Follow the procedure to install PWA on your platform. For example on MacOS chrome:
![Url bar PWA install](screenshots/url-bar.webp)
![PWA install dialog](screenshots/pwa-install-dialog.webp)

Expand Down Expand Up @@ -64,7 +68,7 @@ performance.
### Node setup

We are using [nvm](https://github.com/nvm-sh/nvm) to manage the correct node
vesion, follow the install instruction there. After which from blackbox directory
vesion, follow the install instructions there. After which from blackbox directory
just run:

```bash
Expand All @@ -74,7 +78,7 @@ nvm use
### Yarn

For dependency management we are using [yarn](https://yarnpkg.com/), follow the
instruction there to install it.
instructions there to install it.

### Development mode

Expand All @@ -87,24 +91,26 @@ With `node` and `yarn` setup, to start developing run:
yarn start
```

This will start development server on http://localhost:5173/.
This will start development server and the Blackbox will be available on http://localhost:5173/.

## Installing Dev Build locally
### Installing development build locally

If you want to have latest and greatest version installed on your machine from
the tip of the repository:
1. First need to build the application:

First need to build the application:
```bash
yarn build
```
2. Start the application in `preview` mode
Then start the application in `preview` mode
```bash
yarn preview
```
3. Visit http://localhost:4173/
4. Follow the steps from [Standalone](#standalone)
Visit http://localhost:4173/ and follow the steps from [Install the app to be used in offline mode](#install-the-app-to-be-used-in-offline-mode)

## Common problems

## Flight video won't load, or jumpy flight video upon export
### Flight video won't load, or jumpy flight video upon export

Some flight video formats aren't supported by Chrome, so the viewer can't open
them. You can fix this by re-encoding your video using the free tool
Expand Down
Loading
Loading