Skip to content

Commit

Permalink
update calibrate_robot to run launch file
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeferguson committed Jun 7, 2015
1 parent 20c7963 commit 2459d55
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fetch_calibration/scripts/calibrate_robot
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,7 @@ if __name__ == "__main__":
except:
print("\nCould not find robot_calibration package, is your ROS path correct?")
exit(-1)
pose_bag = os.path.join(cal_pkg, "launch", "calibration_poses.bag")
if subprocess.call(["rosrun", "robot_calibration", "calibrate", pose_bag]) != 0:
if subprocess.call(["roslaunch", "fetch_calibration", "capture.launch"]) != 0:
print("Failed to run calibrate")
exit(-1)

Expand Down

0 comments on commit 2459d55

Please sign in to comment.