morse.services package

Submodules

morse.services.communication_services module

class Communication[source]

Bases: AbstractObject

action()[source]
distance_and_view(robot1, robot2)[source]

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

name()[source]

The name of the component, as appearing when exposing services for instance.

morse.services.supervision_services module

morse.services.time_services module

class TimeServices[source]

Bases: AbstractObject

action()[source]
mode()[source]

Return the current time management mode

name()[source]

The name of the component, as appearing when exposing services for instance.

now()[source]

Return the simulator time, in seconds, since Epoch

set_time_scale(value)[source]

Modify the time_scale parameter, allowing to slowing or accelerating time

sleep(callback, *param)

Sleep for time seconds

Param:

a float representing the time to wait (in second)

statistics()[source]

Return various statistics associated to the specific time management mode

Module contents