|
Object Hunt
v0.2
Hunts for a not specified object in an unknown environment
|
Ultra sonic measurement response. More...
#include <ObjectHuntDefinitions.h>
Public Attributes | |
| uint32_t | id |
| Identifier. More... | |
| float | distance_front |
| Front sensor distance. More... | |
| float | distance_rear |
| Rear sensor distance. More... | |
| float | distance_left |
| Left sensor distance. More... | |
| float | distance_right |
| Right sensor distance. More... | |
Ultra sonic measurement response.
The base process will answer to each valid ultra sonic request with a response of this type.
| float UltraSonic::Response::distance_front |
Front sensor distance.
Shows the distance to the next obstacle in cm (maximal value is defined in MAX_ULTRA_SONIC_DISTANCE). Contains a negative value, if the sensor was not requested (-1.0) or an error occurred (-2.0) while conducting the measurement.
| float UltraSonic::Response::distance_left |
Left sensor distance.
Shows the distance to the next obstacle in cm (maximal value is defined in MAX_ULTRA_SONIC_DISTANCE). Contains a negative value, if the sensor was not requested (-1.0) or an error occurred (-2.0) while conducting the measurement.
| float UltraSonic::Response::distance_rear |
Rear sensor distance.
Shows the distance to the next obstacle in cm (maximal value is defined in MAX_ULTRA_SONIC_DISTANCE). Contains a negative value, if the sensor was not requested (-1.0) or an error occurred (-2.0) while conducting the measurement.
| float UltraSonic::Response::distance_right |
Right sensor distance.
Shows the distance to the next obstacle in cm (maximal value is defined in MAX_ULTRA_SONIC_DISTANCE). Contains a negative value, if the sensor was not requested (-1.0) or an error occurred (-2.0) while conducting the measurement.
| uint32_t UltraSonic::Response::id |
Identifier.
Is used to map a response to the regarding request. Will be the same identifier as in the respecting request.
1.8.13