Reading bumper state from PR2
System: Ubuntu 10.10, kernel 2.6.35-27, 64 bit.
ROS: Latest diamondback from the repositories.
I'm following the PR2 tutorial here:
http://www.ros.org/wiki/pr2_simulator/Tutorials/BasicPR2Controls
Everything works fine, I'm mostly interested in the gripper and I can open and close it using rostopic
.
What I can't do is read the state of the bumper:
when I execute rostopic echo l_gripper_l_finger_bumper/state
I get the following error message:
WARNING: no messages received and simulated time is active.
Is /clock being published?
Executing rostopic echo /clock
indicates that the clock is indeed being published.
Has anyone else gotten the bumper plugin to work? Any hints/tips?