SELAB3 Python Code
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
environment.sidechannels.creation_sc.CreationSC Class Reference

Side channel to create the robot arm. More...

Inheritance diagram for environment.sidechannels.creation_sc.CreationSC:

Public Member Functions

None __init__ (self)
 The CreationSC class initializer.
 
None send_build_command (self, str urdf)
 Send urdf string to environment via side channel. More...
 
None on_message_received (self, IncomingMessage msg)
 Is called when the python side receives a message from the Unity environment. More...
 
def get_joint_amount (self)
 Get the amount of joints that are present in the robot arm. More...
 

Public Attributes

 creation_done
 
 info
 

Detailed Description

Side channel to create the robot arm.

Member Function Documentation

◆ get_joint_amount()

def environment.sidechannels.creation_sc.CreationSC.get_joint_amount (   self)

Get the amount of joints that are present in the robot arm.

Returns
The amount of joints.

◆ on_message_received()

None environment.sidechannels.creation_sc.CreationSC.on_message_received (   self,
IncomingMessage  msg 
)

Is called when the python side receives a message from the Unity environment.

Parameters
msgThe message that is received in plain text.

◆ send_build_command()

None environment.sidechannels.creation_sc.CreationSC.send_build_command (   self,
str  urdf 
)

Send urdf string to environment via side channel.

Parameters
urdfThe urdf to build.

The documentation for this class was generated from the following file: