#include <CarlaCameraPublisher.h>
|
| | CarlaCameraPublisher (CarlaCameraPublisher &&) noexcept=default |
| |
| | CarlaCameraPublisher (const CarlaCameraPublisher &)=delete |
| |
| | CarlaCameraPublisher (std::string base_topic_name, std::string frame_id) |
| |
| CarlaCameraPublisher & | operator= (CarlaCameraPublisher &&) noexcept=default |
| |
| CarlaCameraPublisher & | operator= (const CarlaCameraPublisher &)=delete |
| |
| bool | Publish () override |
| |
| bool | WriteCameraInfo (int32_t seconds, uint32_t nanoseconds, uint32_t x_offset, uint32_t y_offset, uint32_t height, uint32_t width, float fov, bool do_rectify) |
| |
| bool | WriteImage (int32_t seconds, uint32_t nanoseconds, uint32_t height, uint32_t width, const uint8_t *data) |
| |
| | ~CarlaCameraPublisher () override |
| |
| | BasePublisher ()=default |
| |
| | BasePublisher (BasePublisher &&)=delete |
| |
| | BasePublisher (const BasePublisher &)=delete |
| |
| | BasePublisher (std::string base_topic_name) |
| |
| | BasePublisher (std::string base_topic_name, std::string frame_id) |
| |
| | BasePublisher (void *actor, std::string base_topic_name, std::string frame_id) |
| |
| void * | GetActor () const noexcept |
| |
| const std::string & | GetBaseTopicName () const noexcept |
| |
| const std::string & | GetFrameId () const noexcept |
| |
| BasePublisher & | operator= (BasePublisher &&)=delete |
| |
| BasePublisher & | operator= (const BasePublisher &)=delete |
| |
| virtual | ~BasePublisher ()=default |
| |
|
| virtual std::vector< uint8_t > | ComputeImage (uint32_t height, uint32_t width, const uint8_t *data) const |
| |
| virtual uint8_t | GetChannels () const =0 |
| |
| virtual std::string | GetEncoding () const =0 |
| |
|
| bool | WriteImage (int32_t seconds, uint32_t nanoseconds, uint32_t height, uint32_t width, std::vector< uint8_t > data) |
| |
Definition at line 28 of file CarlaCameraPublisher.h.
◆ CarlaCameraPublisher() [1/3]
| carla::ros2::CarlaCameraPublisher::CarlaCameraPublisher |
( |
std::string |
base_topic_name, |
|
|
std::string |
frame_id |
|
) |
| |
◆ ~CarlaCameraPublisher()
| carla::ros2::CarlaCameraPublisher::~CarlaCameraPublisher |
( |
| ) |
|
|
overridedefault |
◆ CarlaCameraPublisher() [2/3]
◆ CarlaCameraPublisher() [3/3]
◆ ComputeImage()
| std::vector< uint8_t > carla::ros2::CarlaCameraPublisher::ComputeImage |
( |
uint32_t |
height, |
|
|
uint32_t |
width, |
|
|
const uint8_t * |
data |
|
) |
| const |
|
protectedvirtual |
◆ GetChannels()
| virtual uint8_t carla::ros2::CarlaCameraPublisher::GetChannels |
( |
| ) |
const |
|
protectedpure virtual |
◆ GetEncoding()
| virtual std::string carla::ros2::CarlaCameraPublisher::GetEncoding |
( |
| ) |
const |
|
protectedpure virtual |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ Publish()
| bool carla::ros2::CarlaCameraPublisher::Publish |
( |
| ) |
|
|
overridevirtual |
◆ WriteCameraInfo()
| bool carla::ros2::CarlaCameraPublisher::WriteCameraInfo |
( |
int32_t |
seconds, |
|
|
uint32_t |
nanoseconds, |
|
|
uint32_t |
x_offset, |
|
|
uint32_t |
y_offset, |
|
|
uint32_t |
height, |
|
|
uint32_t |
width, |
|
|
float |
fov, |
|
|
bool |
do_rectify |
|
) |
| |
◆ WriteImage() [1/2]
| bool carla::ros2::CarlaCameraPublisher::WriteImage |
( |
int32_t |
seconds, |
|
|
uint32_t |
nanoseconds, |
|
|
uint32_t |
height, |
|
|
uint32_t |
width, |
|
|
const uint8_t * |
data |
|
) |
| |
◆ WriteImage() [2/2]
| bool carla::ros2::CarlaCameraPublisher::WriteImage |
( |
int32_t |
seconds, |
|
|
uint32_t |
nanoseconds, |
|
|
uint32_t |
height, |
|
|
uint32_t |
width, |
|
|
std::vector< uint8_t > |
data |
|
) |
| |
|
private |
◆ _impl_camera_info
◆ _impl_image
The documentation for this class was generated from the following files: