Skip to content

Commit

Permalink
added logger to rppico_comms
Browse files Browse the repository at this point in the history
  • Loading branch information
VincidaB committed Apr 23, 2024
1 parent 87db0f8 commit 2e544e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class RpPicoComs

void connect(const std::string &serial_device, int32_t baud_rate, int32_t timeout_ms)
{
std::cout << "Connecting to serial device: " << serial_device << " at baud rate: " << baud_rate << std::endl;
timeout_ms_ = timeout_ms;
serial_conn_.Open(serial_device);
serial_conn_.SetBaudRate(convert_baud_rate(baud_rate));
Expand Down
2 changes: 1 addition & 1 deletion src/ezbot_robot/description/ros2_control.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<param name="back_wheel_name">roue_arriere_joint</param>
<param name="right_wheel_name">roue_droite_joint</param>

<param name="loop_rate">30.0</param>
<param name="loop_rate">30</param>
<param name="device">/dev/ttyAMA1</param>
<param name="baudrate">115200</param>

Expand Down

0 comments on commit 2e544e3

Please sign in to comment.