Skip to content

Commit

Permalink
Add forced calibration
Browse files Browse the repository at this point in the history
  • Loading branch information
GuraMumei committed Oct 8, 2023
1 parent 5e12330 commit 7dde0f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rm_orientation_controller/src/orientation_controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ void Controller::update(const ros::Time& time, const ros::Duration& period)
tf2::Matrix3x3 m(calibration_tf.getRotation());
m.getRPY(cal_roll, cal_pitch, cal_yaw);
getCalTimes++;
if (abs(cal_roll) > 0.1 || abs(cal_pitch) > 0.1 )
if (abs(cal_roll) > 0.1 || abs(cal_pitch) > 0.1)
{
init_calibration = true;
ROS_INFO_THROTTLE(0.1, "Forced calibrate success");
Expand Down

0 comments on commit 7dde0f2

Please sign in to comment.