Hey everybody, I asked in the #dev-team channel on Discord about the coding standard.
In the code, Iβm seeing a lot of private member variables with the prefix _ but in the documentation it says to use it as a suffix. Source Code Management | PX4 User Guide
It is also how it is defined in the Google C++ Style guide: Google C++ Style Guide
So, Iβm wondering which one you prefer?

Hereβs an example of the source code:
Also while talking with @hamishwillee, we were wondering if we should either add a note in the PX4 documentation that, although some of the code might not follow the coding standard, but it should follow it. In addition, the idea was brought if we would like to apply a linting to the code.
1 Like