-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
proximity: moved configuration into it's own service
- Loading branch information
Showing
2 changed files
with
14 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,3 @@ | ||
# Reports the instantaneous measurement of a proximity sensor. | ||
|
||
# Radiation enumerations. | ||
uint8 UNSPECIFIED=255 | ||
uint8 ULTRASOUND=0 | ||
uint8 INFRARED=1 | ||
uint8 RADAR=2 | ||
|
||
uint8 radiation_type # The type of radiation used by the sensor (e.g. ULTRASOUND, INFRARED, RADAR) | ||
|
||
float32 min_range # The minimum detection range of the sensor [m] | ||
float32 max_range # The maximum detection range of the sensor [m] | ||
float32 field_of_view # The maximum FoV of the sensor [rad] | ||
|
||
bool proximity # Reports TRUE if proximity is detected, otherwise FALSE. | ||
|
||
string frame_id # The ID of the measurement frame. | ||
bool proximity # Reports TRUE if proximity is detected, otherwise FALSE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Retrieves the configuration of a proximity sensor. | ||
|
||
--- | ||
uint8 radiation_type # The type of radiation used by the sensor. | ||
uint8 RADIATION_TYPE_UNSPECIFIED=255 | ||
uint8 RADIATION_TYPE_ULTRASOUND=0 | ||
uint8 RADIATION_TYPE_INFRARED=1 | ||
uint8 RADIATION_TYPE_RADAR=2 | ||
|
||
float32 min_range # The minimum detection range of the sensor [m] | ||
float32 max_range # The maximum detection range of the sensor [m] | ||
|
||
float32 field_of_view # The maximum FoV of the sensor [rad] |