19 #ifndef SNARK_SENSORS_VELODYNE_IMPL_GETLASERRETURN_H_
20 #define SNARK_SENSORS_VELODYNE_IMPL_GETLASERRETURN_H_
22 #include <boost/date_time/posix_time/posix_time.hpp>
23 #include <snark/sensors/velodyne/db.h>
24 #include <snark/sensors/velodyne/laser_return.h>
25 #include <snark/sensors/velodyne/packet.h>
27 namespace snark {
namespace velodyne {
namespace impl {
29 laser_return getlaser_return(
const packet& packet
32 ,
const boost::posix_time::ptime& timestamp
36 boost::posix_time::time_duration time_offset(
unsigned int block,
unsigned int laser );
38 double azimuth(
const packet& packet,
unsigned int block,
unsigned int laser,
double angularSpeed );
40 double azimuth(
double rotation,
unsigned int laser,
double angularSpeed );
44 #endif // SNARK_SENSORS_VELODYNE_IMPL_GETFROMLASERRETURN_H_