[ENHANCEMENT] Replace #define constants with const variables in run_dynamics_fast #10
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Relation
The MATLAB mex function,
run_dynamics_fast
is used by multiple repositories, includingem-model-manned-bayes
to simulate aircraft trajectories with a 6DOF physics model. There are various#define
statements that define constants.Description
Per the Google C++ Style Guide for preprocessor macros:
Alternatives
Using
const
instead of#define
is a good best practice and should be implemented.Additional
While the contributing guidelines does not define a style guide for C++, we currently recommend the Google C++ Style Guide for this issue.
The text was updated successfully, but these errors were encountered: