ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

Rosserial may not be what you need to use in this case, rosserial is designed to be used with micro-controllers where you are writing the firmware yourself. It gives you access to a limited set of ROS message handling functions directly from the micro-controller code.

If you're writing the firmware of the battery management system yourself then you could use rosserial for this. If the hardware already has it own firmware and you need to read and write data to the serial port to communicate with it then you'll need to use a conventional serial library for this.

I've used boost io in C++ for this before, or you could use pySerial if you're working in python.