ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How to handle "Schunk LWA4P joint angle's origin changes on Robot On/OFF"?

asked 2016-05-11 01:02:46 -0500

SaranKanag gravatar image

updated 2023-06-18 09:51:56 -0500

lucasw gravatar image

I tried a pick and place application developed in ROS with Schunk LWA4P robotic arm. Initially it worked fine completely. Even when I shut down the robot at positions apart from home (all angles 0 degree) it worked fine on next new initialization. But now I am facing a weird problem with joint 5’s angle. For example when I shut down my robot with a pose which has following angles values, (as obtained from rostopic “/arm/joint_states”)

Joint 1 = 1.57 radians; Joint 2 = -1.23 radians; Joint 3 = 1.88 radians; Joint 4 = 0.0 radians; Joint 5 = 0.745 radians; Joint 6 = -1.48 radians

After ros service call for shut down, I turned off the robot and started again with new initialization. After initialization rostopic “/arm/joint_states“ displays the angle values of same pose at which it stopped now as

Joint 1 = 1.57 radians; Joint 2 = -1.23 radians; Joint 3 = 1.88 radians; Joint 4 = 0.0 radians; Joint 5 = 0.0 radians; Joint 6 = -1.48 radians

I could see an incorrect joint 5 angle. Initially it was not happening but now it happens all the time when I newly start the robot. This mismatch occurs only at joint 5.

Can anyone help me out in resolving the same?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2018-07-31 17:12:25 -0500

DebasmitaGhose gravatar image

updated 2018-07-31 17:13:12 -0500

I have worked with this particular arm and have faced the same issue. After a lot of digging, I realised that it is not a problem with ROS. You should use a CANalyser to connect to the Schunk MTS tool and check the CAN protocol. Sometimes, it erroneously resets to CAN whereas, it should be CANOpen. Change that back to CANOpen (you might need to change to admin to do that) and that will fix this issue. You can also consider setting the reference values and the joint limits using this tool.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2016-05-11 01:02:46 -0500

Seen: 208 times

Last updated: Jul 31 '18