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