Skip to content

Commit

Permalink
Updates method comment for setMotorPIDConstants
Browse files Browse the repository at this point in the history
  • Loading branch information
Geeoon committed Nov 9, 2024
1 parent 7c19f21 commit 4822cdf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CAN/CANMotor.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ void initPotentiometer(deviceserial_t serial, int32_t posLo, int32_t posHi, uint
/**
* @brief Set the PID constants for a motor board.
*
* Note that the PID constants are specified in units of 10000, so a 1 is interpreted as a
* 10000. This is because the controller operates on millidegrees.
* Note that the PID constants are specified in units of 1000, so a 1 is interpreted as a
* 1000. This is because the controller operates on millidegrees.
*
* @param serial The CAN serial number of the motor board.
* @param kP The P coefficient.
Expand Down

0 comments on commit 4822cdf

Please sign in to comment.