mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-03 16:27:46 +08:00
fixed yaml_to_camera_info.py for python3
This commit is contained in:
@@ -33,7 +33,7 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
yaml_path = rospy.get_param('~yaml_path', '')
|
yaml_path = rospy.get_param('~yaml_path', '')
|
||||||
if not yaml_path:
|
if not yaml_path:
|
||||||
print 'yaml_path parameter should be set to path of the calibration file!'
|
print('yaml_path parameter should be set to path of the calibration file!')
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
frameId = rospy.get_param('~frame_id', '')
|
frameId = rospy.get_param('~frame_id', '')
|
||||||
|
|||||||
Reference in New Issue
Block a user