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

Revision history [back]

click to hide/show revision 1
initial version

From message definition http://docs.ros.org/hydro/api/std_msgs/html/msg/UInt8.html

std_msgs::UInt8 perturbedmsg;
perturbedmsg.data = currStatus.sonarSensor;