Skip to content

Commit

Permalink
增加外参输出
Browse files Browse the repository at this point in the history
  • Loading branch information
2013fangwentao committed Mar 10, 2020
1 parent 0869bc0 commit f7e5291
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/navstruct.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ struct NavInfo
Eigen::Vector3d gyro_scale_{0, 0, 0};
Eigen::Vector3d acce_scale_{0, 0, 0};
Eigen::Vector3d leverarm_{0, 0, 0};
Eigen::Vector3d cam_imu_{0, 0, 0};
long long int result_type_;

public:
Expand Down
1 change: 1 addition & 0 deletions src/navbase.cc
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ std::ostream &operator<<(std::ostream &output, const NavInfo &nav_info)
output << std::fixed << std::left << std::setprecision(4) << nav_info.pos_.transpose() << " ";
output << std::fixed << std::left << std::setw(10) << std::setprecision(4) << nav_info.vel_.transpose() << " ";
output << std::fixed << std::left << std::setw(10) << std::setprecision(4) << nav_info.att_.transpose() * constant::rad2deg << " ";
output << std::fixed << std::left << std::setw(10) << std::setprecision(4) << nav_info.cam_imu_.transpose() * constant::rad2deg << " ";
// output <<std::fixed << std::left << std::setprecision(3) << nav_info.pos_std_.transpose() << " ";
// output <<std::fixed << std::left << std::setprecision(3) << nav_info.vel_std_.transpose() << " ";
// output <<std::fixed << std::left << std::setprecision(3) << nav_info.att_std_.transpose() << " ";
Expand Down

0 comments on commit f7e5291

Please sign in to comment.