services Package

communication_services Module

distance_and_view(robot1, robot2)[source]

Return the distance between the two robots, and a boolean which described if one can view the other.

supervision_services Module

activate(component_name)[source]

Enable the functionality of the component specified

deactivate(component_name)[source]

Stop the specified component from calling its default_action method

details()[source]

Returns a structure containing all possible details about the simulation currently running, including the list of robots, the list of services and datastreams, the list of middleware in use, etc.

list_robots()[source]

Return a list of the robots in the current scenario

Uses the list generated during the initialisation of the scenario

quit()[source]

Cleanly quit the simulation

reset_objects()[source]

Restore all simulation objects to their original position

Upon receiving the request using sockets, call the ‘reset_objects’ function located in morse/blender/main.py

restore_dynamics()[source]

Resumes physics for all object in the scene.

suspend_dynamics()[source]

Suspends physics for all object in the scene.

terminate()[source]

Terminate the simulation (no finalization done!)

Table Of Contents

Previous topic

sensors Package

Next topic

testing Package

This Page