mirror of
https://github.com/westonrobot/ugv_sdk
synced 2023-04-08 06:32:14 +08:00
saved work on cmd timeout, not tested yet
This commit is contained in:
@@ -107,7 +107,7 @@ void AsyncCAN::SendFrame(const can_frame &frame) {
|
||||
asio::buffer(&frame, sizeof(frame)),
|
||||
[](asio::error_code error, size_t bytes_transferred) {
|
||||
if (error) {
|
||||
std::cerr << "Failed to send CAN frame";
|
||||
std::cerr << "Failed to send CAN frame" << std::endl;
|
||||
}
|
||||
// std::cout << "frame sent" << std::endl;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user