Programmers, use this concise guide to help you quickly comment your code!
/**
* @file ExampleFile.c
* @brief Description stating the purpose of the file.
*
* @author FirstName LastName 687_ example@gmail.com
* @author FirstName LastName 687_ example@gmail.com
*
**/
/////////////////////////////////////////////////////////////////////////////////////////
//
// Section Name
//
/////////////////////////////////////////////////////////////////////////////////////////
/**
* Description about what the function does
* and any notes for other developers.
*
* @param parameterName parameter description goes here
* @param parameterName parameter description goes here
*
**/
void forward(int ticks, int speed=80) { ... }
// describe a line or group of lines here
/* one line comment of text */
[insert code] // half-line comment
- @warning warning for other developers
- @bug bugs in the program that need to be fixed
- @details more indepth description
- @todo something that needs to be done
- etc...
/** Drive used: Standard Drivetrain/Skid-Steer-Drive
* Skid-Steer-Drive configuration:
* FL FR
* XXXX XXXX
* XXXX XXXX
* XXXX XXXX
* XXXXXXXXXXXXXXXXXXXX
* XXXXXXXXXXXXXXXXXXXX
* XXXX XXXX
* XXXX XXXX
* BL BR
*/
/** Drive used: H-Drive
* H-Drive configuration:
* FL FR
* XXXX XXXX
* XXXX XXXX
* XXXX XXXX
* XXXXXXX MW XXXXXXX
* XXXXXXXXXXXXXXXXXXXX
* XXXX XXXX
* XXXX XXXX
* BL BR
*/
/** Drive used: Holonomic Drive/X-Drive
* X-drive configuration:
* X FRONT X
* X X
* X FL FR X
* X
* AXIS
* X
* X BL BR X
* X X
* X BACK X
**/
Programmers, refer to this when programming driver-based control!