coraplex.view_manager#

Classes#

Module Contents#

class coraplex.view_manager.ViewManager#
static get_end_effector_view(arm: coraplex.datastructures.enums.Arms, robot_view: semantic_digital_twin.robots.robot_parts.AbstractRobot) semantic_digital_twin.robots.robot_parts.EndEffector | None#
static get_arm_view(arm: coraplex.datastructures.enums.Arms, robot_view: semantic_digital_twin.robots.robot_parts.AbstractRobot) semantic_digital_twin.robots.robot_parts.KinematicChain | None#

Get the arm view for a given arm and robot view.

Parameters:
  • arm – The arm to get the view for.

  • robot_view – The robot view to search in.

Returns:

The Manipulator object representing the arm.

static get_all_arm_views(arm: coraplex.datastructures.enums.Arms, robot_view: semantic_digital_twin.robots.robot_parts.AbstractRobot) Tuple[semantic_digital_twin.robots.robot_parts.KinematicChain] | None#

Get all possible arm views for a given arm and robot view.

Parameters:
  • arm – The arm to get the view for.

  • robot_view – The robot view to search in.

Returns:

The Manipulator object representing the arm.

static get_neck_view(robot_view: semantic_digital_twin.robots.robot_parts.AbstractRobot) semantic_digital_twin.robots.robot_parts.Neck | None#

Get the neck view for a given robot view.

Parameters:

robot_view – The robot view to search in.

Returns:

The Neck object representing the neck.