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

Actions and nested goal states

asked 2022-12-23 07:50:30 -0500

NotARobot gravatar image

Greetings. Since it is possible that a array is a data structure for an action goal, I would assume that more complex data structures may also be possible. I would like to give my action server a list of poses so it can calculate and execute a path.

How can I define a nested data structure inside my action in order to hold the poses?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2022-12-23 08:45:09 -0500

clyde gravatar image

You can nest message types inside message types, service types and action types in both ROS1 and ROS2.

See section 2.1.1 of the documentation

See a tutorial

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2022-12-23 07:50:30 -0500

Seen: 80 times

Last updated: Dec 23 '22