Skip to content

Commit

Permalink
proximity: moved configuration into it's own service
Browse files Browse the repository at this point in the history
  • Loading branch information
pcdangio committed Aug 18, 2020
1 parent 09ad9e5 commit 193d1bd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 15 deletions.
16 changes: 1 addition & 15 deletions msg/proximity.msg
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.
13 changes: 13 additions & 0 deletions srv/get_proximity_configuration.srv
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]

0 comments on commit 193d1bd

Please sign in to comment.