#include <laser.h>
Public Member Functions | |
Laser (crl::multisense::Channel *driver, const std::string &tf_prefix) | |
void | pointCloudCallback (const crl::multisense::lidar::Header &header) |
void | scanCallback (const crl::multisense::lidar::Header &header) |
~Laser () | |
Static Public Attributes | |
static const float | EXPECTED_RATE = 40.0 |
Private Member Functions | |
void | defaultTfPublisher (const ros::TimerEvent &event) |
tf::Transform | getSpindleTransform (float spindle_angle) |
void | publishSpindleTransform (const float spindle_angle, const float velocity, const ros::Time &time) |
void | publishStaticTransforms (const ros::Time &time) |
void | stop () |
void | subscribe () |
void | unsubscribe () |
Private Attributes | |
crl::multisense::Channel * | driver_ |
std::string | frame_id_ |
std::string | hokuyo_ |
sensor_msgs::JointState | joint_states_ |
ros::Publisher | joint_states_pub_ |
sensor_msgs::LaserScan | laser_msg_ |
tf::Transform | laser_to_spindle_ |
std::string | left_camera_optical_ |
crl::multisense::lidar::Calibration | lidar_cal_ |
std::string | motor_ |
tf::Transform | motor_to_camera_ |
sensor_msgs::PointCloud2 | point_cloud_ |
ros::Publisher | point_cloud_pub_ |
ros::Time | previous_scan_time_ |
ros::Publisher | raw_lidar_cal_pub_ |
ros::Publisher | raw_lidar_data_pub_ |
ros::Publisher | scan_pub_ |
std::string | spindle_ |
float | spindle_angle_ |
tf::TransformBroadcaster | static_tf_broadcaster_ |
boost::mutex | sub_lock_ |
int32_t | subscribers_ |
ros::Timer | timer_ |
multisense_ros::Laser::Laser | ( | crl::multisense::Channel * | driver, |
const std::string & | tf_prefix | ||
) |
|
private |
|
private |
void multisense_ros::Laser::pointCloudCallback | ( | const crl::multisense::lidar::Header & | header | ) |
|
private |
|
private |
void multisense_ros::Laser::scanCallback | ( | const crl::multisense::lidar::Header & | header | ) |
|
private |
|
static |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |