-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add pitch smoothing #98
Conversation
b6a4ef3
to
b5b70ac
Compare
Waiting for hltas update. I think it is okay if it just works for global smoothing but not individual hovered segment. |
let yaw = yaw.to_degrees(); | ||
write!(&mut line, " {yaw}").unwrap(); | ||
} | ||
|
||
let op = Operation::Insert { line_idx: 0, line }; | ||
self.apply_operation(op)?; | ||
|
||
let mut line = "pitch_override".to_string(); |
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.
If the pitch was constant then it probably doesn't need to be smoothed? Also do you generally want to smooth both at once?
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.
I am not sure how I would change existing functions to stop working for stream of constant pitch. It just seems a lot easier to mirror it and just works. I see what you mean about second point where someone might just want to smooth the yaw. However, they can delete it easily. Also, adding another option to smooth pitch might be inconvenient as if soneone wants smoothing, just smooth it.
If anything can merge #101 before merging this. |
090b8c2
to
15fbcc1
Compare
Rebased. I tested with one long TAS run I have and there's no problems. |
Thanks for testing. |
No description provided.