#include <CarlaRadarPublisher.h>
Public 成员函数 | |
CarlaRadarPublisher (CarlaRadarPublisher &&) | |
CarlaRadarPublisher (const CarlaRadarPublisher &) | |
CarlaRadarPublisher (const char *ros_name="", const char *parent="") | |
bool | Init () |
CarlaRadarPublisher & | operator= (CarlaRadarPublisher &&) |
CarlaRadarPublisher & | operator= (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.h 第 18 行定义.
carla::ros2::CarlaRadarPublisher::CarlaRadarPublisher | ( | const char * | ros_name = "", |
const char * | parent = "" ) |
carla::ros2::CarlaRadarPublisher::~CarlaRadarPublisher | ( | ) |
在文件 CarlaRadarPublisher.cpp 第 240 行定义.
引用了 _impl.
carla::ros2::CarlaRadarPublisher::CarlaRadarPublisher | ( | const CarlaRadarPublisher & | other | ) |
carla::ros2::CarlaRadarPublisher::CarlaRadarPublisher | ( | CarlaRadarPublisher && | other | ) |
bool carla::ros2::CarlaRadarPublisher::Init | ( | ) |
CarlaRadarPublisher & carla::ros2::CarlaRadarPublisher::operator= | ( | CarlaRadarPublisher && | other | ) |
CarlaRadarPublisher & carla::ros2::CarlaRadarPublisher::operator= | ( | const CarlaRadarPublisher & | other | ) |
bool carla::ros2::CarlaRadarPublisher::Publish | ( | ) |
在文件 CarlaRadarPublisher.cpp 第 98 行定义.
引用了 _impl.
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.cpp 第 160 行定义.
引用了 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().
|
private |
在文件 CarlaRadarPublisher.cpp 第 177 行定义.
引用了 carla::ros2::CarlaPublisher::_frame_id, _impl, sensor_msgs::msg::PointField::count(), sensor_msgs::msg::PointField::datatype(), std_msgs::msg::Header::frame_id(), sensor_msgs::msg::PointField::name(), builtin_interfaces::msg::Time::nanosec(), sensor_msgs::msg::PointField::offset(), sensor_msgs::msg::PointField__FLOAT32, builtin_interfaces::msg::Time::sec() , 以及 std_msgs::msg::Header::stamp().
|
inlineoverridevirtual |
实现了 carla::ros2::CarlaPublisher.
在文件 CarlaRadarPublisher.h 第 30 行定义.
|
private |
在文件 CarlaRadarPublisher.h 第 36 行定义.
被这些函数引用 CarlaRadarPublisher(), CarlaRadarPublisher(), Init(), operator=(), operator=(), Publish(), SetData() , 以及 ~CarlaRadarPublisher().