36 #ifndef JSK_RECOGNITION_UTILS_SPINDLE_LASER_SENSOR_H_ 37 #define JSK_RECOGNITION_UTILS_SPINDLE_LASER_SENSOR_H_ 49 const double laser_freq,
50 const size_t point_sample):
52 laser_freq_(laser_freq),
71 return point_sample_ * laser_freq_ / (2.0 * dphi) / (distance * distance) * area;
virtual void setSpindleVelocity(const double velocity)
boost::shared_ptr< SpindleLaserSensor > Ptr
virtual double expectedPointCloudNum(double distance, double area) const
Return the expected number of points according to distance and area. it is calculated according to: {...
SpindleLaserSensor(const double min_angle, const double max_angle, const double laser_freq, const size_t point_sample)
Super class for sensor model. It provides pure virtual method for common interfaces.