Apollo  6.0
Open source self driving car software
Public Member Functions | Public Attributes | Friends | List of all members
apollo::perception::camera::CarPose Class Reference

#include <pose.h>

Collaboration diagram for apollo::perception::camera::CarPose:
Collaboration graph

Public Member Functions

 CarPose ()=default
 
 ~CarPose ()=default
 
bool Init (double ts, const Eigen::Matrix4d &pose)
 
const Eigen::Matrix4d getCarPose () const
 
const Eigen::Vector3d getCarPosition () const
 
void ClearCameraPose (const std::string &camera_name)
 
void SetCameraPose (const std::string &camera_name, const Eigen::Matrix4d &c2w_pose)
 
bool GetCameraPose (const std::string &camera_name, Eigen::Matrix4d *c2w_pose) const
 
void setTimestamp (double ts)
 
double getTimestamp () const
 

Public Attributes

Eigen::Matrix4d pose_
 
apollo::common::EigenMap< std::string, Eigen::Matrix4d > c2w_poses_
 
double timestamp_
 

Friends

std::ostream & operator<< (std::ostream &os, const CarPose &)
 

Constructor & Destructor Documentation

◆ CarPose()

apollo::perception::camera::CarPose::CarPose ( )
default

◆ ~CarPose()

apollo::perception::camera::CarPose::~CarPose ( )
default

Member Function Documentation

◆ ClearCameraPose()

void apollo::perception::camera::CarPose::ClearCameraPose ( const std::string &  camera_name)

◆ GetCameraPose()

bool apollo::perception::camera::CarPose::GetCameraPose ( const std::string &  camera_name,
Eigen::Matrix4d *  c2w_pose 
) const

◆ getCarPose()

const Eigen::Matrix4d apollo::perception::camera::CarPose::getCarPose ( ) const

◆ getCarPosition()

const Eigen::Vector3d apollo::perception::camera::CarPose::getCarPosition ( ) const

◆ getTimestamp()

double apollo::perception::camera::CarPose::getTimestamp ( ) const
inline

◆ Init()

bool apollo::perception::camera::CarPose::Init ( double  ts,
const Eigen::Matrix4d &  pose 
)

◆ SetCameraPose()

void apollo::perception::camera::CarPose::SetCameraPose ( const std::string &  camera_name,
const Eigen::Matrix4d &  c2w_pose 
)

◆ setTimestamp()

void apollo::perception::camera::CarPose::setTimestamp ( double  ts)
inline

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const CarPose  
)
friend

Member Data Documentation

◆ c2w_poses_

apollo::common::EigenMap<std::string, Eigen::Matrix4d> apollo::perception::camera::CarPose::c2w_poses_

◆ pose_

Eigen::Matrix4d apollo::perception::camera::CarPose::pose_

◆ timestamp_

double apollo::perception::camera::CarPose::timestamp_

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