Пример #1
0
 def __init__(self):
     """
     Constructor
     """
     RobotVirtual.__init__(self, NaoVirtual.URDF_PATH)
     self.camera_top = None
     self.camera_bottom = None
Пример #2
0
 def __init__(self):
     """
     Constructor
     """
     RobotVirtual.__init__(self, RomeoVirtual.URDF_PATH)
     self.camera_right = None
     self.camera_left = None
     self.camera_depth = None
Пример #3
0
 def __init__(self):
     """
     Constructor
     """
     RobotVirtual.__init__(self, PepperVirtual.URDF_PATH)
     self.motion_constraint = None
     # Default speed (in m/s) xy : 0.35, min : 0.1, max : 0.55
     self.linear_velocity = 0.35
     # Default speed (in rad/s) theta : 1.0, min : 0.3, max : 2.0
     self.angular_velocity = 1.0
     # Default acc (in m/s^2 xy : 0.3, min : 0.1, max : 0.55
     self.linear_acceleration = 0.3
     # Default acc (in rad/s^2 theta : 0.75, min : 0.1, max : 3.0
     self.angular_acceleration = 0.3
Пример #4
0
    def __init__(self):
        """
        Constructor
        """
        # Install the robot meshes and URDFs if they are not already installed
        if not tools._check_resources_installed():
            tools._install_resources()

        # Specify the URDF path
        RobotVirtual.__init__(
            self,
            tools._get_resources_folder() + NaoVirtual.URDF_FILE)

        self.camera_top = None
        self.camera_bottom = None
Пример #5
0
    def __init__(self):
        """
        Constructor
        """
        # Install the robot meshes and URDFs if they are not already installed.
        # The installation process won't be covered by the unit tests
        if not tools._check_resources_installed():  # pragma: no cover
            tools._install_resources()

        # Specify the URDF path
        RobotVirtual.__init__(
            self,
            tools._get_resources_folder() + NaoVirtual.URDF_FILE)

        self.camera_top = None
        self.camera_bottom = None
Пример #6
0
    def __init__(self):
        """
        Constructor
        """
        # Install the robot meshes and URDFs if they are not already installed
        if not tools._check_ressources_installed():
            print("Robot meshes and URDFs not yet installed.")
            tools._install_ressources()

        # Specify the URDF path
        RobotVirtual.__init__(
            self,
            tools._get_ressources_folder() + RomeoVirtual.URDF_FILE)

        self.camera_right = None
        self.camera_left = None
        self.camera_depth = None
Пример #7
0
    def __init__(self):
        """
        Constructor
        """
        # Install the robot meshes and URDFs if they are not already installed
        if not tools._check_resources_installed():
            tools._install_resources()

        # Specify the URDF path
        RobotVirtual.__init__(
            self,
            tools._get_resources_folder() + PepperVirtual.URDF_FILE)

        self.motion_constraint = None
        # Default speed (in m/s) xy : 0.35, min : 0.1, max : 0.55
        self.linear_velocity = 0.35
        # Default speed (in rad/s) theta : 1.0, min : 0.3, max : 2.0
        self.angular_velocity = 1.0
        # Default acc (in m/s^2 xy : 0.3, min : 0.1, max : 0.55
        self.linear_acceleration = 0.3
        # Default acc (in rad/s^2 theta : 0.75, min : 0.1, max : 3.0
        self.angular_acceleration = 0.3
Пример #8
0
 def __init__(self):
     """
     Constructor
     """
     RobotVirtual.__init__(self, "wrong_description_filepath")
Пример #9
0
 def __init__(self, pathImageTexture=None, rgba=None):
     RobotVirtual.__init__(self, URDF_SPHERE)
     self.path_image_texture = pathImageTexture
     self.rgba = rgba
     self.scale = 1
     self.texture_id = None
Пример #10
0
 def __init__(self):
     """
     Constructor
     """
     RobotVirtual.__init__(self, DummyVirtual.URDF_PATH)