Closed chenjunnn closed 2 years ago
@chenjun00 While I agree that these changes are necessary, this is a "breaking change" as it modifies the public API of serial_driver
, which is used by other projects (specifically Autoware.Auto). There are also breaking changes requested in #65 so maybe we should just roll these into a new major release? If so, it will be a while before this gets released to the build farm.
@JWhitleyWork Sure. But I wonder how long it will take to the next release, cuz my own project is going to use serial_driver
soon.
example_interfaces
I think the msg published should not copy the whole 2048 size buffer in
serial_port
, so I use thebytes_transferred
andmemcpy
to copy the useful data.And here is the test I've done: Read from ROS:
Transmit from ROS: