-
-
Notifications
You must be signed in to change notification settings - Fork 147
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
Seekbar more metrics #635
Seekbar more metrics #635
Conversation
This comment has been minimized.
This comment has been minimized.
AUTOMERGE: (FAIL)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix lexical scoping and code smells
More code smells to solve 😋 |
Now it seems to be accepted by SonarCloud. |
We have squash and merge, so all good. |
This comment has been minimized.
This comment has been minimized.
the default window size at launch always pushes this off-view for me. thinking the entire bar needs some auto-flow/sizing work :( thoughts @haslinghuis ?? |
I want to put it into the seekbar like it's done in the spectrum analyzer. But I need to get a grasp of how the canvases work before -> can we leave it as is for now and I change it to something better in another PR next week (I'm on vacation right now)? |
(like its done in the spectrum plots)
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Do you want to test this code? Here you have an automated build: |
@@ -314,6 +315,36 @@ function BlackboxLogViewer() { | |||
} | |||
} | |||
|
|||
function renderSeekBarPicker(){ | |||
var |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Slipped through Sonarcloud bot :)
This allows showing different metrics in the searchbar for spotting spots of interrest in longer logs easier.
The dropdown to select those is right beside the workspace selection. The chosen mode will survive picking a different log from a file but will get reset to average throttle when loading a new file.
The following modes have been implemented (so far)
Average motor throttle: this is the old behavior
maximum Stick input: highest absolute value of (roll/pitch/yaw) (find snap-moves)
maximum Motor differential: difference of highest and lowest motor output (find fast moves/desyncs - thanks to Zoggbarr for the suggestion)
ref: #634