Separated the ROS node from the calibration algorithm.