#include <points2_publisher.h>
Definition at line 46 of file points2_publisher.h.
rc::Points2Publisher::Points2Publisher |
( |
ros::NodeHandle & |
nh, |
|
|
const std::string & |
frame_id_prefix, |
|
|
double |
f, |
|
|
double |
t, |
|
|
double |
scale |
|
) |
| |
Initialization of publisher for depth errors.
- Parameters
-
nh | Node handle. |
f | Focal length, normalized to image width of 1. |
t | Basline in m. |
scale | Factor for raw disparities. |
frame_id | Parent frame id of points. |
Definition at line 42 of file points2_publisher.cc.
void rc::Points2Publisher::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 72 of file points2_publisher.cc.
void rc::Points2Publisher::publish |
( |
const rcg::Buffer * |
buffer, |
|
|
uint32_t |
part, |
|
|
uint64_t |
pixelformat, |
|
|
bool |
out1 |
|
) |
| |
void rc::Points2Publisher::setOut1Alternate |
( |
bool |
alternate | ) |
|
bool rc::Points2Publisher::used |
( |
| ) |
|
|
overridevirtual |
float rc::Points2Publisher::f |
|
private |
float rc::Points2Publisher::scale |
|
private |
uint32_t rc::Points2Publisher::seq |
|
private |
float rc::Points2Publisher::t |
|
private |
uint64_t rc::Points2Publisher::tolerance_ns |
|
private |
The documentation for this class was generated from the following files: