35 #ifndef CAMERA_CALIBRATION_PARSERS_PARSE_INI_H 36 #define CAMERA_CALIBRATION_PARSERS_PARSE_INI_H 39 #include <sensor_msgs/CameraInfo.h> 51 const sensor_msgs::CameraInfo& cam_info);
60 bool readCalibrationIni(std::istream& in, std::string& camera_name, sensor_msgs::CameraInfo& cam_info);
70 const sensor_msgs::CameraInfo& cam_info);
80 sensor_msgs::CameraInfo& cam_info);
90 sensor_msgs::CameraInfo& cam_info);
bool writeCalibrationIni(std::ostream &out, const std::string &camera_name, const sensor_msgs::CameraInfo &cam_info)
Write calibration parameters to a file in INI format.
bool parseCalibrationIni(const std::string &buffer, std::string &camera_name, sensor_msgs::CameraInfo &cam_info)
Parse calibration parameters from a string in memory of INI format.
bool readCalibrationIni(std::istream &in, std::string &camera_name, sensor_msgs::CameraInfo &cam_info)
Read calibration parameters from an INI file.