Ask Your Question
0

What is the most efficient way to control and manage task nodes?

asked 2017-04-13 17:02:04 -0600

mclambchops gravatar image

Mainly, starting a task node if a sensor condition is met, running the task node (sensing, processing, and actuating necessary to complete goal), ending the task upon meeting end condition, and repeating the process for the next task. I am very new to ROS, so any help would be appreciated.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2017-04-13 17:53:53 -0600

NEngelhard gravatar image

This is normally done as an action. Your task node will run an action server and wait until the action is requested by another node. After finishing the task, your node will simply wait again until it is used again.

edit flag offensive delete link more

Comments

Thank you. Looking into it now.

mclambchops gravatar imagemclambchops ( 2017-04-13 18:06:17 -0600 )edit

Could actionlib be used also for different tasks such as navigation and manipulation? For example, patrolling around in a room and once you spot small objects on the ground, pick them up, place them on a table and continue patrolling. Can a behavior like this be implemented with actionlib?

dmkarage gravatar imagedmkarage ( 2018-09-25 07:54:57 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-04-13 17:02:04 -0600

Seen: 46 times

Last updated: Apr 13 '17