Jump to content
Happy Holidays! Limited Staff Responses: 1/20 - 1/31 ×

Distance between two trackers


steve69
 Share

Recommended Posts

Hi there,

would like to measure the distance between two trackers.
Place two trackers on the floor at a distance of X cm from each other.

In Unity (SteamVR + ViveInputUtility) I use the function
1. Vector3.Distance (Tracker1.position, Tracker2.position)
    Distance -> Result
    1m -> 4,250
    0.5m -> 3,904
    0.25m -> 3.748


2. Vector3.Distance (Tracker.position.z, Tracker.position.z)
    Distance -> Result
    1m -> 3.44
    0.5m -> 3.04
    0.25m -> 2.84

What do these numbers tell me now?
I don't understand that!

I am currently using a configuration without HMD.
Do I have to calibrate the system somehow (room measurement) so that I get meaningful values?

Strangely enough, the trackers are very far below my floor. Funny too!

Thank you
Stephan

 

@chengnay

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...