-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error updating the F/T sensor driver #64
Comments
It looks like it's having a hard time patching the calibrated URDF. Try using it with the uncalibrated urdf instead. |
I tried to add the --urdf option and run the command like this: The output message is: However, when I rerun "roslaunch /etc/ros/robot.launch" and "rostopic list | grep /ft" I get nothing out. The /ft topic does not exist. I then found that /etc/ros/groovy/ft.launch is empty, which is included in /etc/ros/robot.launch. What step did I missed? Thanks |
You should also run the pr2-ft-config tool with the --launch option, to update the PR2 launch files to include the FT configuration. |
Thanks for the rapid reply! I first run "sudo pr2-ft-config" to undo the previous modification Here's the output: However, I still cant find the /ft topic using "rostopic list |grep /ft" |
That looks like it's configuring the launch files and the URDF correctly now. Do you see any errors when you run Are there any errors or messages in the PR2 diagnostics relating the to F/T sensors? |
No, there are no F/T related errors when I run "roslaunch /etc/ros/robot.launch". As for the diagnostics, I run "rosrun rqt_pr2_dashboard rqt_pr2_dashboard" and get warnings for the gripper accelerometers. The full messages are as follow:
|
I checked the pr2_dashboard again and found that there wasn't F/T related diagnosis entries. According to this tutorial: Does that mean the F/T sensor is not connected? |
That sounds like the F/T sensors either aren't attached or aren't configured properly. You may want to open an official support ticket for this. |
Okay, except for the possibility of a hardware problem, I wonder if there are any sofware configuration problems that we can try to learn and fix before open an ticket? Some configuration tutorial or documentations will be helpful. Thanks! |
You've found the existing documentation. The rest of the information about the F/T sensors is either in my head or in Derek King's head; he designed the boards, wrote the gripper firmware and the controllers, and I took it over from him and wrote the If I still worked for WG, at this point I would check the production records against your serial number to confirm that we shipped F/T sensors with your PR2, and I would check the records for your robot and sensors to validate that they were functional when we shipped your robot. Beyond that, I would look at the complete output from It would also be prudent to check the firmware version on your grippers to verify that they have the proper firmware version, something like 2.208 if I'm remembering properly. You should be able to do this through the diagnostics. |
Thanks for the advice! Too sad to hear that you're not working in Willow Garage now. I still remembered the useful helps from you in the tickets we opened before. Anyway, I still have two questions to ask.
2)What is the force/torque related parameter? |
|
Sure, the sensor is installed on the both wrists of the robot. That's how we know that we should type "sudo pr2-ft-config --left 12411 --right 12393" command to set the F/T sensor. We get the serial number by the sticker attached on the sensor. Besides, we had confirmed that the the sensor is shipped with PR2 and worked well after we unpacked it. As for the firmware update, I remembered that we've performed the firmware update for the forearm camera. I wonder if this will affect the gripper. Is there any way to update the gripper firmware to the correct version? Thanks! |
It should be possible to upgrade the gripper to the proper firmware version. You'll have to contact official PR2 support for that; I don't have copies of the appropriate firmware or the internal docs that document how to upgrade the firmware. Send them a link to this ticket when you contact them; it will save a great deal of debugging time. In theory, a camera firmware upgrade shouldn't affect the gripper firmware, but without knowing exactly which commands you ran, it's impossible to say for sure. |
OK, we'll open a ticket to fix this problem. Thanks so much about the help! |
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.
The text was updated successfully, but these errors were encountered: