TF Functions

ROS.tf.angle — Method
angle(q1, q2)

Return the half angle between q1 and q2 geometry_msgs::Quaternions.

source
ROS.tf.canTransform — Method
canTransform(buffer, target_frame::String, target_time, source_frame::String, source_time, fixed_frame::String, timeout)

Test if a transform is possible.

source
ROS.tf.canTransform — Method
canTransform(buffer, target_frame::String, source_frame::String, time, timeout)

Test if a transform is possible.

source
ROS.tf.dot — Method
dot(q1, q2)

Return the dot product between q1 and q2 geometry_msgs::Quaternions.

source
ROS.tf.getAngle — Method
getAngle(quaternion)

Return the angle [0, 2π] of rotation represented by this quaternion.

source
ROS.tf.getAxis — Method
getAxis(quaternion)

Return the axis of the rotation represented by this geometry_msgs::Quaternion.

source
ROS.tf.inverse — Method
inverse(quaternion)

Return the inverse of this geometry_msgs::Quaternion.

source
ROS.tf.lookupTransform — Method
lookupTransform(buffer, target_frame::String, target_time, source_frame::String, source_time, fixed_frame::String, timeout)

Get the transform between two frames by frame ID assuming fixed frame.

source
ROS.tf.lookupTransform — Method
lookupTransform(buffer, target_frame::String, source_frame::String, time, timeout)

Get the transform between two frames by frame ID.

source
ROS.tf.normalize — Method
normalize(quaternion)

Normalize a geometry_msgs::Quaternion (useful after calculations).

source
ROS.tf.sendTransform — Method
sendTransform(static_broadcaster, transforms::Union{Array,Vector})

Send a TransformStamped message The stamped data structure includes frameid, and time, and parentid already.

source
ROS.tf.sendTransform — Method
sendTransform(static_broadcaster, transform)

Send a TransformStamped message The stamped data structure includes frameid, and time, and parentid already.

source
ROS.tf.sendTransform — Method
function sendTransform(broadcaster, transforms::Union{Array,Vector})

Send a TransformStamped message The stamped data structure includes frameid, and time, and parentid already.

source
ROS.tf.sendTransform — Method
sendTransform(broadcaster, transform)

Send a TransformStamped message The stamped data structure includes frameid, and time, and parentid already.

source
ROS.tf.setEuler — Method
setEuler(yaw::Number, pitch::Number, roll::Number)

Euler angles (yaw/pitch/roll) to geometry_msgs::Quaternion.

source
ROS.tf.setRPY — Method
setRPY(roll::Number, pitch::Number, yaw::Number)

Roll,Pitch,Yaw to geometry_msgs::Quaternion.

source
ROS.tf.setRotation — Method
setRotation(quaternion, axis::Union{Array,Vector}, angle::Number)

Set the rotation using axis angle notation.

source
ROS.tf.slerp — Method
slerp(q1, q2, t::Number)

Return the geometrymsgs::Quaternion which is the result of Spherical Linear Interpolation between q1 and q2 geometrymsgs::Quaternions.

source
ROS.tf.transform — Method
transform(buffer, in, target_frame::String, timeout)

Transform an input into the target frame.

source
ROS.tf.transform — Method
transform(buffer, in, target_frame::String, target_time, fixed_frame::String, timeout)

Transform an input into the target frame.

source