6 #define _GLIBCXX_USE_CXX11_ABI 0 16 struct CarlaOpticalFlowCameraPublisherImpl;
17 struct CarlaCameraInfoPublisherImpl;
29 void InitInfoData(uint32_t x_offset, uint32_t y_offset, uint32_t height, uint32_t width,
float fov,
bool do_rectify);
33 void SetImageData(int32_t seconds, uint32_t nanoseconds,
size_t height,
size_t width,
const float* data);
35 const char*
type()
const override {
return "optical flow camera"; }
43 void SetInfoRegionOfInterest( uint32_t x_offset, uint32_t y_offset, uint32_t height, uint32_t width,
bool do_rectify);
44 void SetData(int32_t seconds, uint32_t nanoseconds,
size_t height,
size_t width, std::vector<uint8_t>&& data);
47 std::shared_ptr<CarlaOpticalFlowCameraPublisherImpl>
_impl;
48 std::shared_ptr<CarlaCameraInfoPublisherImpl>
_impl_info;
~CarlaOpticalFlowCameraPublisher()
This file contains definitions of common data structures used in traffic manager. ...
void SetInfoRegionOfInterest(uint32_t x_offset, uint32_t y_offset, uint32_t height, uint32_t width, bool do_rectify)
void SetCameraInfoData(int32_t seconds, uint32_t nanoseconds)
CarlaOpticalFlowCameraPublisher(const char *ros_name="", const char *parent="")
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)
bool HasBeenInitialized() const
const std::string & parent() const
std::shared_ptr< CarlaOpticalFlowCameraPublisherImpl > _impl
CarlaOpticalFlowCameraPublisher & operator=(const CarlaOpticalFlowCameraPublisher &)
void SetImageData(int32_t seconds, uint32_t nanoseconds, size_t height, size_t width, const float *data)
std::shared_ptr< CarlaCameraInfoPublisherImpl > _impl_info
const char * type() const override