Robot Game
v1.0
Research Track part 1 - Assignment
|
Functions | |
def | get_new_target () |
Ask the service for a new target to reach. More... | |
def | rg_controller_callback (pose) |
The main callback of the node. More... | |
def | controller_on_shutdown () |
Called when shutdown signal is raised. More... | |
Variables | |
sim_input = None | |
Topic handler from the simulation environment (Subscriber) 'base_pose_ground_truth'. More... | |
sim_output = None | |
Topic handler to the simulation environment (Publisher) 'cmd_vel'. More... | |
srv_check_target = None | |
Service entry point for checking if the target is reached. More... | |
srv_get_target = None | |
Service entry point for requiring a nwe random target. More... | |
srv_get_vel = None | |
Service entry point for getting a linear planar twist. More... | |
xt = None | |
The actual target (geometry_msgs/Point) More... | |
def rg_controller_py.controller_on_shutdown | ( | ) |
Called when shutdown signal is raised.
Definition at line 99 of file rg_controller_py.py.
def rg_controller_py.get_new_target | ( | ) |
Ask the service for a new target to reach.
Definition at line 51 of file rg_controller_py.py.
def rg_controller_py.rg_controller_callback | ( | pose | ) |
The main callback of the node.
pose | (nav_msgs/Odometry) the actual posture of the robot |
This callback is called when a new position comes from the simulated environment via 'base_pose_ground_truth'.
It works in this way:
Definition at line 78 of file rg_controller_py.py.
rg_controller_py.sim_input = None |
Topic handler from the simulation environment (Subscriber) 'base_pose_ground_truth'.
Definition at line 29 of file rg_controller_py.py.
rg_controller_py.sim_output = None |
Topic handler to the simulation environment (Publisher) 'cmd_vel'.
Definition at line 32 of file rg_controller_py.py.
rg_controller_py.srv_check_target = None |
Service entry point for checking if the target is reached.
Definition at line 35 of file rg_controller_py.py.
rg_controller_py.srv_get_target = None |
Service entry point for requiring a nwe random target.
Definition at line 38 of file rg_controller_py.py.
rg_controller_py.srv_get_vel = None |
Service entry point for getting a linear planar twist.
Definition at line 41 of file rg_controller_py.py.
def rg_controller_py.xt = None |
The actual target (geometry_msgs/Point)
Definition at line 44 of file rg_controller_py.py.