morse.multinode package

Submodules

morse.multinode.hla module

class HLANode(name, server_address, server_port)[source]

Bases: morse.core.multinode.SimulationNodeClass

Implements multinode simulation using HLA.

federation = 'MORSE'
finalize()[source]

Close all open HLA connections.

fom = 'morse.fed'
initialize()[source]

Initialize the MORSE node.

synchronize()[source]

Synchronize simulation nodes. Publishes node’s robots to the other simulation nodes and update node’s external robots from data published by other simulation nodes.

time_sync = False
class MorseAmbassador(rtia, federation, time_regulation, timestep, lookahead)[source]

Bases: morse.middleware.hla_datastream.MorseBaseAmbassador

The Federate Ambassador of the MORSE node.

discoverObjectInstance(object, objectclass, name)[source]
initialize()[source]
reflectAttributeValues(object, attributes, tag, order, transport, time=None, retraction=None)[source]

morse.multinode.socket module

class SocketNode(name, server_address, server_port)[source]

Bases: morse.core.multinode.SimulationNodeClass

Implements multinode simulation using sockets.

finalize()[source]

Close the communication socket.

initialize()[source]

Create the socket that will be used to commmunicate to the server.

out_data = {}
synchronize()[source]

Synchronize simulation nodes. Publishes node’s robots to the other simulation nodes and update node’s external robots from data published by other simulation nodes.

update_scene(in_data, scene)[source]

Module contents