MRPT
1.9.9
|
#include "obs-precomp.h"
#include <mrpt/obs/CObservationVelodyneScan.h>
#include <mrpt/poses/CPose3DInterpolator.h>
#include <mrpt/core/round.h>
#include <mrpt/serialization/CArchive.h>
#include <iostream>
Go to the source code of this file.
Classes | |
struct | PointCloudStorageWrapper |
Auxiliary class used to refactor CObservationVelodyneScan::generatePointCloud() More... | |
Functions | |
double | HDL32AdjustTimeStamp (int firingblock, int dsr) |
[us] More... | |
double | VLP16AdjustTimeStamp (int firingblock, int dsr, int firingwithinblock) |
[us] More... | |
static void | velodyne_scan_to_pointcloud (const CObservationVelodyneScan &scan, const CObservationVelodyneScan::TGeneratePointCloudParameters ¶ms, PointCloudStorageWrapper &out_pc) |
Variables | |
CSinCosLookUpTableFor2DScans | velodyne_sincos_tables |
const int | SCANS_PER_FIRING = 16 |
const float | VLP16_BLOCK_TDURATION = 110.592f |
const float | VLP16_DSR_TOFFSET = 2.304f |
const float | VLP16_FIRING_TOFFSET = 55.296f |
const float | HDR32_DSR_TOFFSET = 1.152f |
const float | HDR32_FIRING_TOFFSET = 46.08f |
double HDL32AdjustTimeStamp | ( | int | firingblock, |
int | dsr | ||
) |
[us]
Definition at line 128 of file CObservationVelodyneScan.cpp.
References HDR32_DSR_TOFFSET, and HDR32_FIRING_TOFFSET.
Referenced by velodyne_scan_to_pointcloud().
|
static |
Definition at line 150 of file CObservationVelodyneScan.cpp.
References PointCloudStorageWrapper::add_point(), mrpt::obs::T2DScanProperties::aperture, ASSERT_BELOW_, mrpt::obs::CObservationVelodyneScan::TVelodyneRawPacket::blocks, mrpt::obs::CObservationVelodyneScan::calibration, mrpt::obs::CSinCosLookUpTableFor2DScans::TSinCosValues::ccos, mrpt::obs::VelodyneCalibration::PerLaserCalib::cosVertCorrection, mrpt::obs::CSinCosLookUpTableFor2DScans::TSinCosValues::csin, mrpt::obs::CObservationVelodyneScan::laser_return_t::distance, mrpt::math::distance(), mrpt::obs::VelodyneCalibration::PerLaserCalib::distanceCorrection, mrpt::obs::CSinCosLookUpTableFor2DScans::getSinCosForScan(), mrpt::obs::CObservationVelodyneScan::TVelodyneRawPacket::gps_timestamp, HDL32AdjustTimeStamp(), mrpt::obs::CObservationVelodyneScan::raw_block_t::header, mrpt::obs::VelodyneCalibration::PerLaserCalib::horizontalOffsetCorrection, mrpt::obs::CObservationVelodyneScan::laser_return_t::intensity, mrpt::obs::VelodyneCalibration::laser_corrections, mrpt::obs::CObservationVelodyneScan::TVelodyneRawPacket::laser_return_mode, mrpt::obs::CObservationVelodyneScan::raw_block_t::laser_returns, M_PI, mrpt::obs::CObservationVelodyneScan::maxRange, min, mrpt::obs::CObservationVelodyneScan::minRange, mrpt::obs::T2DScanProperties::nRays, mrpt::obs::T2DScanProperties::rightToLeft, mrpt::obs::CObservationVelodyneScan::raw_block_t::rotation, mrpt::round(), mrpt::obs::CObservationVelodyneScan::scan_packets, SCANS_PER_FIRING, mrpt::obs::VelodyneCalibration::PerLaserCalib::sinVertCorrection, THROW_EXCEPTION, mrpt::obs::CObservation::timestamp, mrpt::system::timestampAdd(), velodyne_sincos_tables, mrpt::obs::VelodyneCalibration::PerLaserCalib::verticalOffsetCorrection, VLP16AdjustTimeStamp(), mrpt::math::TPoint3Df::x, mrpt::math::TPoint3Df::y, and mrpt::math::TPoint3Df::z.
Referenced by mrpt::obs::CObservationVelodyneScan::generatePointCloud(), and mrpt::obs::CObservationVelodyneScan::generatePointCloudAlongSE3Trajectory().
double VLP16AdjustTimeStamp | ( | int | firingblock, |
int | dsr, | ||
int | firingwithinblock | ||
) |
[us]
Definition at line 133 of file CObservationVelodyneScan.cpp.
References VLP16_BLOCK_TDURATION, VLP16_DSR_TOFFSET, and VLP16_FIRING_TOFFSET.
Referenced by velodyne_scan_to_pointcloud().
const float HDR32_DSR_TOFFSET = 1.152f |
Definition at line 42 of file CObservationVelodyneScan.cpp.
Referenced by HDL32AdjustTimeStamp().
const float HDR32_FIRING_TOFFSET = 46.08f |
Definition at line 43 of file CObservationVelodyneScan.cpp.
Referenced by HDL32AdjustTimeStamp().
const int SCANS_PER_FIRING = 16 |
Definition at line 36 of file CObservationVelodyneScan.cpp.
Referenced by velodyne_scan_to_pointcloud().
CSinCosLookUpTableFor2DScans velodyne_sincos_tables |
Definition at line 24 of file CObservationVelodyneScan.cpp.
Referenced by velodyne_scan_to_pointcloud().
const float VLP16_BLOCK_TDURATION = 110.592f |
Definition at line 38 of file CObservationVelodyneScan.cpp.
Referenced by VLP16AdjustTimeStamp().
const float VLP16_DSR_TOFFSET = 2.304f |
Definition at line 39 of file CObservationVelodyneScan.cpp.
Referenced by VLP16AdjustTimeStamp().
const float VLP16_FIRING_TOFFSET = 55.296f |
Definition at line 40 of file CObservationVelodyneScan.cpp.
Referenced by VLP16AdjustTimeStamp().
Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020 |