General practice for writing application data to file at runtime

asked 2021-11-13 18:04:45 -0500

thejeeb gravatar image

I'm running a ros2 application. I need to write some application data to file during the execution of my application. What is the general practice of doing this i.e. what folder do I write this to? Is it the log folder for the current session? If so, how do I determine the path to this folder at runtime through an API?

edit retag flag offensive close merge delete