Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

float("inf") and float("-inf") for python.

std::numeric_limits<sensor_msgs::Range::_range_type>::infinity() for C++. std::numeric_limits<float>::infinity() will also work, but assumes that range will not change to float64 in the future.

On Arduino you can use INFINITY.