Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members  

propertyservice::mobilerobot::SensorLocation Class Reference

#include <Vector.h>

Inheritance diagram for propertyservice::mobilerobot::SensorLocation:

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

Detailed Description

A sensor's location in the robot is represented as a six-dimensional vector.


Public Methods

 SensorLocation (double x=0.0, double y=0.0, double z=0.0, double a=0.0, double b=0.0, double c=0.0)
 Create a SensorLocation object with the given position coordinates and angles.

 SensorLocation (const Vector< double, 6 > &other)
 Copy any six-dimensional vector.

SensorLocation & operator= (const Vector< double, 6 > &other)
 Copy any six-dimensional vector.

double & x ()
 The x coordinate of a sensor relative to the internal origin of a robot (meters).

double & y ()
 The y coordinate of a sensor relative to the internal origin of a robot (meters).

double & z ()
 The z coordinate of a sensor relative to the internal origin of a robot (meters).

double & a ()
 The rotation of a sensor relative to the z axis of the robot's internal coordinate system (radians).

double & b ()
 The rotation of a sensor relative to the xy plane of the robot's internal coordinate system (radians).

double & c ()
 The rotation of a sensor relative to its own axis (radians).


Member Function Documentation

double& propertyservice::mobilerobot::SensorLocation::a   [inline]
 

The rotation of a sensor relative to the z axis of the robot's internal coordinate system (radians).

Translates to componentArray[3].

double& propertyservice::mobilerobot::SensorLocation::b   [inline]
 

The rotation of a sensor relative to the xy plane of the robot's internal coordinate system (radians).

Translates to componentArray[4].

double& propertyservice::mobilerobot::SensorLocation::c   [inline]
 

The rotation of a sensor relative to its own axis (radians).

Translates to componentArray[5].

double& propertyservice::mobilerobot::SensorLocation::x   [inline]
 

The x coordinate of a sensor relative to the internal origin of a robot (meters).

Translates to componentArray[0].

double& propertyservice::mobilerobot::SensorLocation::y   [inline]
 

The y coordinate of a sensor relative to the internal origin of a robot (meters).

Translates to componentArray[1].

double& propertyservice::mobilerobot::SensorLocation::z   [inline]
 

The z coordinate of a sensor relative to the internal origin of a robot (meters).

Translates to componentArray[2].


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.