7 #define LINEBUFFER_SIZE 8192
23 istringstream lis(buf);
32 SensorMap::const_iterator it=smap.find(sensorname);
61 double timestamp, reltimestamp;
63 is >> timestamp >>s >> reltimestamp;
71 string laser_type, start_angle, field_of_view, angular_resolution, maximum_range, accuracy, remission_mode;
72 is >> laser_type>> start_angle>> field_of_view>> angular_resolution>> maximum_range>> accuracy>> remission_mode;
77 assert(size==rs->
beams().size());
79 reading->resize(size);
80 for (
unsigned int i=0; i<size; i++){
85 is >> reflectionBeams;
87 for (
int i=0; i<reflectionBeams; i++)
91 is >> laserPose.
x >> laserPose.
y >> laserPose.
theta;
97 string laser_tv, laser_rv, forward_safety_dist, side_safty_dist, turn_axis;
98 is >> laser_tv >> laser_rv >> forward_safety_dist >> side_safty_dist >> turn_axis;
104 double timestamp, reltimestamp;
106 is >> timestamp >>s >> reltimestamp;
120 LogSensorStream::operator bool()
const{
121 return m_cursor==m_log->end();
140 InputSensorStream::operator bool()
const{
141 return (
bool) m_inputStream;