C# Class tf.net.TimeCache

Datei anzeigen Open project: uml-robotics/ROS.NET Class Usage Examples

Public Methods

Method Description
TimeCache ( ) : System
TimeCache ( ulong max_storage_time ) : System
clearList ( ) : void
getData ( TimeData time_, TransformStorage &data_out, string &error_str ) : bool
getData ( ulong time_, TransformStorage &data_out, string &error_str ) : bool
getLatestTimeAndParent ( ) : TimeAndFrameID
getLatestTimeStamp ( ) : ulong
getListLength ( ) : uint
getOldestTimestamp ( ) : ulong
getParent ( TimeData time_, string &error_str ) : uint
getParent ( ulong time, string &error_str ) : uint
insertData ( TransformStorage new_data ) : bool
toLong ( TimeData td ) : ulong

Private Methods

Method Description
createEmptyException ( string &error_str ) : void
createExtrapolationException1 ( ulong t0, ulong t1, string &error_str ) : void
createExtrapolationException2 ( ulong t0, ulong t1, string &error_str ) : void
createExtrapolationException3 ( ulong t0, ulong t1, string &error_str ) : void
findClosest ( TransformStorage &one, TransformStorage &two, ulong target_time, string &error_str ) : byte
interpolate ( TransformStorage one, TransformStorage two, ulong time, TransformStorage &output ) : void
pruneList ( ) : void
slerp ( emQuaternion q1, emQuaternion q2, double rt ) : emQuaternion

Method Details

TimeCache() public method

public TimeCache ( ) : System
return System

TimeCache() public method

public TimeCache ( ulong max_storage_time ) : System
max_storage_time ulong
return System

clearList() public method

public clearList ( ) : void
return void

getData() public method

public getData ( TimeData time_, TransformStorage &data_out, string &error_str ) : bool
time_ Messages.TimeData
data_out TransformStorage
error_str string
return bool

getData() public method

public getData ( ulong time_, TransformStorage &data_out, string &error_str ) : bool
time_ ulong
data_out TransformStorage
error_str string
return bool

getLatestTimeAndParent() public method

public getLatestTimeAndParent ( ) : TimeAndFrameID
return TimeAndFrameID

getLatestTimeStamp() public method

public getLatestTimeStamp ( ) : ulong
return ulong

getListLength() public method

public getListLength ( ) : uint
return uint

getOldestTimestamp() public method

public getOldestTimestamp ( ) : ulong
return ulong

getParent() public method

public getParent ( TimeData time_, string &error_str ) : uint
time_ Messages.TimeData
error_str string
return uint

getParent() public method

public getParent ( ulong time, string &error_str ) : uint
time ulong
error_str string
return uint

insertData() public method

public insertData ( TransformStorage new_data ) : bool
new_data TransformStorage
return bool

toLong() public static method

public static toLong ( TimeData td ) : ulong
td Messages.TimeData
return ulong