-
Notifications
You must be signed in to change notification settings - Fork 43
Description
I've freshly cloned & built the turtlebot_arm & the arbotix repository (I had to remove the object_manipulation folder to get my build done, but I don't use it anyway). My physical Pincher Arm is connected to /dev/ttyUSB0. In order to move it around with MoveIt & Rviz, I had to change in the turtlebot_arm_moveit_config/demo.launch file the simulation arg for the arm bringup launch file to false as shown here:
<include file="$(find turtlebot_arm_bringup)/launch/arm.launch"> <arg name="simulation" value="false"/> </include>
When I now start the MoveIt demo with roslaunch turtlebot_arm_moveit_config demo.launch I can plan & execute and the pincher arm moves to the goal. But if I change the Planning Group in Rviz to "gripper" instead of "arm" (under "Planning Request" in Rviz), I can still plan & execute, the gripper moves in Rviz and the logging says the Gripper Controller succeeded. But my real robot gripper doesn't move a bit, even with various different positions.
Every second I also get a log like this:
[ WARN] [1524497161.302061425]: The complete state of the robot is not yet known. Missing gripper_joint
I suspect my error has something to do with this. Also in Rviz, only one of the two gripper parts can be moved, while on the real pincher robot arm, it is a parallel gripper where both parts move symmetrically.
Edit:
Right after opening this issue I found a solution to the first part: I had to use this arbotix_ros repository instead of the one mentioned above, then my gripper could move! Even though the logging tells a different story:
[ INFO] [1524498261.159729581]: Planning adapters have added states at index positions: [ 0 ]
[ INFO] [1524498266.793112394]: Execution request received for ExecuteTrajectory action.
[INFO] [1524498266.841353]: Gripper controller action goal recieved:0.014877 m
[INFO] [1524498266.841908]: Gripper publish servo goal: -1.4771 rad
[ERROR] [1524498267.674998461]: Controller is taking too long to execute trajectory (the expected upper bound for the trajectory execution was 0.841428 seconds). Stopping trajectory.
[ INFO] [1524498267.675095360]: Cancelling execution for gripper_controller
[WARN] [1524498267.677588]: Gripper Controller: Preempted.
[ INFO] [1524498267.741294827]: Execution completed: TIMED_OUT
[ INFO] [1524498267.771785352]: ABORTED: Timeout reached
This doesn't always happen though.
But the gripper in Rviz of course still isn't symmetrical, so any suggestions on how to fix this difference between simulation & real world is still welcome.
Can someone help me with this? Thank you!
Cheers