Home Community Blog Buy Now

Misty Community Forum

TimeofFlightSensor Front Not showing value in Command Center

Is this been fixed yet ? mine still not showing any value

And for the tutorial Misty Docs | Code Samples

I tried with event trigger when below or equal to 2 meter but it does not trigger the event when I am standing in front of misty

// Register for TimeOfFlight data and add property tests

misty.AddPropertyTest("FrontTOF", "type", "==", "Range", "string");

misty.AddPropertyTest("FrontTOF", "DistanceInMeters", "<=", 2.0, "double");

misty.RegisterEvent("FrontTOF", "TimeOfFlight", 250);