#include <error_disparity_publisher.h>
Definition at line 46 of file error_disparity_publisher.h.
rc::ErrorDisparityPublisher::ErrorDisparityPublisher |
( |
ros::NodeHandle & |
nh, |
|
|
const std::string & |
frame_id_prefix, |
|
|
double |
scale |
|
) |
| |
Initialization of publisher for disparity errors.
- Parameters
-
nh | Node handle. |
scale | Factor for raw disparities. |
Definition at line 42 of file error_disparity_publisher.cc.
void rc::ErrorDisparityPublisher::publish |
( |
const rcg::Buffer * |
buffer, |
|
|
uint32_t |
part, |
|
|
uint64_t |
pixelformat |
|
) |
| |
|
overridevirtual |
Offers a buffer for publication.
It depends on the the kind of buffer data and the implementation and configuration of the sub-class if the data is published.
- Parameters
-
buffer | Buffer with data to be published. |
part | Part index of image. |
pixelformat | The pixelformat as given by buffer.getPixelFormat(). |
Implements rc::GenICam2RosPublisher.
Definition at line 55 of file error_disparity_publisher.cc.
bool rc::ErrorDisparityPublisher::used |
( |
| ) |
|
|
overridevirtual |
float rc::ErrorDisparityPublisher::scale |
|
private |
uint32_t rc::ErrorDisparityPublisher::seq |
|
private |
The documentation for this class was generated from the following files: