modm API documentation
|
#include <modm/communication/ros/ros_modm_hardware.hpp>
Public Member Functions | |
void | init () |
int | read () |
void | write (uint8_t *data, int length) |
unsigned long | time () |
Interface between rosserial and actual hardware. Must provide: void init() To initialize. Called from the NodeHandle::initNode.
int read() To read a single character from the bytestream. If no character to read, then return -1.
void write(uint8_t* data, int length) To write multiple characters to the bytestream.
unsigend long time() Get time in milliseconds since start. Monotonic increasing clock.