Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members  

propertyservice::mobilerobot::RobotVelocity Class Reference

#include <Vector.h>

Inheritance diagram for propertyservice::mobilerobot::RobotVelocity:

propertyservice::mobilerobot::Vector< double, 2 > List of all members.

Detailed Description

A robot's velocity is represented using a two-dimensional vector of double precision floating point numbers.


Public Methods

 RobotVelocity ()
 Create an empty RobotVelocity object.

 RobotVelocity (const Vector< double, 2 > &other)
 Copy any two-dimensional vector.

RobotVelocity & operator= (const Vector< double, 2 > &other)
 Copy any two-dimensional vector.

double & translation ()
 The translational motion of a mobile robot (meters per second).

double & rotation ()
 The rotational motion of a mobile robot (radians per second).


Member Function Documentation

double& propertyservice::mobilerobot::RobotVelocity::rotation   [inline]
 

The rotational motion of a mobile robot (radians per second).

Translates to componentArray[1].

double& propertyservice::mobilerobot::RobotVelocity::translation   [inline]
 

The translational motion of a mobile robot (meters per second).

Translates to componentArray[0].


The documentation for this class was generated from the following file:
Documentation generated on 11.09.2003 with Doxygen.
The documentation is copyrighted material.
Copyright © Topi Mäenpää 2003. All rights reserved.