Skip to content

Update calibration script #276

@hamyyy

Description

@hamyyy

After this fix, things started to work a little better. Although i was experiencing errors in the following file:

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions