CRINSA-team2024 2024
Documentation du Club Robot INSA Rennes 2024
Chargement...
Recherche...
Aucune correspondance
Référence de la classe robot_client.RobotClient

Est dérivée de ClientGS.

Fonctions membres publiques

 __init__ (self, ID, my_pos_getter, ip="192.168.12.1", port=_BEACON_PORT)
 

Fonctions membres protégées

 _get_my_pos (self)
 

Description détaillée

Inherit from GlobalSync client and run on the robots in order to give our pos to the other

Args:
    ClientGS (class): GlobalSync client

Documentation des constructeurs et destructeur

◆ __init__()

robot_client.RobotClient.__init__ ( self,
ID,
my_pos_getter,
ip = "192.168.12.1",
port = _BEACON_PORT )
Init the client

Args:
    ID (int): my robot id
    my_pos_getter (function): my position getter (ex : wheeledbase.get_position())
    ip (str, optional): server ip. Defaults to "192.168.12.1".
    port (int, optional): server port. Defaults to _BEACON_PORT.

Documentation des fonctions membres

◆ _get_my_pos()

robot_client.RobotClient._get_my_pos ( self)
protected
Return my pos from the wheeledbase

Returns:
    [type]: [description]
Voici le graphe des appelants de cette fonction :

La documentation de cette classe a été générée à partir du fichier suivant :