7 #include <sensor_msgs/LaserScan.h> 29 std::deque<sensor_msgs::LaserScanPtr>
d_queue_;
38 void to_msg_queue(T& packet, uint16_t layer_idx = 0,
int layer_inclination = 0);
39 virtual void handle_scan(sensor_msgs::LaserScanPtr msg, uint16_t layer_idx,
int layer_inclination,
40 bool apply_correction =
true) = 0;
std::shared_ptr< ScanParameters > params_
std::shared_ptr< ScanConfig > config_
ros::Publisher header_publisher_
virtual void resetCurrentScans()
std::deque< sensor_msgs::LaserScanPtr > d_queue_
bool check_status(uint32_t status_flags)
void to_msg_queue(T &packet, uint16_t layer_idx=0, int layer_inclination=0)
PFDataPublisher(std::shared_ptr< ScanConfig > config, std::shared_ptr< ScanParameters > params)
virtual void read(PFR2000Packet_A &packet)
virtual void handle_scan(sensor_msgs::LaserScanPtr msg, uint16_t layer_idx, int layer_inclination, bool apply_correction=true)=0