velodyne_lidar
velodyneConstants.hpp
Go to the documentation of this file.
1 #ifndef _VELODYNE_CONSTANTS_HPP_
2 #define _VELODYNE_CONSTANTS_HPP_
3 
4 #include <vector>
5 
6 
7 namespace velodyne_lidar
8 {
9 
10  static const unsigned int VELODYNE_NUM_SHOTS = 12; // The number of shots per packet
11  static const unsigned int VELODYNE_NUM_LASER_CHANNELS = 32; // The number of lasers per shot
12  static const unsigned int VELODYNE_ORIENTATION_READINGS = 3; // The number of orientation readings
13  static const unsigned int MIN_SENSING_DISTANCE = 500; //1m in 2mm units
14  static const unsigned int MAX_SENSING_DISTANCE = 35000; //70m in 2mm units
15  static const unsigned int VELODYNE_DATA_MSG_BUFFER_SIZE = 1206; //The size of a data packet
16  static const unsigned int VELODYNE_POSITIONING_MSG_BUFFER_SIZE = 512; //The size of a positioning packet
17 
18  static const unsigned int VELODYNE_DATA_UDP_PORT = 2368; //The port the Velodyne sends laser data to
19  static const unsigned int VELODYNE_POSITIONING_UDP_PORT = 8308; //The port the Velodyne sends positioning data to
20 
25  {
27  LastReturn = 0x38,
28  DualReturn = 0x39
29  };
30 
35  {
39  };
40 };
41 
42 #endif
Definition: velodyneConstants.hpp:26
Definition: velodyneConstants.hpp:36
Definition: velodyneConstants.hpp:38
ReturnMode
Definition: velodyneConstants.hpp:24
Definition: velodyneConstants.hpp:27
Definition: gps_rmc_type.h:6
SensorType
Definition: velodyneConstants.hpp:34
Definition: velodyneConstants.hpp:28
Definition: velodyneConstants.hpp:37