Wiki

(!) Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags.

Create your own task

Description: This tutorial explains how to create a task for the robot to execute

Tutorial Level:

Next Tutorial: Schedule your task in the continuous operation queue

Create a package

Start with creating a package with all the code and launch files to run your task. The package must depend on continuous_ops_task_manager, otherwise the task manager won't be able to find your task.

roscreate-pkg my_test_task continuous_ops_task_manager

Now add all your code and launch files to this package.

Task design

Create a task description

Each task has a task description file in the package folder. This file must have an extension .task. For example, you could call your file 'my_task_description.task':

name: 'My task name'
description: 'Description of what this task does'
launch_file: 'my_launch_file.launch'
image_file: 'my_image_file.jpg'
action_ns: 'my_action_ns'

A package can have more than one task specification.

Wiki: continuous_ops/Tutorials/Create your own task (last edited 2010-09-07 21:49:34 by EitanMarderEppstein)