Generic sensor abstraction.  
 More...
#include <GenericSensor.h>
Generic sensor abstraction. 
 
◆ ConstPtr
◆ Ptr
◆ GenericSensor() [1/2]
      
        
          | XBot::GenericSensor::GenericSensor  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ GenericSensor() [2/2]
      
        
          | XBot::GenericSensor::GenericSensor  | 
          ( | 
          urdf::LinkConstSharedPtr  | 
          sensor_link,  | 
        
        
           | 
           | 
          int  | 
          sensor_id  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Constructor with the sensor parent link. 
- Parameters
 - 
  
    | sensor_link | the sensor parent link  | 
    | sensor_id | the sensor id  | 
  
   
 
 
◆ getParentJointName()
      
        
          | const std::string & XBot::GenericSensor::getParentJointName  | 
          ( | 
           | ) | 
           const | 
        
      
 
Getter for the sensor parent joint name. 
- Returns
 - the parent joint name 
 
 
 
◆ getParentLinkName()
      
        
          | const std::string & XBot::GenericSensor::getParentLinkName  | 
          ( | 
           | ) | 
           const | 
        
      
 
Getter for the sensor parent link name. 
- Returns
 - the parent link name 
 
 
 
◆ getSensorId()
      
        
          | const int XBot::GenericSensor::getSensorId  | 
          ( | 
           | ) | 
           const | 
        
      
 
Getter for the sensor id. 
- Returns
 - the sensor id 
 
 
 
◆ getSensorName()
      
        
          | const std::string & XBot::GenericSensor::getSensorName  | 
          ( | 
           | ) | 
           const | 
        
      
 
Getter for the sensor name. 
- Returns
 - the sensor name 
 
 
 
◆ getSensorPose()
      
        
          | const Eigen::Affine3d & XBot::GenericSensor::getSensorPose  | 
          ( | 
           | ) | 
           const | 
        
      
 
Getter for the sensor pose w.r.t. 
the parent link
- Returns
 - the sensor pose w.r.t. the parent link 
 
 
 
◆ getTimestamp()
      
        
          | double XBot::GenericSensor::getTimestamp  | 
          ( | 
           | ) | 
           const | 
        
      
 
Getter for the timestamp of the last sensor reading. 
- Returns
 - the timestamp of the last sensor reading 
 
 
 
◆ setTimestamp()
      
        
          | void XBot::GenericSensor::setTimestamp  | 
          ( | 
          double  | 
          timestamp | ) | 
           | 
        
      
 
Setter for the timestamp of the sensor reading. 
- Parameters
 - 
  
    | timestamp | the timestamp to set  | 
  
   
- Returns
 - void 
 
 
 
The documentation for this class was generated from the following files:
- /home/travis/build/ADVRHumanoids/forest_ws/src/XBotInterface/include/XBotInterface/GenericSensor.h
 
- /home/travis/build/ADVRHumanoids/forest_ws/src/XBotInterface/src/GenericSensor.cpp