API reference

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.

Constructors

RANSACVelocity ( samplesCount , samplesDeadZone , minHighConfidenceSamples )
Signature
RANSACVelocity(int samplesCount=10, int samplesDeadZone=2, int minHighConfidenceSamples=2)
Parameters
samplesCount: int
samplesDeadZone: int
minHighConfidenceSamples: int
RANSACVelocity ( samplesCount , samplesDeadZone )
Signature
RANSACVelocity(int samplesCount=10, int samplesDeadZone=2)
Parameters
samplesCount: int
samplesDeadZone: int

Properties

MaxSyntheticSpeed : float
[Get][Set]
Maximum speed (in m/s) allowed for synthetic poses.
Signature
float MaxSyntheticSpeed

Protected Methods

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

Methods

GetVelocities ( velocity , torque )
Signature
void GetVelocities(out Vector3 velocity, out Vector3 torque)
Parameters
velocity: out Vector3
torque: out Vector3
Returns
void
Initialize ()
Signature
void Initialize()
Returns
void
Process ( pose , time , isHighConfidence )
Signature
void Process(Pose pose, float time, bool isHighConfidence=true)
Parameters
pose: Pose
time: float
isHighConfidence: bool
Returns
void

Protected Static Methods

GetTorque ( older , younger )
Signature
static Vector3 GetTorque(TimedPose older, TimedPose younger)
Parameters
older: TimedPose
younger: TimedPose
Returns
Vector3

Inner Struct

TimedPose Struct

Constructors

TimedPose ( time , pose )
Signature
TimedPose(float time, Pose pose)
Parameters
time: float
pose: Pose

Fields

pose : Pose
Signature
Pose pose
time : float
Signature
float time