openrave.org

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
OpenRAVE::RobotBase::AttachedSensor Class Reference

Attaches a sensor to a link on the robot. More...

#include <robot.h>

Inheritance diagram for OpenRAVE::RobotBase::AttachedSensor:
Inheritance graph
[legend]
Collaboration diagram for OpenRAVE::RobotBase::AttachedSensor:
Collaboration graph
[legend]

Public Member Functions

 AttachedSensor (RobotBasePtr probot)
 
 AttachedSensor (RobotBasePtr probot, const AttachedSensor &sensor, int cloningoptions)
 
virtual ~AttachedSensor ()
 
virtual SensorBasePtr GetSensor () const
 
virtual LinkPtr GetAttachingLink () const
 
virtual Transform GetRelativeTransform () const
 
virtual Transform GetTransform () const
 
virtual RobotBasePtr GetRobot () const
 
virtual const std::string & GetName () const
 
virtual SensorBase::SensorDataPtr GetData () const
 retrieves the current data from the sensor
 
virtual void SetRelativeTransform (const Transform &t)
 
virtual void serialize (std::ostream &o, int options) const
 
virtual const std::string & GetStructureHash () const
 

Detailed Description

Attaches a sensor to a link on the robot.

Definition at line 378 of file robot.h.

Constructor & Destructor Documentation

OpenRAVE::RobotBase::AttachedSensor::AttachedSensor ( RobotBasePtr  probot)

Definition at line 35 of file robot.cpp.

OpenRAVE::RobotBase::AttachedSensor::AttachedSensor ( RobotBasePtr  probot,
const AttachedSensor sensor,
int  cloningoptions 
)

Definition at line 39 of file robot.cpp.

OpenRAVE::RobotBase::AttachedSensor::~AttachedSensor ( )
virtual

Definition at line 61 of file robot.cpp.

Member Function Documentation

virtual LinkPtr OpenRAVE::RobotBase::AttachedSensor::GetAttachingLink ( ) const
inlinevirtual

Definition at line 388 of file robot.h.

SensorBase::SensorDataPtr OpenRAVE::RobotBase::AttachedSensor::GetData ( ) const
virtual

retrieves the current data from the sensor

Definition at line 65 of file robot.cpp.

virtual const std::string& OpenRAVE::RobotBase::AttachedSensor::GetName ( ) const
inlinevirtual

Definition at line 400 of file robot.h.

virtual Transform OpenRAVE::RobotBase::AttachedSensor::GetRelativeTransform ( ) const
inlinevirtual

Definition at line 391 of file robot.h.

virtual RobotBasePtr OpenRAVE::RobotBase::AttachedSensor::GetRobot ( ) const
inlinevirtual

Definition at line 397 of file robot.h.

virtual SensorBasePtr OpenRAVE::RobotBase::AttachedSensor::GetSensor ( ) const
inlinevirtual

Definition at line 385 of file robot.h.

const std::string & OpenRAVE::RobotBase::AttachedSensor::GetStructureHash ( ) const
virtual
Returns
hash of the sensor definition

Definition at line 107 of file robot.cpp.

virtual Transform OpenRAVE::RobotBase::AttachedSensor::GetTransform ( ) const
inlinevirtual

Definition at line 394 of file robot.h.

void OpenRAVE::RobotBase::AttachedSensor::serialize ( std::ostream &  o,
int  options 
) const
virtual

Definition at line 79 of file robot.cpp.

void OpenRAVE::RobotBase::AttachedSensor::SetRelativeTransform ( const Transform t)
virtual

Definition at line 73 of file robot.cpp.


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