Struct nebula::drivers::HesaiCalibrationConfiguration
ClassList > nebula > drivers > HesaiCalibrationConfiguration
struct for Hesai calibration configuration
#include <hesai_common.hpp>
Inherits the following classes: nebula::drivers::HesaiCalibrationConfigurationBase
Public Attributes
Type | Name |
---|---|
std::map< size_t, float > | azimuth_offset_map |
std::map< size_t, float > | elev_angle_map |
Public Attributes inherited from nebula::drivers::CalibrationConfigurationBase
See nebula::drivers::CalibrationConfigurationBase
Type | Name |
---|---|
std::string | calibration_file |
Public Functions
Type | Name |
---|---|
virtual std::tuple< float, float > | get_fov_padding () override const |
virtual nebula::Status | load_from_bytes (const std::vector< uint8_t > & buf) override |
virtual nebula::Status | load_from_file (const std::string & calibration_file) override |
nebula::Status | load_from_string (const std::string & calibration_content) Loading calibration data. |
nebula::Status | save_file_from_string (const std::string & calibration_file, const std::string & calibration_string) Saving calibration data from string. |
nebula::Status | save_to_file (const std::string & calibration_file) Saving calibration data (not used) |
virtual nebula::Status | save_to_file_from_bytes (const std::string & calibration_file, const std::vector< uint8_t > & buf) override |
Public Functions inherited from nebula::drivers::HesaiCalibrationConfigurationBase
See nebula::drivers::HesaiCalibrationConfigurationBase
Type | Name |
---|---|
virtual std::tuple< float, float > | get_fov_padding () const = 0 |
virtual nebula::Status | load_from_bytes (const std::vector< uint8_t > & buf) = 0 |
virtual nebula::Status | load_from_file (const std::string & calibration_file) = 0 |
virtual nebula::Status | save_to_file_from_bytes (const std::string & calibration_file, const std::vector< uint8_t > & buf) = 0 |
Public Attributes Documentation
variable azimuth_offset_map
std::map<size_t, float> nebula::drivers::HesaiCalibrationConfiguration::azimuth_offset_map;
variable elev_angle_map
std::map<size_t, float> nebula::drivers::HesaiCalibrationConfiguration::elev_angle_map;
Public Functions Documentation
function get_fov_padding
inline virtual std::tuple< float, float > nebula::drivers::HesaiCalibrationConfiguration::get_fov_padding () override const
Implements nebula::drivers::HesaiCalibrationConfigurationBase::get_fov_padding
function load_from_bytes
inline virtual nebula::Status nebula::drivers::HesaiCalibrationConfiguration::load_from_bytes (
const std::vector< uint8_t > & buf
) override
Implements nebula::drivers::HesaiCalibrationConfigurationBase::load_from_bytes
function load_from_file
inline virtual nebula::Status nebula::drivers::HesaiCalibrationConfiguration::load_from_file (
const std::string & calibration_file
) override
Implements nebula::drivers::HesaiCalibrationConfigurationBase::load_from_file
function load_from_string
Loading calibration data.
inline nebula::Status nebula::drivers::HesaiCalibrationConfiguration::load_from_string (
const std::string & calibration_content
)
Parameters:
calibration_content
Returns:
Resulting status
function save_file_from_string
Saving calibration data from string.
inline nebula::Status nebula::drivers::HesaiCalibrationConfiguration::save_file_from_string (
const std::string & calibration_file,
const std::string & calibration_string
)
Parameters:
calibration_file
pathcalibration_string
calibration string
Returns:
Resulting status
function save_to_file
Saving calibration data (not used)
inline nebula::Status nebula::drivers::HesaiCalibrationConfiguration::save_to_file (
const std::string & calibration_file
)
Parameters:
calibration_file
Returns:
Resulting status
function save_to_file_from_bytes
inline virtual nebula::Status nebula::drivers::HesaiCalibrationConfiguration::save_to_file_from_bytes (
const std::string & calibration_file,
const std::vector< uint8_t > & buf
) override
Implements nebula::drivers::HesaiCalibrationConfigurationBase::save_to_file_from_bytes
The documentation for this class was generated from the following file nebula_common/include/nebula_common/hesai/hesai_common.hpp