Robot Game  v1.0
Research Track part 1 - Assignment
rg_services_py.py File Reference

A collection of services the controller needs. More...

Go to the source code of this file.

Namespaces

 rg_services_py
 

Functions

def rg_services_py.rg_get_target_callback (limits)
 Generate a new random target. More...
 
def rg_services_py.rg_check_target_callback (data)
 Check if the distance between two points is less than a given tolerance. More...
 
def rg_services_py.rg_get_vel_callback (data)
 Check if the distance between two points is less than a given tolerance. More...
 
def rg_services_py.services_on_shutdown ()
 Called when shutdown signal is raised. More...
 

Variables

 rg_services_py.srv_get_target = None
 
 rg_services_py.srv_check_target = None
 
 rg_services_py.srv_get_vel = None
 

Detailed Description

A collection of services the controller needs.

Author
Francesco Ganci (S4143910)
Version
1.0
Date
2021-06-25

This file contains the three services the controller needs in order to work:

  • get target randomly generate a new target
  • check target check if the target is reached or not
  • get velocity generate the gelocity for approaching the goal
See also
rg_services.cpp c++ analog implementation of this collection of services
rg_data.py for the names of the services

Definition in file rg_services_py.py.