ompl::base::SO3StateSpace::StateType Class Reference

The definition of a state in SO(3) represented as a unit quaternion. More...

#include <SO3StateSpace.h>

Inheritance diagram for ompl::base::SO3StateSpace::StateType:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void setAxisAngle (double ax, double ay, double az, double angle)
 Set the quaternion from axis-angle representation.
void setIdentity (void)
 Set the state to identity -- no rotation.

Public Attributes

double w
 scalar component of quaternion
double x
 X component of quaternion vector.
double y
 Y component of quaternion vector.
double z
 Z component of quaternion vector.

Detailed Description

The definition of a state in SO(3) represented as a unit quaternion.

Note:
The order of the elements matters in this definition for the SO3StateUniformSampler::sample() function.

Definition at line 76 of file SO3StateSpace.h.


Member Function Documentation

void ompl::base::SO3StateSpace::StateType::setAxisAngle ( double  ax,
double  ay,
double  az,
double  angle 
)

Set the quaternion from axis-angle representation.

void ompl::base::SO3StateSpace::StateType::setIdentity ( void   ) 

Set the state to identity -- no rotation.


Member Data Documentation

scalar component of quaternion

Definition at line 96 of file SO3StateSpace.h.

X component of quaternion vector.

Definition at line 87 of file SO3StateSpace.h.

Y component of quaternion vector.

Definition at line 90 of file SO3StateSpace.h.

Z component of quaternion vector.

Definition at line 93 of file SO3StateSpace.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


ompl
Author(s): Ioan Sucan/isucan@rice.edu, Mark Moll/mmoll@rice.edu, Lydia Kavraki/kavraki@rice.edu
autogenerated on Fri Jan 11 09:34:01 2013