Robot Game  v1.0
Research Track part 1 - Assignment
rg_check_srv

SERVICE - rg_check_srv

Provided by:

Used by:

Semantic

The service simply checks if the actual position, i.e. X, is near enough (that is, under a given tolerance) to the target, i.e. Xt.

Service code

# service file name 'rg_check_target_srv'
# actual position
geometry_msgs/Point x
# target position
geometry_msgs/Point xt
---
# is the goal "reached" (i.e. near under a certain tolerance)
bool reached