Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos in motors/motor groups docs #605

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions include/pros/motor_group.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,7 @@ class MotorGroup : public virtual AbstractMotor {
*
* EDOM - THe motor group is empty
*
* \return A vecotr containing each motor's efficiency in percent or PROS_ERR_F if the operation
* \return A vector containing each motor's efficiency in percent or PROS_ERR_F if the operation
* failed, setting errno.
*
* \b Example
Expand Down Expand Up @@ -1106,7 +1106,7 @@ class MotorGroup : public virtual AbstractMotor {
* ENODEV - The port cannot be configured as a motor
* EDOM - The motor group is empty
*
* \return A vecotr of each motor's temperature in degrees Celsius or PROS_ERR_F if the
* \return A vector of each motor's temperature in degrees Celsius or PROS_ERR_F if the
* operation failed, setting errno.
*
* \b Example
Expand Down Expand Up @@ -1319,7 +1319,7 @@ class MotorGroup : public virtual AbstractMotor {
*/
std::int32_t is_over_temp(const std::uint8_t index = 0) const;
/**
* Gets a vecotr with the temperature limit flag for each motor in the motor group.
* Gets a vector with the temperature limit flag for each motor in the motor group.
*
* This function uses the following values of errno when an error state is
* reached:
Expand Down Expand Up @@ -1376,7 +1376,7 @@ class MotorGroup : public virtual AbstractMotor {
*/
MotorBrake get_brake_mode(const std::uint8_t index = 0) const;
/**
* Gets a vecotr with the brake mode that was set for each motor in the motor group.
* Gets a vector with the brake mode that was set for each motor in the motor group.
*
* This function uses the following values of errno when an error state is
* reached:
Expand Down
2 changes: 1 addition & 1 deletion include/pros/motors.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1671,7 +1671,7 @@ class Motor : public AbstractMotor, public Device {
* ENODEV - The port cannot be configured as a motor
*
*
* \return A vecotr containing 1 for moving in the positive direction, -1 for moving in the
* \return A vector containing 1 for moving in the positive direction, -1 for moving in the
* negative direction, and PROS_ERR if the operation failed, setting errno.
*
* \b Example
Expand Down