39 const Eigen::Affine3d& pose)
42 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
86 inline bool GetPose(Eigen::Affine3d* pose)
const {
87 if (pose ==
nullptr) {
88 AERROR <<
"pose is not available";
91 *pose = header_->sensor2world_pose;
101 return foreground_objects_;
110 return foreground_objects_;
119 return background_objects_;
128 return background_objects_;
153 std::vector<SensorObjectPtr> foreground_objects_;
154 std::vector<SensorObjectPtr> background_objects_;
base::SensorType GetSensorType() const
Get the sensor type
const std::vector< SensorObjectPtr > & GetBackgroundObjects() const
Get the Background Objects object
SensorFrameHeaderConstPtr GetHeader() const
Get sensor frame header
void Initialize(const base::FrameConstPtr &base_frame_ptr)
Initialize sensor frame
const std::vector< SensorObjectPtr > & GetForegroundObjects() const
Get the Foreground Objects object
std::vector< SensorObjectPtr > & GetBackgroundObjects()
Get the Background Objects object
std::string GetSensorId() const
Get the sensor id
bool GetPose(Eigen::Affine3d *pose) const
Get the pose of the sensor frame
std::vector< SensorObjectPtr > & GetForegroundObjects()
Get the Foreground Objects object
double GetTimestamp() const
Get the timestamp of the sensor frame
SensorType
Sensor types are set in the order of lidar, radar, camera, ultrasonic Please make sure SensorType has...
std::shared_ptr< const Frame > FrameConstPtr
struct apollo::perception::fusion::SensorFrameHeader EIGEN_ALIGN16
std::shared_ptr< SensorFrameHeader > SensorFrameHeaderPtr
std::shared_ptr< const SensorFrameHeader > SensorFrameHeaderConstPtr
std::shared_ptr< Sensor > SensorPtr