Serial communication using cpp for ROS