Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 1441

Stop and continue with cartesian path

$
0
0
Hello, I would like to make a cartesian plan of lets say a circle. Then execute it asynchronously. After a while I would stop the execution and wait a little. Then I would like to continue with a trajectory I started at the beginig and finish the cirlce. What I did: 1. Compute cartesian plan of a whole circle 2. Asynchronously execute a computed plan 3. rospy.sleep() to simulate a random input signal (waiting for a signal) 4. group.stop() to stop a plan 5. rospy.sleep() actually wait on the place a little 6. Extract all further points from the plan I need to execute 7. group.move() but this is very choppy So I removed points from a plan by plan.joint_trajectory.poinst.pop() but this does not work. It fails during execution that there is no plan for moving group.

Viewing all articles
Browse latest Browse all 1441

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>