Skip to content

ActionSpecification in rosidl_adapter.parser missing attributes. #829

@InvincibleRMC

Description

@InvincibleRMC

Bug report

While doing #828 I noticed the following.

Required Info:

In this definition there is no goal_service or result_service.

class ActionSpecification:
def __init__(self, pkg_name, action_name, goal, result, feedback):
self.pkg_name = pkg_name
self.action_name = action_name
assert isinstance(goal, MessageSpecification)
self.goal = goal
assert isinstance(result, MessageSpecification)
self.result = result
assert isinstance(feedback, MessageSpecification)
self.feedback = feedback

But they are used here

elif isinstance(spec, ActionSpecification):
spec_type = 'Action'
fields = []
for service in [spec.goal_service, spec.result_service]:
fields += service.request.fields
fields += service.response.fields

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions