Skip to content

Commit

Permalink
Add the github repository to the model, it depends on ipa320/ros2mode…
Browse files Browse the repository at this point in the history
  • Loading branch information
ipa-nhg committed Feb 28, 2024
1 parent 4b8193d commit ffee6c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ros_code_analysis/ros_code_analysis/ros_model_extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def extract_node(self, name, node_name, pkg_name, ns, ws, rossystem):
print(error)
RosModel_node=RosModelMetamodel.Node(name=graph_name)
RosModel_artifact=RosModelMetamodel.Artifact(name=node_name, node=[RosModel_node])
RosModel_package=RosModelMetamodel.Package(name=self.args.package_name, artifact=[RosModel_artifact])
RosModel_package=RosModelMetamodel.Package(name=self.args.package_name, artifact=[RosModel_artifact],fromGitRepo=str(self.args.repo))
#Model file generator
node_generator = ComponentGenerator()
node_generator.generate_a_file(
Expand Down

0 comments on commit ffee6c2

Please sign in to comment.