API reference
API reference
Select your platform
No SDKs available
No versions available

RANSACVelocity Class

A helper class that uses and underlying RandomSampleConsensus to select the best pair of linear and angular velocities from a buffer of recent timed poses.

Member Functions

RANSACVelocity
( int samplesCount,
int samplesDeadZone,
int minHighConfidenceSamples )
void Initialize
( Pose pose,
float time )
void Process
( Pose pose,
float time,
bool isHighConfidence )
void GetVelocities
( out Vector3 velocity,
out Vector3 torque )

Protected Functions

virtual Vector3 PositionOffset
( Pose youngerPose,
Pose olderPose )
void GetSortedTimePoses
( int idx1,
int idx2,
out TimedPose older,
out TimedPose younger )

Object Data for protected-static-func

static Vector3 GetTorque
( TimedPose older,
TimedPose younger )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon