Skip to content

Commit

Permalink
code format
Browse files Browse the repository at this point in the history
  • Loading branch information
gezp committed Mar 9, 2024
1 parent 175d58c commit 42bb999
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,20 +40,17 @@ class CalibrationData
// for camera intrinsic data
bool add_camera_intrinsic_data(
const std::string & frame_id, const std::string & camera_model_type,
const std::vector<double> & intrinsics,
const std::vector<double> & distortion_coeffs);
const std::vector<double> & intrinsics, const std::vector<double> & distortion_coeffs);
bool get_camera_intrinsic_data(
const std::string & frame_id, std::string & camera_model_type,
std::vector<double> & intrinsics,
const std::string & frame_id, std::string & camera_model_type, std::vector<double> & intrinsics,
std::vector<double> & distortion_coeffs);
void remove_camera_intrinsic_data(const std::string & frame_id);
// for sensor extrinsic data
bool add_extrinsic_data(
const std::string & frame_id, const std::string & child_frame_id,
const Eigen::Matrix4d & transform);
bool get_extrinsic_data(
const std::string & frame_id, const std::string & child_frame_id,
Eigen::Matrix4d & transform);
const std::string & frame_id, const std::string & child_frame_id, Eigen::Matrix4d & transform);
void remove_extrinsic_data(const std::string & frame_id, const std::string & child_frame_id);
// save & load
bool save(const std::string & file);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,4 @@ rclcpp::Time to_ros_time(double time);

geometry_msgs::msg::Transform to_transform_msg(Eigen::Matrix4d pose);


} // namespace calibration_common

0 comments on commit 42bb999

Please sign in to comment.