Skip to content

TypeError: unhashable type: 'Interface' #4

@chcorbato

Description

@chcorbato

Hi,

I have tried to run yaml_snapshot but I get the following error:

$ rosrun ros_graph_parser yaml_snapshot mros_reasoner.yaml
Traceback (most recent call last):
  File "/home/chcorbato/abb_mros/src/ros_graph_parser/scripts/yaml_snapshot", line 15, in <module>
    snapshot = rg.create_ros_graph_snapshot()
  File "/home/chcorbato/abb_mros/src/ros_graph_parser/src/ros_graph_parser/snapshot.py", line 62, in create_ros_graph_snapshot
    node.publishers.add(rg.Interface(pub, topics_dict[pub]))
TypeError: unhashable type: 'Interface'

Not sure if I'm doing something wrong.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions