- Netherlands
- https://wessel.gg
-
Hey there, I'm Wessel. I like to keep things simple.
That's also why I like to use C.
- Joined on
2025-08-14
Enums can also be overloaded with the << operator to support printing them to the console
Isn't there a way to do this with something like an enum? This is a very bad way to communicate states inbetween classes. I'd personally do this with a statuscode that can be mapped to an enum if ros2 doesn't support this
Formatting, and I personally prefer to either comment unused variables, prefix them with _ or name them a _ outright.
Please check formatting of all documents, also see a lot of { on newlines
Explain why it is in a separate thread, it is quite self explanatory that it is executed in a separate thread, but why?
Same counts for here, add a comment if you need to clarify why this is done, but most compilers know to ignore _ named variables.