Skip to content

Commit

Permalink
Update pololu related classes to indicate that baudrate is only used …
Browse files Browse the repository at this point in the history
…on Windows
  • Loading branch information
fspindle committed Nov 17, 2023
1 parent cb4642d commit 39f501c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions modules/robot/include/visp3/robot/vpPololu.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class VISP_EXPORT vpPololu
* You can set velocity commands using setPwmVelocity() or setAngularVelocity().
*
* \param[in] device : Serial device name to dial with Pololu board.
* \param[in] baudrate : Baudrate used to dial with Pololu board.
* \param[in] baudrate : Baudrate used to dial with Pololu board. Note that this parameter is only used on Windows.
* \param[in] channel : Channel to which the servo is connected to the Pololu board.
* \param[in] verbose : When true enable verbose mode.
*/
Expand All @@ -113,7 +113,7 @@ class VISP_EXPORT vpPololu
* Open a connection with the Pololu board.
*
* \param[in] device : Serial device name to dial with Pololu board.
* \param[in] baudrate : Baudrate used to dial with Pololu board.
* \param[in] baudrate : Baudrate used to dial with Pololu board. Note that this parameter is only used on Windows.
* \param[in] channel : Channel to which the servo is connected to the Pololu board.
*/
void connect(const std::string &device, int baudrate, int channel);
Expand Down
2 changes: 1 addition & 1 deletion modules/robot/include/visp3/robot/vpRobotPololuPtu.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class VISP_EXPORT vpRobotPololuPtu : public vpRobot
* Default constructor.
*
* \param[in] device : Name of the serial interface used for communication.
* \param[in] baudrate : Baudrate used for the serial communication.
* \param[in] baudrate : Baudrate used for the serial communication. Note that this parameter is only used on Windows.
* \param[in] verbose : When true, enable verbose mode.
*/
vpRobotPololuPtu(const std::string &device = "/dev/ttyACM0", int baudrate = 9600, bool verbose = false);
Expand Down

0 comments on commit 39f501c

Please sign in to comment.