Block Diagrams

gem_controllers.block_diagrams.block_diagram.build_block_diagram(controller, env_id, save_block_diagram_as)[source]

Creates a block diagram of the controller

Parameters:
  • controller – GEMController

  • env_id – GEM environment id

  • save_block_diagram_as – string or tuple of strings of the data types to be saved

Returns:

Control Block Diagram

gem_controllers.block_diagrams.block_diagram.get_stages(controller, motor_type)[source]

Function to get all block building functions

Parameters:
  • controller – GEMController

  • motor_type – type of the motor

Returns:

list of all block building functions