change binary mode
This commit is contained in:
@@ -70,7 +70,8 @@ private:
|
||||
RCLCPP_INFO(this->get_logger(), "Serial port opened on /dev/ttyACM0");
|
||||
}
|
||||
|
||||
serial_port.write({BINARY_MODE});
|
||||
char bmode[] = {BINARY_MODE}
|
||||
serial_port.write(bmode, 4);
|
||||
}
|
||||
|
||||
rclcpp::TimerBase::SharedPtr timer_;
|
||||
|
||||
Reference in New Issue
Block a user