Skip to content

Error updating the F/T sensor driver #64

@albertK

Description

@albertK

I followed this tutorial:
http://wiki.ros.org/ethercat_hardware/Tutorials/UsingForceTorqueSensorWithWG035
and tried to make the F/T sensor on our PR2 robot work.

When I ran the command:
sudo pr2-ft-config --left 12411 --right 12393
I got the following error message:
ERROR: Patch URDF failed:
patch -i /usr/share/pr2-ft/ft_left.groovy.patch -o /etc/ros/groovy/urdf/robot_calibrated_2013_07_03_12_13_ft_left.xml /etc/ros/groovy/urdf/robot_calibrated_2013_07_03_12_13.xml

patching file /etc/ros/groovy/urdf/robot_calibrated_2013_07_03_12_13.xml
Hunk #1 FAILED at 2877.
1 out of 1 hunk FAILED -- saving rejects to file /etc/ros/groovy/urdf/robot_calibrated_2013_07_03_12_13_ft_left.xml.rej

I then tried to add the --debug option:
sudo pr2-ft-config --left 12411 --right 12393 --debug
and here was the error message I got:
Detected ROS distro as groovy
Neither --urdf nor --launch specified; assuming both
Looking for URDF: /etc/ros/groovy/urdf/robot.xml
Found URDF: /etc/ros/groovy/urdf/robot_calibrated_2013_07_03_12_13.xml
Found base URDF: /etc/ros/groovy/urdf/robot_calibrated_2013_07_03_12_13.xml
Using left patch: /usr/share/pr2-ft/ft_left.groovy.patch
Using right patch: /usr/share/pr2-ft/ft_right.groovy.patch
Left URDF does not exist; creating it: /etc/ros/groovy/urdf/robot_calibrated_2013_07_03_12_13_ft_left.xml
Patch command: patch -i /usr/share/pr2-ft/ft_left.groovy.patch -o /etc/ros/groovy/urdf/robot_calibrated_2013_07_03_12_13_ft_left.xml /etc/ros/groovy/urdf/robot_calibrated_2013_07_03_12_13.xml
ERROR: Patch URDF failed:
patch -i /usr/share/pr2-ft/ft_left.groovy.patch -o /etc/ros/groovy/urdf/robot_calibrated_2013_07_03_12_13_ft_left.xml /etc/ros/groovy/urdf/robot_calibrated_2013_07_03_12_13.xml

patching file /etc/ros/groovy/urdf/robot_calibrated_2013_07_03_12_13.xml
Hunk #1 FAILED at 2877.
1 out of 1 hunk FAILED -- saving rejects to file /etc/ros/groovy/urdf/robot_calibrated_2013_07_03_12_13_ft_left.xml.rej

How to solve it, thanks.

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