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-typesHow to generate
mix rclex.gen.actionIt is required to generate the msg types for goal, result and feedback of each action type first by running
mix rclex.gen.msgsHow to clean
mix rclex.gen.action --clean