You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary
It would be good to know what our code does. The C++ code currently has little/no docstrings for each function.
The objective of this ticket is to add docstrings to the header files of the drivetrain code. This includes Drivetrain.h and DrivetrainIO.h. In each header file, each function should have a docstring that looks like this:
/**
* Summary of what this function does
*
* @param arg1 Description of arg1
* @param arg2 Description of arg2
* ...
* @param argN Description of argN
* @return Description of what returns (and in some cases why)
*/
return_type function_name(data_type arg1, data_type arg2, ..., data_type argN);
So for example:
/**
* Sets the speed modifier variable used to scale the power of user input.
*
* @param speed_mod New speed modifier to set
* @return True on success, false on failure
*/
bool SetSpeedModifier(const double &speed_mod);
Work To Do
Add docstrings in the prescribed format for the drivetrain code
Verification
Inspection
Deferred Work
Use doxygen to compile the documentation into an API
The text was updated successfully, but these errors were encountered:
Summary
It would be good to know what our code does. The C++ code currently has little/no docstrings for each function.
The objective of this ticket is to add docstrings to the header files of the drivetrain code. This includes Drivetrain.h and DrivetrainIO.h. In each header file, each function should have a docstring that looks like this:
So for example:
Work To Do
Verification
Deferred Work
The text was updated successfully, but these errors were encountered: