During my implemented algorithm, I am calculating certain parameters. Now I created a new topic for these and published the corresponding values. As far as I can tell, this worked (not sure though, but I don't get any compile errors).
Now, I want to somehow plot these values. Therefore, I added a
add_topic line in the file
logger.cpp. Can this work and if not, how can I plot these topic values? Because when analyzing the resulting log files, there is my topic mentioned (after converting to a txt file), but when trying to make plots, it doesn't come up in the list.
Does anybody can give me a hint, or maybe even a better alternative to get these parameters out of my code to analyze them? (Until now, I could only
printf them to the terminal.
Thank you and regards!