6#define _GLIBCXX_USE_CXX11_ABI 0
16 struct CarlaDVSCameraPublisherImpl;
17 struct CarlaCameraInfoPublisherImpl;
18 struct CarlaPointCloudPublisherImpl;
30 void InitInfoData(uint32_t x_offset, uint32_t y_offset, uint32_t height, uint32_t width,
float fov,
bool do_rectify);
34 void SetImageData(int32_t seconds, uint32_t nanoseconds,
size_t elements,
size_t height,
size_t width,
const uint8_t* data);
36 void SetPointCloudData(
size_t height,
size_t width,
size_t elements,
const uint8_t* data);
37 const char*
type()
const override {
return "dvs camera"; }
45 void SetInfoRegionOfInterest( uint32_t x_offset, uint32_t y_offset, uint32_t height, uint32_t width,
bool do_rectify);
46 void SetData(int32_t seconds, uint32_t nanoseconds,
size_t height,
size_t width, std::vector<uint8_t>&& data);
53 std::shared_ptr<CarlaDVSCameraPublisherImpl>
_impl;
54 std::shared_ptr<CarlaCameraInfoPublisherImpl>
_info;
void SetPointCloudData(size_t height, size_t width, size_t elements, const uint8_t *data)
CarlaDVSCameraPublisher & operator=(const CarlaDVSCameraPublisher &)
CarlaDVSCameraPublisher(const char *ros_name="", const char *parent="")
std::shared_ptr< CarlaCameraInfoPublisherImpl > _info
std::shared_ptr< CarlaDVSCameraPublisherImpl > _impl
void SetImageData(int32_t seconds, uint32_t nanoseconds, size_t elements, size_t height, size_t width, const uint8_t *data)
void InitInfoData(uint32_t x_offset, uint32_t y_offset, uint32_t height, uint32_t width, float fov, bool do_rectify)
void SetCameraInfoData(int32_t seconds, uint32_t nanoseconds)
void SetPointCloudData(size_t height, size_t width, std::vector< uint8_t > &&data)
bool HasBeenInitialized() const
const char * type() const override
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)
std::shared_ptr< CarlaPointCloudPublisherImpl > _point_cloud
~CarlaDVSCameraPublisher()
const std::string & parent() const
This file contains definitions of common data structures used in traffic manager.