Skip to content

Commit

Permalink
Fix setTankCmdVel declaration location
Browse files Browse the repository at this point in the history
  • Loading branch information
quinnmp committed May 25, 2024
1 parent 28b4573 commit bb9796b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 10 additions & 0 deletions src/control_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,16 @@ namespace robot {
*/
double setCmdVel(double dtheta, double dx);

/**
* @brief Request the robot to drive in tank style, where each side is controlled individually.
*
* @param left The left velocity.
* @param right The right velocity.
* @return double If the requested velocities are too high, they will be scaled down.
* The returned value is the scale divisor. If no scaling was performed, 1 is returned.
*/
double setTankCmdVel(double left, double right);

/**
* @brief Set the power of the specified joint.
*
Expand Down
10 changes: 0 additions & 10 deletions src/world_interface/world_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,16 +81,6 @@ void emergencyStop();
*/
bool isEmergencyStopped();

/**
* @brief Request the robot to drive in tank style, where each side is controlled individually.
*
* @param left The left velocity.
* @param right The right velocity.
* @return double If the requested velocities are too high, they will be scaled down.
* The returned value is the scale divisor. If no scaling was performed, 1 is returned.
*/
double setTankCmdVel(double left, double right);

/**
* @brief Get the IDs of the currently supported cameras.
*
Expand Down

0 comments on commit bb9796b

Please sign in to comment.