fixed yaml_to_camera_info.py for python3

This commit is contained in:
matlabbe
2021-09-30 10:11:47 -04:00
parent b5dd624ae2
commit 5d4b05cbdc
+1 -1
View File
@@ -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', '')