You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There should be a python module importable by import packagename.action.actioname which contains everything needed to use actions in python.
Feature description
The module needs to have references to all the types a user needs to interface with actions. This should follow the same model as services since a service type support includes two message type supports.
Implementation considerations
The service python object imports the generated python objects for the request and response message. The action module should import the generated python objects for the services and message it uses as well as the common cancel service and status message.
The python object for services is just a class with two class members: Request and Response. Actions could be a class with 3 members: SendGoal, GetResult, and Feedback
Feature request
There should be a python module importable by
import packagename.action.actioname
which contains everything needed to use actions in python.Feature description
The module needs to have references to all the types a user needs to interface with actions. This should follow the same model as services since a service type support includes two message type supports.
Implementation considerations
The service python object imports the generated python objects for the request and response message. The action module should import the generated python objects for the services and message it uses as well as the common cancel service and status message.
rosidl_python/rosidl_generator_py/resource/_srv.py.em
Lines 35 to 41 in deab237
The python object for services is just a class with two class members:
Request
andResponse
. Actions could be a class with 3 members:SendGoal
,GetResult
, andFeedback
rosidl_python/rosidl_generator_py/resource/_srv.py.em
Lines 44 to 46 in deab237
connects to ros2/ros2#583
The text was updated successfully, but these errors were encountered: