Stop the specified component from calling its default_action method
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.
Return object in the scene associated to :param name: If it does not exists, throw a MorseRPCInvokationError
Returns a hierarchial dictonary structure of all objects in the scene along with their positions and orientations, formated as a Python string representation. The structure: {object_name: [dict_of_children, position_tuple, quaternion_tuple], object_name: [dict_of_children, position_tuple, quaternion_tuple], ...}
Returns a nested dictionary of the given objects children, recursively. The retun format is as follows:
{blender_object.name: [children_dictionary, position, orientation]}
where children_dictionary is another of the same format, but with the keys being the children of blender_object. This continues down the entire tree structure.
Parameters: | blender_object (KX_GameObject) – The Blender object to return children |
---|
for.
Return a list of the robots in the current scenario
Uses the list generated during the initialisation of the scenario
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
Allow to change the logger level of a specific component
Parameters: |
|
---|
Enable or disable the dynamics for an individual object.
Note: When turning on dynamics, the object will continue with the velocities it had when it was turned off.
Parameters: |
|
---|
Set the visibility of an object in the simulation.
Note: The object will still have physics and dynamics despite being invisible.
Parameters: |
|
---|
object_name is also set.