Skip to content

Struct nebula::drivers::RobosenseCalibrationConfiguration

ClassList > nebula > drivers > RobosenseCalibrationConfiguration

struct for Robosense calibration configuration

  • #include <robosense_common.hpp>

Inherits the following classes: nebula::drivers::CalibrationConfigurationBase

Public Attributes

Type Name
std::vector< ChannelCorrection > calibration

Public Attributes inherited from nebula::drivers::CalibrationConfigurationBase

See nebula::drivers::CalibrationConfigurationBase

Type Name
std::string calibration_file

Public Functions

Type Name
void create_corrected_channels ()
ChannelCorrection get_correction (const size_t channel_id) const
nebula::Status load_from_file (const std::string & calibration_file)
nebula::Status load_from_stream (stream_t & stream)
nebula::Status load_from_string (const std::string & calibration_content)
Loading calibration data (not used)
nebula::Status save_file (const std::string & calibration_file)
Saving calibration data (not used)
void set_channel_size (const size_t channel_num)

Public Attributes Documentation

variable calibration

std::vector<ChannelCorrection> nebula::drivers::RobosenseCalibrationConfiguration::calibration;

Public Functions Documentation

function create_corrected_channels

inline void nebula::drivers::RobosenseCalibrationConfiguration::create_corrected_channels () 

function get_correction

inline ChannelCorrection nebula::drivers::RobosenseCalibrationConfiguration::get_correction (
    const size_t channel_id
) const

function load_from_file

inline nebula::Status nebula::drivers::RobosenseCalibrationConfiguration::load_from_file (
    const std::string & calibration_file
) 

function load_from_stream

template<typename stream_t>
inline nebula::Status nebula::drivers::RobosenseCalibrationConfiguration::load_from_stream (
    stream_t & stream
) 

function load_from_string

Loading calibration data (not used)

inline nebula::Status nebula::drivers::RobosenseCalibrationConfiguration::load_from_string (
    const std::string & calibration_content
) 

Parameters:

  • calibration_content

Returns:

Resulting status


function save_file

Saving calibration data (not used)

inline nebula::Status nebula::drivers::RobosenseCalibrationConfiguration::save_file (
    const std::string & calibration_file
) 

Parameters:

  • calibration_file

Returns:

Resulting status


function set_channel_size

inline void nebula::drivers::RobosenseCalibrationConfiguration::set_channel_size (
    const size_t channel_num
) 


The documentation for this class was generated from the following file nebula_common/include/nebula_common/robosense/robosense_common.hpp