-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
After this fix, things started to work a little better. Although i was experiencing errors in the following file:
pr2_robot/pr2_bringup/scripts/calibrate_pr2.py
Lines 315 to 316 in 80369f9
| rospy.set_param(calibration_params_namespace+"/calibrate", yaml.load(open(calibration_yaml))) | |
| rospy.set_param(calibration_params_namespace+"/hold", yaml.load(open(hold_yaml))) |
The error complains of a missing "Loader" argument to the yaml.load() function. The fix seems to be to add the argument Loader=yaml.FullLoader. Otherwise the script raises an error and calibration never occurs.
rospy.set_param(calibration_params_namespace+"/calibrate", yaml.load(open(calibration_yaml), Loader=yaml.FullLoader))
rospy.set_param(calibration_params_namespace+"/hold", yaml.load(open(hold_yaml), Loader=yaml.FullLoader))more info about this error here
Metadata
Metadata
Assignees
Labels
No labels