mix rclex.gen.action (Rclex (Experimental) v0.12.0)

Copy Markdown View Source

Generate codes of ROS 2 action type

Before generating, specifing action types in config.exs is needed.

config :rclex, ros2_action_types: ["tf2_msgs/action/LookupTransform"]

If ros2_action_types is empty, this task generates no action types and keeps action support stubs in place.

Info

Be careful, ros2 action type is case sensitive.

How to show action types

mix rclex.gen.action --show-types

How to generate

mix rclex.gen.action

It is required to generate the msg types for goal, result and feedback of each action type first by running

mix  rclex.gen.msgs

How to clean

mix rclex.gen.action --clean