CARLA
 
载入中...
搜索中...
未找到
Public 成员函数 | Private 成员函数 | Private 属性 | 所有成员列表
carla::ros2::CarlaDVSCameraPublisher类 参考

#include <CarlaDVSCameraPublisher.h>

+ 类 carla::ros2::CarlaDVSCameraPublisher 继承关系图:
+ carla::ros2::CarlaDVSCameraPublisher 的协作图:

Public 成员函数

 CarlaDVSCameraPublisher (CarlaDVSCameraPublisher &&)
 
 CarlaDVSCameraPublisher (const CarlaDVSCameraPublisher &)
 
 CarlaDVSCameraPublisher (const char *ros_name="", const char *parent="")
 
bool HasBeenInitialized () const
 
bool Init ()
 
void InitInfoData (uint32_t x_offset, uint32_t y_offset, uint32_t height, uint32_t width, float fov, bool do_rectify)
 
CarlaDVSCameraPublisheroperator= (CarlaDVSCameraPublisher &&)
 
CarlaDVSCameraPublisheroperator= (const CarlaDVSCameraPublisher &)
 
bool Publish ()
 
void SetCameraInfoData (int32_t seconds, uint32_t nanoseconds)
 
void SetImageData (int32_t seconds, uint32_t nanoseconds, size_t elements, size_t height, size_t width, const uint8_t *data)
 
void SetPointCloudData (size_t height, size_t width, size_t elements, const uint8_t *data)
 
const char * type () const override
 
 ~CarlaDVSCameraPublisher ()
 
- Public 成员函数 继承自 carla::ros2::CarlaPublisher
 CarlaPublisher ()=default
 
const std::string & frame_id () const
 
void frame_id (std::string &&frame_id)
 
const std::string & name () const
 
void name (std::string &&name)
 
const std::string & parent () const
 
void parent (std::string &&parent)
 
virtual ~CarlaPublisher ()=default
 

Private 成员函数

bool InitImage ()
 
bool InitInfo ()
 
bool InitPointCloud ()
 
bool PublishImage ()
 
bool PublishInfo ()
 
bool PublishPointCloud ()
 
void SetData (int32_t seconds, uint32_t nanoseconds, size_t height, size_t width, std::vector< uint8_t > &&data)
 
void SetInfoRegionOfInterest (uint32_t x_offset, uint32_t y_offset, uint32_t height, uint32_t width, bool do_rectify)
 
void SetPointCloudData (size_t height, size_t width, std::vector< uint8_t > &&data)
 

Private 属性

std::shared_ptr< CarlaDVSCameraPublisherImpl_impl
 
std::shared_ptr< CarlaCameraInfoPublisherImpl_info
 
std::shared_ptr< CarlaPointCloudPublisherImpl_point_cloud
 

额外继承的成员函数

- Protected 属性 继承自 carla::ros2::CarlaPublisher
std::string _frame_id = ""
 
std::string _name = ""
 
std::string _parent = ""
 

详细描述

在文件 CarlaDVSCameraPublisher.h20 行定义.

构造及析构函数说明

◆ CarlaDVSCameraPublisher() [1/3]

carla::ros2::CarlaDVSCameraPublisher::CarlaDVSCameraPublisher ( const char * ros_name = "",
const char * parent = "" )

在文件 CarlaDVSCameraPublisher.cpp510 行定义.

引用了 carla::ros2::CarlaPublisher::_name, carla::ros2::CarlaPublisher::_parent , 以及 carla::ros2::CarlaPublisher::parent().

+ 函数调用图:

◆ ~CarlaDVSCameraPublisher()

carla::ros2::CarlaDVSCameraPublisher::~CarlaDVSCameraPublisher ( )

在文件 CarlaDVSCameraPublisher.cpp518 行定义.

引用了 _impl, _info , 以及 _point_cloud.

◆ CarlaDVSCameraPublisher() [2/3]

carla::ros2::CarlaDVSCameraPublisher::CarlaDVSCameraPublisher ( const CarlaDVSCameraPublisher & other)

◆ CarlaDVSCameraPublisher() [3/3]

carla::ros2::CarlaDVSCameraPublisher::CarlaDVSCameraPublisher ( CarlaDVSCameraPublisher && other)

成员函数说明

◆ HasBeenInitialized()

bool carla::ros2::CarlaDVSCameraPublisher::HasBeenInitialized ( ) const

在文件 CarlaDVSCameraPublisher.cpp68 行定义.

引用了 _info.

◆ Init()

bool carla::ros2::CarlaDVSCameraPublisher::Init ( )

在文件 CarlaDVSCameraPublisher.cpp78 行定义.

引用了 InitImage(), InitInfo() , 以及 InitPointCloud().

+ 函数调用图:

◆ InitImage()

bool carla::ros2::CarlaDVSCameraPublisher::InitImage ( )
private

在文件 CarlaDVSCameraPublisher.cpp82 行定义.

引用了 carla::ros2::CarlaPublisher::_frame_id, _impl, carla::ros2::CarlaPublisher::_name , 以及 carla::ros2::CarlaPublisher::_parent.

被这些函数引用 Init().

+ 这是这个函数的调用关系图:

◆ InitInfo()

bool carla::ros2::CarlaDVSCameraPublisher::InitInfo ( )
private

在文件 CarlaDVSCameraPublisher.cpp131 行定义.

引用了 carla::ros2::CarlaPublisher::_frame_id, _info, carla::ros2::CarlaPublisher::_name , 以及 carla::ros2::CarlaPublisher::_parent.

被这些函数引用 Init().

+ 这是这个函数的调用关系图:

◆ InitInfoData()

void carla::ros2::CarlaDVSCameraPublisher::InitInfoData ( uint32_t x_offset,
uint32_t y_offset,
uint32_t height,
uint32_t width,
float fov,
bool do_rectify )

在文件 CarlaDVSCameraPublisher.cpp72 行定义.

引用了 _info , 以及 SetInfoRegionOfInterest().

+ 函数调用图:

◆ InitPointCloud()

bool carla::ros2::CarlaDVSCameraPublisher::InitPointCloud ( )
private

在文件 CarlaDVSCameraPublisher.cpp179 行定义.

引用了 carla::ros2::CarlaPublisher::_frame_id, carla::ros2::CarlaPublisher::_name, carla::ros2::CarlaPublisher::_parent , 以及 _point_cloud.

被这些函数引用 Init().

+ 这是这个函数的调用关系图:

◆ operator=() [1/2]

CarlaDVSCameraPublisher & carla::ros2::CarlaDVSCameraPublisher::operator= ( CarlaDVSCameraPublisher && other)

◆ operator=() [2/2]

CarlaDVSCameraPublisher & carla::ros2::CarlaDVSCameraPublisher::operator= ( const CarlaDVSCameraPublisher & other)

◆ Publish()

bool carla::ros2::CarlaDVSCameraPublisher::Publish ( )

在文件 CarlaDVSCameraPublisher.cpp228 行定义.

引用了 PublishImage(), PublishInfo() , 以及 PublishPointCloud().

+ 函数调用图:

◆ PublishImage()

bool carla::ros2::CarlaDVSCameraPublisher::PublishImage ( )
private

在文件 CarlaDVSCameraPublisher.cpp232 行定义.

引用了 _impl.

被这些函数引用 Publish().

+ 这是这个函数的调用关系图:

◆ PublishInfo()

bool carla::ros2::CarlaDVSCameraPublisher::PublishInfo ( )
private

在文件 CarlaDVSCameraPublisher.cpp294 行定义.

引用了 _info.

被这些函数引用 Publish().

+ 这是这个函数的调用关系图:

◆ PublishPointCloud()

bool carla::ros2::CarlaDVSCameraPublisher::PublishPointCloud ( )
private

在文件 CarlaDVSCameraPublisher.cpp356 行定义.

引用了 _point_cloud.

被这些函数引用 Publish().

+ 这是这个函数的调用关系图:

◆ SetCameraInfoData()

void carla::ros2::CarlaDVSCameraPublisher::SetCameraInfoData ( int32_t seconds,
uint32_t nanoseconds )

在文件 CarlaDVSCameraPublisher.cpp451 行定义.

引用了 carla::ros2::CarlaPublisher::_frame_id, std_msgs::msg::Header::frame_id(), builtin_interfaces::msg::Time::nanosec(), builtin_interfaces::msg::Time::sec() , 以及 std_msgs::msg::Header::stamp().

+ 函数调用图:

◆ SetData()

void carla::ros2::CarlaDVSCameraPublisher::SetData ( int32_t seconds,
uint32_t nanoseconds,
size_t height,
size_t width,
std::vector< uint8_t > && data )
private

在文件 CarlaDVSCameraPublisher.cpp431 行定义.

引用了 carla::ros2::CarlaPublisher::_frame_id, _impl, _info, _point_cloud, std_msgs::msg::Header::frame_id(), builtin_interfaces::msg::Time::nanosec(), builtin_interfaces::msg::Time::sec() , 以及 std_msgs::msg::Header::stamp().

被这些函数引用 SetImageData().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ SetImageData()

void carla::ros2::CarlaDVSCameraPublisher::SetImageData ( int32_t seconds,
uint32_t nanoseconds,
size_t elements,
size_t height,
size_t width,
const uint8_t * data )

在文件 CarlaDVSCameraPublisher.cpp418 行定义.

引用了 carla::sensor::data::DVSEvent::pol, SetData(), carla::sensor::data::DVSEvent::x , 以及 carla::sensor::data::DVSEvent::y.

+ 函数调用图:

◆ SetInfoRegionOfInterest()

void carla::ros2::CarlaDVSCameraPublisher::SetInfoRegionOfInterest ( uint32_t x_offset,
uint32_t y_offset,
uint32_t height,
uint32_t width,
bool do_rectify )
private

在文件 CarlaDVSCameraPublisher.cpp461 行定义.

引用了 _info, sensor_msgs::msg::RegionOfInterest::do_rectify(), sensor_msgs::msg::RegionOfInterest::height(), sensor_msgs::msg::RegionOfInterest::width(), sensor_msgs::msg::RegionOfInterest::x_offset() , 以及 sensor_msgs::msg::RegionOfInterest::y_offset().

被这些函数引用 InitInfoData().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ SetPointCloudData() [1/2]

void carla::ros2::CarlaDVSCameraPublisher::SetPointCloudData ( size_t height,
size_t width,
size_t elements,
const uint8_t * data )

◆ SetPointCloudData() [2/2]

void carla::ros2::CarlaDVSCameraPublisher::SetPointCloudData ( size_t height,
size_t width,
std::vector< uint8_t > && data )
private

◆ type()

const char * carla::ros2::CarlaDVSCameraPublisher::type ( ) const
inlineoverridevirtual

实现了 carla::ros2::CarlaPublisher.

在文件 CarlaDVSCameraPublisher.h37 行定义.

类成员变量说明

◆ _impl

std::shared_ptr<CarlaDVSCameraPublisherImpl> carla::ros2::CarlaDVSCameraPublisher::_impl
private

◆ _info

std::shared_ptr<CarlaCameraInfoPublisherImpl> carla::ros2::CarlaDVSCameraPublisher::_info
private

◆ _point_cloud

std::shared_ptr<CarlaPointCloudPublisherImpl> carla::ros2::CarlaDVSCameraPublisher::_point_cloud
private

该类的文档由以下文件生成: