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

Trackable velocity #5

Open
2 of 8 tasks
samsartor opened this issue Oct 21, 2017 · 1 comment
Open
2 of 8 tasks

Trackable velocity #5

samsartor opened this issue Oct 21, 2017 · 1 comment

Comments

@samsartor
Copy link
Member

samsartor commented Oct 21, 2017

Trackable objects need velocity data. Both linear and rotational. ViveController currently has a pose_delta, but that isn't very helpful for physics and momentum and stuff. There should be a way to get the tracked object's instantaneous velocity.

The length of the linear vector is speed (m/s).
The direction of the linear vector is direction of movement.
The length of the angular vector is speed (radians/s).
The direction of the angular vector is the axis of spin.

  • Linear velocity (Vector3<f32>) on all Trackables
    • HmdMoment
    • ControllerMoment
    • MappedController
  • Angular velocity (Vector3<f32>) on all Trackables
    • HmdMoment
    • ControllerMoment
    • MappedController
@samsartor
Copy link
Member Author

Simple implementation from 7bdf668

Moment velocities might require #3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant