Calibration in ROS
Hi all!
I have been trying to calibrate the Azure Kinect following the tutorial specified at:
http://wiki.ros.org/camera_calibration/Tutorials/MonocularCalibration
From what I understand, what it does is that it gets calibration information and then communicates with ROS service /camera/set_camera_info to change the intrinsic parameters of the camera.
I didn't find the camera/set_camera_info service being published by the camera node and hence when I click save after calibrating (following the tutorial), I get the following error:
Traceback (most recent call last):
File "/opt/ros/melodic/lib/python2.7/dist-packages/camera_calibration/camera_calibrator.py", line 252, in on_mouse
if self.do_upload():
File "/opt/ros/melodic/lib/python2.7/dist-packages/camera_calibration/camera_calibrator.py", line 209, in do_upload
response = self.set_camera_info_service(info)
File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py", line 439, in __call__
return self.call(*args, **kwds)
File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py", line 499, in call
service_uri = self._get_service_uri(request)
File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py", line 467, in _get_service_uri
raise ServiceException("service [%s] unavailable"%self.resolved_name)
rospy.service.ServiceException: service [/camera/set_camera_info] unavailable
Is there a way out of it? Kindly suggest any other way that has worked for you.
ROS Version: Melodic Ubuntu 18.04
Ros Services running:
/azure_kinect_ros_driver/get_loggers /azure_kinect_ros_driver/set_logger_level /depth/image_raw/compressed/set_parameters /depth/image_raw/compressedDepth/set_parameters /depth/image_raw/theora/set_parameters /depth_to_rgb/image_raw/compressed/set_parameters /depth_to_rgb/image_raw/compressedDepth/set_parameters /depth_to_rgb/image_raw/theora/set_parameters /ir/image_raw/compressed/set_parameters /ir/image_raw/compressedDepth/set_parameters /ir/image_raw/theora/set_parameters /joint_state_publisher/get_loggers /joint_state_publisher/set_logger_level /rgb/image_raw/compressed/set_parameters /rgb/image_raw/compressedDepth/set_parameters /rgb/image_raw/theora/set_parameters /rgb_to_depth/image_raw/compressed/set_parameters /rgb_to_depth/image_raw/compressedDepth/set_parameters /rgb_to_depth/image_raw/theora/set_parameters /robot_state_publisher/get_loggers /robot_state_publisher/set_logger_level /rosout/get_loggers /rosout/set_logger_level /rostopic_20269_1575590186848/get_loggers /rostopic_20269_1575590186848/set_logger_level
Ros Nodes running:
/azure_kinect_ros_driver /joint_state_publisher /robot_state_publisher /rosout /rostopic_20269_1575590186848
Appreciate your time and help. Thanks!
It is probably better to ask this question on the Azure Kinect ROS repository. https://github.com/microsoft/Azure_Kinect_ROS_Driver