How to publish +Inf and -Inf in sensor_msgs/Range?
From the documentation, if value of sonar is more than max range, +Inf should be published. Similarly for min range and -Inf. But how do I do that? The script would only accept float values.