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

#include <CarlaOpticalFlowCameraPublisher.h>

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

Public 成员函数

 CarlaOpticalFlowCameraPublisher (CarlaOpticalFlowCameraPublisher &&)
 
 CarlaOpticalFlowCameraPublisher (const CarlaOpticalFlowCameraPublisher &)
 
 CarlaOpticalFlowCameraPublisher (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)
 
CarlaOpticalFlowCameraPublisheroperator= (CarlaOpticalFlowCameraPublisher &&)
 
CarlaOpticalFlowCameraPublisheroperator= (const CarlaOpticalFlowCameraPublisher &)
 
bool Publish ()
 
void SetCameraInfoData (int32_t seconds, uint32_t nanoseconds)
 
void SetImageData (int32_t seconds, uint32_t nanoseconds, size_t height, size_t width, const float *data)
 
const char * type () const override
 
 ~CarlaOpticalFlowCameraPublisher ()
 
- 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 PublishImage ()
 
bool PublishInfo ()
 
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)
 

Private 属性

std::shared_ptr< CarlaOpticalFlowCameraPublisherImpl_impl
 
std::shared_ptr< CarlaCameraInfoPublisherImpl_impl_info
 

额外继承的成员函数

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

详细描述

在文件 CarlaOpticalFlowCameraPublisher.h19 行定义.

构造及析构函数说明

◆ CarlaOpticalFlowCameraPublisher() [1/3]

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

在文件 CarlaOpticalFlowCameraPublisher.cpp422 行定义.

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

+ 函数调用图:

◆ ~CarlaOpticalFlowCameraPublisher()

carla::ros2::CarlaOpticalFlowCameraPublisher::~CarlaOpticalFlowCameraPublisher ( )

在文件 CarlaOpticalFlowCameraPublisher.cpp429 行定义.

引用了 _impl , 以及 _impl_info.

◆ CarlaOpticalFlowCameraPublisher() [2/3]

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

◆ CarlaOpticalFlowCameraPublisher() [3/3]

carla::ros2::CarlaOpticalFlowCameraPublisher::CarlaOpticalFlowCameraPublisher ( CarlaOpticalFlowCameraPublisher && other)

成员函数说明

◆ HasBeenInitialized()

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

在文件 CarlaOpticalFlowCameraPublisher.cpp59 行定义.

引用了 _impl_info.

◆ Init()

bool carla::ros2::CarlaOpticalFlowCameraPublisher::Init ( )

在文件 CarlaOpticalFlowCameraPublisher.cpp69 行定义.

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

+ 函数调用图:

◆ InitImage()

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

在文件 CarlaOpticalFlowCameraPublisher.cpp73 行定义.

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

被这些函数引用 Init().

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

◆ InitInfo()

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

在文件 CarlaOpticalFlowCameraPublisher.cpp122 行定义.

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

被这些函数引用 Init().

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

◆ InitInfoData()

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

在文件 CarlaOpticalFlowCameraPublisher.cpp63 行定义.

引用了 _impl_info , 以及 SetInfoRegionOfInterest().

+ 函数调用图:

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ Publish()

bool carla::ros2::CarlaOpticalFlowCameraPublisher::Publish ( )

在文件 CarlaOpticalFlowCameraPublisher.cpp170 行定义.

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

+ 函数调用图:

◆ PublishImage()

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

在文件 CarlaOpticalFlowCameraPublisher.cpp174 行定义.

引用了 _impl.

被这些函数引用 Publish().

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

◆ PublishInfo()

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

在文件 CarlaOpticalFlowCameraPublisher.cpp236 行定义.

引用了 _impl_info.

被这些函数引用 Publish().

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

◆ SetCameraInfoData()

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

在文件 CarlaOpticalFlowCameraPublisher.cpp411 行定义.

引用了 carla::ros2::CarlaPublisher::_frame_id, _impl_info, 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::CarlaOpticalFlowCameraPublisher::SetData ( int32_t seconds,
uint32_t nanoseconds,
size_t height,
size_t width,
std::vector< uint8_t > && data )
private

在文件 CarlaOpticalFlowCameraPublisher.cpp393 行定义.

引用了 carla::ros2::CarlaPublisher::_frame_id, _impl, 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::CarlaOpticalFlowCameraPublisher::SetImageData ( int32_t seconds,
uint32_t nanoseconds,
size_t height,
size_t width,
const float * data )

在文件 CarlaOpticalFlowCameraPublisher.cpp298 行定义.

引用了 SetData().

+ 函数调用图:

◆ SetInfoRegionOfInterest()

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

在文件 CarlaOpticalFlowCameraPublisher.cpp383 行定义.

引用了 _impl_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().

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

◆ type()

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

类成员变量说明

◆ _impl

std::shared_ptr<CarlaOpticalFlowCameraPublisherImpl> carla::ros2::CarlaOpticalFlowCameraPublisher::_impl
private

◆ _impl_info

std::shared_ptr<CarlaCameraInfoPublisherImpl> carla::ros2::CarlaOpticalFlowCameraPublisher::_impl_info
private

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