Apollo  6.0
Open source self driving car software
Public Member Functions | Static Public Member Functions | List of all members
apollo::perception::fusion::Sensor Class Reference

#include <sensor.h>

Collaboration diagram for apollo::perception::fusion::Sensor:
Collaboration graph

Public Member Functions

 Sensor ()=delete
 
 Sensor (const base::SensorInfo &sensor_info)
 
void QueryLatestFrames (double timestamp, std::vector< SensorFramePtr > *frames)
 
SensorFramePtr QueryLatestFrame (double timestamp)
 
bool GetPose (double timestamp, Eigen::Affine3d *pose) const
 
std::string GetSensorId () const
 
base::SensorType GetSensorType () const
 
void AddFrame (const base::FrameConstPtr &frame_ptr)
 
void SetLatestQueryTimestamp (const double latest_query_timestamp)
 

Static Public Member Functions

static void SetMaxCachedFrameNumber (size_t number)
 

Constructor & Destructor Documentation

◆ Sensor() [1/2]

apollo::perception::fusion::Sensor::Sensor ( )
delete

◆ Sensor() [2/2]

apollo::perception::fusion::Sensor::Sensor ( const base::SensorInfo sensor_info)
inlineexplicit

Member Function Documentation

◆ AddFrame()

void apollo::perception::fusion::Sensor::AddFrame ( const base::FrameConstPtr frame_ptr)

◆ GetPose()

bool apollo::perception::fusion::Sensor::GetPose ( double  timestamp,
Eigen::Affine3d *  pose 
) const

◆ GetSensorId()

std::string apollo::perception::fusion::Sensor::GetSensorId ( ) const
inline

◆ GetSensorType()

base::SensorType apollo::perception::fusion::Sensor::GetSensorType ( ) const
inline

◆ QueryLatestFrame()

SensorFramePtr apollo::perception::fusion::Sensor::QueryLatestFrame ( double  timestamp)

◆ QueryLatestFrames()

void apollo::perception::fusion::Sensor::QueryLatestFrames ( double  timestamp,
std::vector< SensorFramePtr > *  frames 
)

◆ SetLatestQueryTimestamp()

void apollo::perception::fusion::Sensor::SetLatestQueryTimestamp ( const double  latest_query_timestamp)
inline

◆ SetMaxCachedFrameNumber()

static void apollo::perception::fusion::Sensor::SetMaxCachedFrameNumber ( size_t  number)
inlinestatic

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