meta-control / mc_mros_reasoner

library for metacontrol-based self-adaptation using ontological reasoning, with wrappers for robotic systems based on ROS1 and ROS2
Apache License 2.0
7 stars 10 forks source link

Define correct path to store debug logs #100

Open marioney opened 4 years ago

marioney commented 4 years ago

We're saving copies of the ontology (e.g.)

https://github.com/tud-cor/mc_mros_reasoner/blob/44d3dab479426a1068ccf6da566c9929ed6a49c0/mros1_reasoner/scripts/mros1_reasoner.py#L113

But I'm not sure where it is being stored.

@chcorbato should we store this on a specific folder? or give it as parameter?

chcorbato commented 4 years ago

It is saved for debugging purposes, to store the running state of the KB. Currently the file is saved in ~/.ros (I think because that is the execution space for ROS nodes and a relative path is given, but maybe @gavanderhoorn can explain better), maybe it is better to save it in ~/.ros/log? I do not think we need to configure the path with a parameter.