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
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
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