#include <laser_scan_publisher.h>
Public Member Functions | |
LaserscanPublisher (std::shared_ptr< ScanConfig > config, std::shared_ptr< ScanParameters > params, const std::string &scan_topic, const std::string &frame_id) | |
![]() | |
PFDataPublisher (std::shared_ptr< ScanConfig > config, std::shared_ptr< ScanParameters > params) | |
virtual void | read (PFR2000Packet_A &packet) |
virtual void | read (PFR2000Packet_B &packet) |
virtual void | read (PFR2000Packet_C &packet) |
virtual void | read (PFR2300Packet_C1 &packet) |
virtual bool | start () |
virtual bool | stop () |
![]() | |
virtual void | read (std::shared_ptr< PFPacket > packet) |
![]() | |
virtual void | set_scan_params (ScanParameters params) |
virtual void | set_scanoutput_config (ScanConfig config) |
Private Member Functions | |
virtual void | handle_scan (sensor_msgs::LaserScanPtr msg, uint16_t layer_idx, int layer_inclination, bool apply_correction) |
void | publish_scan (sensor_msgs::LaserScanPtr msg) |
Private Attributes | |
ros::Publisher | scan_publisher_ |
Additional Inherited Members | |
![]() | |
bool | check_status (uint32_t status_flags) |
virtual void | resetCurrentScans () |
template<typename T > | |
void | to_msg_queue (T &packet, uint16_t layer_idx=0, int layer_inclination=0) |
![]() | |
std::shared_ptr< ScanConfig > | config_ |
std::deque< sensor_msgs::LaserScanPtr > | d_queue_ |
std::string | frame_id_ |
ros::Publisher | header_publisher_ |
ros::NodeHandle | nh_ |
std::shared_ptr< ScanParameters > | params_ |
std::mutex | q_mutex_ |
Definition at line 5 of file laser_scan_publisher.h.
LaserscanPublisher::LaserscanPublisher | ( | std::shared_ptr< ScanConfig > | config, |
std::shared_ptr< ScanParameters > | params, | ||
const std::string & | scan_topic, | ||
const std::string & | frame_id | ||
) |
Definition at line 5 of file laser_scan_publisher.cpp.
|
privatevirtual |
Implements PFDataPublisher.
Definition at line 14 of file laser_scan_publisher.cpp.
|
private |
Definition at line 20 of file laser_scan_publisher.cpp.
|
private |
Definition at line 12 of file laser_scan_publisher.h.