7#define _GLIBCXX_USE_CXX11_ABI 0
20 struct CarlaSSCameraPublisherImpl;
21 struct CarlaCameraInfoPublisherImpl;
42 void InitInfoData(uint32_t x_offset, uint32_t y_offset, uint32_t height, uint32_t width,
float fov,
bool do_rectify);
49 void SetImageData(int32_t seconds, uint32_t nanoseconds,
size_t height,
size_t width,
const uint8_t* data);
53 const char*
type()
const override {
return "semantic segmentation"; }
66 void SetInfoRegionOfInterest( uint32_t x_offset, uint32_t y_offset, uint32_t height, uint32_t width,
bool do_rectify);
68 void SetData(int32_t seconds, uint32_t nanoseconds,
size_t height,
size_t width, std::vector<uint8_t>&& data);
72 std::shared_ptr<CarlaSSCameraPublisherImpl>
_impl;
73 std::shared_ptr<CarlaCameraInfoPublisherImpl>
_impl_info;
const std::string & parent() const
bool HasBeenInitialized() const
检查CarlaSSCameraPublisher是�已�始化。
std::shared_ptr< CarlaSSCameraPublisherImpl > _impl
CarlaSSCameraPublisher & operator=(const CarlaSSCameraPublisher &)
赋值�算符�载
bool Init()
�始化相机�布者
void SetCameraInfoData(int32_t seconds, uint32_t nanoseconds)
设置相机信�数�的时间戳
void SetInfoRegionOfInterest(uint32_t x_offset, uint32_t y_offset, uint32_t height, uint32_t width, bool do_rectify)
设置感兴趣区域的信�
const char * type() const override
bool InitImage()
�始化相机图�
void SetImageData(int32_t seconds, uint32_t nanoseconds, size_t height, size_t width, const uint8_t *data)
设置图�数�
bool PublishInfo()
�布信�数�
std::shared_ptr< CarlaCameraInfoPublisherImpl > _impl_info
bool Publish()
�布图�和信�
bool InitInfo()
�始化CarlaSSCameraPublisher的信�
bool PublishImage()
�布图�数�
void InitInfoData(uint32_t x_offset, uint32_t y_offset, uint32_t height, uint32_t width, float fov, bool do_rectify)
�始化相机信�数�
void SetData(int32_t seconds, uint32_t nanoseconds, size_t height, size_t width, std::vector< uint8_t > &&data)
设置图�数�
~CarlaSSCameraPublisher()
CarlaSSCameraPublisher类的�构函数
CARLA模拟器的主命�空间。