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

#include <CarlaRadarPublisher.h>

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

Public 成员函数

 CarlaRadarPublisher (CarlaRadarPublisher &&)
 
 CarlaRadarPublisher (const CarlaRadarPublisher &)
 
 CarlaRadarPublisher (const char *ros_name="", const char *parent="")
 
bool Init ()
 
CarlaRadarPublisheroperator= (CarlaRadarPublisher &&)
 
CarlaRadarPublisheroperator= (const CarlaRadarPublisher &)
 
bool Publish ()
 
void SetData (int32_t seconds, uint32_t nanoseconds, size_t height, size_t width, size_t elements, const uint8_t *data)
 
const char * type () const override
 
 ~CarlaRadarPublisher ()
 
- 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 成员函数

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

Private 属性

std::shared_ptr< CarlaRadarPublisherImpl_impl
 

额外继承的成员函数

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

详细描述

在文件 CarlaRadarPublisher.h18 行定义.

构造及析构函数说明

◆ CarlaRadarPublisher() [1/3]

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

在文件 CarlaRadarPublisher.cpp234 行定义.

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

+ 函数调用图:

◆ ~CarlaRadarPublisher()

carla::ros2::CarlaRadarPublisher::~CarlaRadarPublisher ( )

在文件 CarlaRadarPublisher.cpp240 行定义.

引用了 _impl.

◆ CarlaRadarPublisher() [2/3]

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

◆ CarlaRadarPublisher() [3/3]

carla::ros2::CarlaRadarPublisher::CarlaRadarPublisher ( CarlaRadarPublisher && other)

成员函数说明

◆ Init()

bool carla::ros2::CarlaRadarPublisher::Init ( )

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ Publish()

bool carla::ros2::CarlaRadarPublisher::Publish ( )

在文件 CarlaRadarPublisher.cpp98 行定义.

引用了 _impl.

◆ SetData() [1/2]

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

在文件 CarlaRadarPublisher.cpp160 行定义.

引用了 carla::sensor::data::RadarDetection::altitude, carla::sensor::data::RadarDetection::azimuth, carla::sensor::data::RadarDetection::depth, carla::ros2::RadarDetectionWithPosition::detection, SetData(), carla::ros2::RadarDetectionWithPosition::x, carla::ros2::RadarDetectionWithPosition::y , 以及 carla::ros2::RadarDetectionWithPosition::z.

被这些函数引用 SetData().

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

◆ SetData() [2/2]

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

◆ type()

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

实现了 carla::ros2::CarlaPublisher.

在文件 CarlaRadarPublisher.h30 行定义.

类成员变量说明

◆ _impl

std::shared_ptr<CarlaRadarPublisherImpl> carla::ros2::CarlaRadarPublisher::_impl
private

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