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

After few hours of running the moveit program, the program is killed

asked 2020-03-09 07:46:24 -0500

Zenzu gravatar image

Hello, I am trying to implement Reinforcement Learning within ROS for a KUKA manipulator. Therefore, I need to let run program for a day in order to learn the KUKA manipulator accomplish certain task. However, after few hours the program is killed with this error messages:

ERROR: Failed to fetch current robot state

INFO: Didn't received robot state (joint angles) with recent timestep within 1 second. Check clock synchronization if you are running ROS across multiple machines!

To provide more info: I am using Gazebo simulator with a small cube and the task is to push the object into the goal location. Regarding to Moveit, I am using TrackIK solver and I generate [x,y,z] coordinates from the neural network directly to trajectory_controller using setFromIK function.

I am using:

ros::AsyncSpinner spinner(2);
spinner.start();

so this should not be a problem. I have already tried increase number of threads but its not working. Could someone point me to the right direction? This is the problem why the learning process is failing.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-04-11 10:02:49 -0500

Zenzu gravatar image

I solved it by using tf2 instead of tf library.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2020-03-09 07:46:24 -0500

Seen: 451 times

Last updated: Apr 11 '20