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

Using actionLib to create a turtlesim motion sequence

asked 2012-01-16 07:56:16 -0500

Paul0nc gravatar image

I'm trying to send a sequence of motions to turtlesim. My larger program does a lot of processing before arriving at an angle1-distanceForward-angle2 command sequence. Sending messages to turtlesim does not work. After messages are published, processing begins again and the messages may be squashed by the next command sequence.

So, I'm trying to create a actionlib server/client to wait for the sequence to complete before resuming my other processing.

1) Is this a valid way to go about this and 2) Looking at turtle_actionlib, where is the file ShapeAction.h?

Thanks, Paul.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-01-16 08:54:51 -0500

dornhege gravatar image

updated 2012-01-16 08:55:54 -0500

1) yes, it is. Actionlib is intended for such things that take time and you want to wait for/observe.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-01-16 07:56:16 -0500

Seen: 348 times

Last updated: Jan 16 '12