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

Two other options are:

First, if you are using float/double, you can use NaN to indicate absence of value.

Second, define new custom message called float32opt.msg like this:

float32 my_val
bool valid

Then use that type in your messages:

float32opt thrust
float32opt yaw