41#include "pcl/pcl_config.h"
43#include <pcl/io/hdl_grabber.h>
44#include <pcl/io/grabber.h>
46#include <boost/asio.hpp>
69 const std::uint16_t port);
87 const std::uint8_t laserNumber);
93 template<typename IterT>
void
96 std::copy (begin, end, laser_rgb_mapping_);
114 boost::asio::ip::address
115 getDefaultNetworkAddress ()
override;
118 initializeLaserMapping ();
121 loadVLP16Corrections ();
HDLGrabber(const std::string &correctionsFile="", const std::string &pcapFile="")
Constructor taking an optional path to an HDL corrections file.
VLPGrabber(const boost::asio::ip::address &ipAddress, const std::uint16_t port)
Constructor taking a specified IP/port.
static const std::uint8_t VLP_DUAL_MODE
~VLPGrabber() noexcept override
virtual Destructor inherited from the Grabber interface.
std::uint8_t getMaximumNumberOfLasers() const override
Returns the maximum number of lasers.
VLPGrabber(const std::string &pcapFile="")
Constructor taking an optional path to an vlp corrections file.
std::string getName() const override
Obtains the name of this I/O Grabber.
void setLaserColorRGB(const pcl::RGB &color, const std::uint8_t laserNumber)
Allows one to customize the colors used by each laser.
static const std::uint8_t VLP_MAX_NUM_LASERS
Defines all the PCL implemented PointT point type structures.
A structure representing RGB color information.