Base class for all of the HFL cameras.
More...
#include <hfl_interface.h>
Base class for all of the HFL cameras.
◆ frame()
std::shared_ptr< Frame > hfl::HflInterface::frame |
( |
| ) |
|
Reference to the frame_ member variable
- Returns
- frame shared_ptr
◆ getFrameRate()
virtual double hfl::HflInterface::getFrameRate |
( |
bool |
reg_format = false | ) |
const |
|
pure virtual |
Returns the current frame rate.
- Parameters
-
[in] | reg_format | Indicates register format output |
- Returns
- current frame rate
Implemented in hfl::BaseHFL110DCU.
◆ getModel()
std::string hfl::HflInterface::getModel |
( |
| ) |
const |
Gets the Model of the camera.
- Returns
- string camera model
◆ getVersion()
std::string hfl::HflInterface::getVersion |
( |
| ) |
const |
Gets the camera version.
- Returns
- string camera model version
◆ parseFrame()
virtual bool hfl::HflInterface::parseFrame |
( |
int |
start_byte, |
|
|
const std::vector< uint8_t > & |
packet |
|
) |
| |
|
pure virtual |
Parse packet into depth and intensity image
- Parameters
-
[in] | start_byte | starting byte, packet packet data to parse |
- Returns
- bool true if successfully parsed frame data
Implemented in hfl::HFL110DCU.
◆ parseObjects()
virtual bool hfl::HflInterface::parseObjects |
( |
int |
start_byte, |
|
|
const std::vector< uint8_t > & |
packet |
|
) |
| |
|
pure virtual |
Parse packet into objects
- Parameters
-
[in] | start_byte | starting byte, packet packet data to parse |
- Returns
- bool true if successfully parsed object data
Implemented in hfl::BaseHFL110DCU, and hfl::HFL110DCU.
◆ processFrameData()
virtual bool hfl::HflInterface::processFrameData |
( |
const std::vector< uint8_t > & |
data | ) |
|
|
pure virtual |
Process the frame data from udp packets
- Parameters
-
- Returns
- bool
Implemented in hfl::HFL110DCU.
◆ processObjectData()
virtual bool hfl::HflInterface::processObjectData |
( |
const std::vector< uint8_t > & |
data | ) |
|
|
pure virtual |
◆ setChannelRangeOffset()
virtual bool hfl::HflInterface::setChannelRangeOffset |
( |
uint8_t |
ch, |
|
|
double |
offset |
|
) |
| |
|
pure virtual |
Sets channel range offset
- Parameters
-
[in] | ch | channel number |
[in] | offset | channel range offset to set |
- Returns
- bool true if given channel range offset is set
Implemented in hfl::BaseHFL110DCU.
◆ setFrameRate()
virtual bool hfl::HflInterface::setFrameRate |
( |
double |
rate | ) |
|
|
pure virtual |
Set the frame rate.
- Parameters
-
[in] | rate | Camera frame rate |
- Returns
- bool true if given frame rate set
Implemented in hfl::BaseHFL110DCU.
◆ setGlobalRangeOffset()
virtual bool hfl::HflInterface::setGlobalRangeOffset |
( |
double |
offset | ) |
|
|
pure virtual |
Sets global range offset
- Parameters
-
[in] | offset | global range offset to set |
- Returns
- bool true if given global range offset is set
Implemented in hfl::BaseHFL110DCU.
◆ setIntensityRangeOffset()
virtual bool hfl::HflInterface::setIntensityRangeOffset |
( |
uint8_t |
band, |
|
|
double |
offset |
|
) |
| |
|
pure virtual |
Sets intensity range offset
- Parameters
-
[in] | band | intensity range number |
[in] | offset | channel range offset to set |
- Returns
- bool true if given intensity band range offset is set
Implemented in hfl::BaseHFL110DCU.
◆ ch1_offset_
double hfl::HflInterface::ch1_offset_ |
|
protected |
◆ ch2_offset_
double hfl::HflInterface::ch2_offset_ |
|
protected |
◆ ch3_offset_
double hfl::HflInterface::ch3_offset_ |
|
protected |
◆ ch4_offset_
double hfl::HflInterface::ch4_offset_ |
|
protected |
◆ frame_
std::shared_ptr<hfl::Frame> hfl::HflInterface::frame_ |
|
protected |
Camera's frame configurations.
◆ frame_data_port_
uint16_t hfl::HflInterface::frame_data_port_ |
|
protected |
Camera's UDP frame data port.
◆ global_offset_
double hfl::HflInterface::global_offset_ |
|
protected |
◆ int1000_offset_
double hfl::HflInterface::int1000_offset_ |
|
protected |
◆ int1500_offset_
double hfl::HflInterface::int1500_offset_ |
|
protected |
◆ int2000_offset_
double hfl::HflInterface::int2000_offset_ |
|
protected |
◆ int2500_offset_
double hfl::HflInterface::int2500_offset_ |
|
protected |
◆ int3000_offset_
double hfl::HflInterface::int3000_offset_ |
|
protected |
◆ int3500_offset_
double hfl::HflInterface::int3500_offset_ |
|
protected |
◆ int4096_offset_
double hfl::HflInterface::int4096_offset_ |
|
protected |
◆ int500_offset_
double hfl::HflInterface::int500_offset_ |
|
protected |
◆ ip_address_
std::string hfl::HflInterface::ip_address_ |
|
protected |
◆ model_
std::string hfl::HflInterface::model_ |
|
protected |
◆ parent_frame_
std::string hfl::HflInterface::parent_frame_ |
|
protected |
◆ pitch_
double hfl::HflInterface::pitch_ |
|
protected |
◆ publish_tf_
bool hfl::HflInterface::publish_tf_ |
|
protected |
Current publish tf state.
◆ roll_
double hfl::HflInterface::roll_ |
|
protected |
◆ time_offset_
double hfl::HflInterface::time_offset_ |
|
protected |
◆ version_
std::string hfl::HflInterface::version_ |
|
protected |
◆ x_
double hfl::HflInterface::x_ |
|
protected |
◆ y_
double hfl::HflInterface::y_ |
|
protected |
◆ yaw_
double hfl::HflInterface::yaw_ |
|
protected |
◆ z_
double hfl::HflInterface::z_ |
|
protected |
The documentation for this class was generated from the following files: