You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can communicate with the serial port normally using Cutecom software, but the ROS2 program is not working. I'm not sure if there's a problem with my program. Could you please help me check if there's a problem with my program? Thank you very much.
tungchiahui@Pi5:~/mysource/ROS2_WS/8.ws_compro$ ros2 run cpp01_serial demo01_uart_send [INFO] [1736129436.986553258] [IoContext::IoContext]: Thread(s) Created: 4 [INFO] [1736129436.986623328] [serial_node_cpp]: Serial port Node Open! [INFO] [1736129436.988084220] [serial_node_cpp]: Using device: /dev/ttyUSB0 [INFO] [1736129436.988112644] [serial_node_cpp]: Baud_rate: 9600 [INFO] [1736129436.988131310] [serial_node_cpp]: Serial port initialized [ERROR] [1736129436.988157938] [serial_node_cpp]: Serial port failed to open [INFO] [1736129437.488381391] [serial_node_cpp]: Timer Running [ERROR] [1736129437.488473034] [serial_node_cpp]: Serial port is not available [INFO] [1736129437.988379768] [serial_node_cpp]: Timer Running [ERROR] [1736129437.988461115] [serial_node_cpp]: Serial port is not available [INFO] [1736129438.488382838] [serial_node_cpp]: Timer Running [ERROR] [1736129438.488480480] [serial_node_cpp]: Serial port is not available ^C[INFO] [1736129438.975214732] [rclcpp]: signal_handler(signum=2) tungchiahui@Pi5:~/mysource/ROS2_WS/8.ws_compro$
The text was updated successfully, but these errors were encountered:
I can communicate with the serial port normally using Cutecom software, but the ROS2 program is not working. I'm not sure if there's a problem with my program. Could you please help me check if there's a problem with my program? Thank you very much.
tungchiahui@Pi5:~/mysource/ROS2_WS/8.ws_compro$ ros2 run cpp01_serial demo01_uart_send [INFO] [1736129436.986553258] [IoContext::IoContext]: Thread(s) Created: 4 [INFO] [1736129436.986623328] [serial_node_cpp]: Serial port Node Open! [INFO] [1736129436.988084220] [serial_node_cpp]: Using device: /dev/ttyUSB0 [INFO] [1736129436.988112644] [serial_node_cpp]: Baud_rate: 9600 [INFO] [1736129436.988131310] [serial_node_cpp]: Serial port initialized [ERROR] [1736129436.988157938] [serial_node_cpp]: Serial port failed to open [INFO] [1736129437.488381391] [serial_node_cpp]: Timer Running [ERROR] [1736129437.488473034] [serial_node_cpp]: Serial port is not available [INFO] [1736129437.988379768] [serial_node_cpp]: Timer Running [ERROR] [1736129437.988461115] [serial_node_cpp]: Serial port is not available [INFO] [1736129438.488382838] [serial_node_cpp]: Timer Running [ERROR] [1736129438.488480480] [serial_node_cpp]: Serial port is not available ^C[INFO] [1736129438.975214732] [rclcpp]: signal_handler(signum=2) tungchiahui@Pi5:~/mysource/ROS2_WS/8.ws_compro$
The text was updated successfully, but these errors were encountered: