Show EOL distros:
Package Summary
turtle_actionlib demonstrates how to write an action server and client with the turtlesim. The shape_server provides and action interface for drawing regular polygons with the turtlesim.
- Author: Melonee Wise
- License: BSD
- Repository: ros-pkg
- Source: svn https://code.ros.org/svn/ros-pkg/stacks/common_tutorials/tags/common_tutorials-0.1.2
Package Summary
turtle_actionlib demonstrates how to write an action server and client with the turtlesim. The shape_server provides and action interface for drawing regular polygons with the turtlesim.
- Author: Melonee Wise
- License: BSD
- Source: svn https://code.ros.org/svn/ros-pkg/stacks/common_tutorials/branches/common_tutorials-0.1
Package Summary
turtle_actionlib demonstrates how to write an action server and client with the turtlesim. The shape_server provides and action interface for drawing regular polygons with the turtlesim.
- Author: Melonee Wise
- License: BSD
- Source: svn https://code.ros.org/svn/ros-pkg/stacks/common_tutorials/trunk
Package Summary
turtle_actionlib demonstrates how to write an action server and client with the turtlesim. The shape_server provides and action interface for drawing regular polygons with the turtlesim.
- Maintainer: Daniel Stonier <d.stonier AT gmail DOT com>
- Author: Melonee Wise
- License: BSD
- Bug / feature tracker: https://github.com/ros/common_tutorials/issues
- Source: git https://github.com/ros/common_tutorials.git (branch: None)
Package Summary
turtle_actionlib demonstrates how to write an action server and client with the turtlesim. The shape_server provides and action interface for drawing regular polygons with the turtlesim.
- Maintainer status: maintained
- Maintainer: Daniel Stonier <d.stonier AT gmail DOT com>
- Author: Melonee Wise
- License: BSD
- Bug / feature tracker: https://github.com/ros/common_tutorials/issues
- Source: git https://github.com/ros/common_tutorials.git (branch: hydro-devel)
Package Summary
turtle_actionlib demonstrates how to write an action server and client with the turtlesim. The shape_server provides and action interface for drawing regular polygons with the turtlesim.
- Maintainer status: maintained
- Maintainer: Daniel Stonier <d.stonier AT gmail DOT com>
- Author: Melonee Wise
- License: BSD
- Bug / feature tracker: https://github.com/ros/common_tutorials/issues
- Source: git https://github.com/ros/common_tutorials.git (branch: indigo-devel)
Package Summary
turtle_actionlib demonstrates how to write an action server and client with the turtlesim. The shape_server provides and action interface for drawing regular polygons with the turtlesim.
- Maintainer status: maintained
- Maintainer: Daniel Stonier <d.stonier AT gmail DOT com>
- Author: Melonee Wise
- License: BSD
- Bug / feature tracker: https://github.com/ros/common_tutorials/issues
- Source: git https://github.com/ros/common_tutorials.git (branch: hydro-devel)
Package Summary
turtle_actionlib demonstrates how to write an action server and client with the turtlesim. The shape_server provides and action interface for drawing regular polygons with the turtlesim.
- Maintainer status: maintained
- Maintainer: Daniel Stonier <d.stonier AT gmail DOT com>
- Author: Melonee Wise
- License: BSD
- Bug / feature tracker: https://github.com/ros/common_tutorials/issues
- Source: git https://github.com/ros/common_tutorials.git (branch: indigo-devel)
Package Summary
turtle_actionlib demonstrates how to write an action server and client with the turtlesim. The shape_server provides and action interface for drawing regular polygons with the turtlesim.
- Maintainer status: maintained
- Maintainer: Daniel Stonier <d.stonier AT gmail DOT com>
- Author: Melonee Wise
- License: BSD
- Bug / feature tracker: https://github.com/ros/common_tutorials/issues
- Source: git https://github.com/ros/common_tutorials.git (branch: indigo-devel)
Package Summary
turtle_actionlib demonstrates how to write an action server and client with the turtlesim. The shape_server provides and action interface for drawing regular polygons with the turtlesim.
- Maintainer status: maintained
- Maintainer: Daniel Stonier <d.stonier AT gmail DOT com>
- Author: Melonee Wise
- License: BSD
- Bug / feature tracker: https://github.com/ros/common_tutorials/issues
- Source: git https://github.com/ros/common_tutorials.git (branch: indigo-devel)
Package Summary
turtle_actionlib demonstrates how to write an action server and client with the turtlesim. The shape_server provides and action interface for drawing regular polygons with the turtlesim.
- Maintainer status: maintained
- Maintainer: Daniel Stonier <d.stonier AT gmail DOT com>
- Author: Melonee Wise
- License: BSD
- Bug / feature tracker: https://github.com/ros/common_tutorials/issues
- Source: git https://github.com/ros/common_tutorials.git (branch: noetic-devel)
Contents
Overview
This tutorial package provides a shape_server and example shape_client for drawing regular polygons with the turtlesim_node. The default client will draw a pentagon in turtlesim.
The Shape.action is defined below:
#goal definition int32 edges float32 radius --- #result definition float32 interior_angle float32 apothem --- #feedback
Running the Tutorial Code
To run the default example, start by getting the required dependencies and making the package.
$ rosdep install turtle_actionlib $ rosmake turtle_actionlib
Then in separate terminals rosrun the following nodes:
$ rosrun turtlesim turtlesim_node $ rosrun turtle_actionlib shape_server $ rosrun turtle_actionlib shape_client
You will see: