Drake
 All Classes Files Functions Variables
DesiredQuatDiff Class Reference

Given a quaternion quat, and the desired quaternion quat_des, compute the geodesic distance between those two quaternions as 2(quat'*quat_des)^2-1. More...

Inheritance diagram for DesiredQuatDiff:
Collaboration diagram for DesiredQuatDiff:

Public Member Functions

function DesiredQuatDiff (quat_des)
 
function eval (obj, quat)
 computes the geodesic distance between quaternion quat and desired quaternion obj.quat_des as distance = 2(quat'*obj.quat_des)^2-1 More...
 

Protected Attributes

Property quat_des
 

Detailed Description

Given a quaternion quat, and the desired quaternion quat_des, compute the geodesic distance between those two quaternions as 2(quat'*quat_des)^2-1.

Constructor & Destructor Documentation

function DesiredQuatDiff ( quat_des  )
Return values
obj

Member Function Documentation

function eval ( obj  ,
quat   
)

computes the geodesic distance between quaternion quat and desired quaternion obj.quat_des as distance = 2(quat'*obj.quat_des)^2-1

Return values
distance
ddistance

Member Data Documentation

Property quat_des
protected

The documentation for this class was generated from the following file: