intera_interface/src/intera_interface/camera.py
def verify_camera_exists(self, camera_name):
        """
        Verify if the given camera name is in the list of camera names or not.

        @type camera_name: str
        @param camera_name: camera name

        @rtype: bool
        @return: True if the name exists in camera name list, False otherwise.
        """
        if camera_name  not in self.list_cameras():
            rospy.logerr(' '.join([camera_name, "not in the list of cameras"
                " detected on this robot:", ' , '.join(self.list_cameras())]))
            return False
        return True

        Verify if the given camera name is in the list of camera names or not.

        @type camera_name: str
        @param camera_name: camera name

        @rtype: bool
        @return: True if the name exists in camera name list, False otherwise.
        
Verify if the given camera name is in the list of camera names or not.
Verify if the given camera name is in the list of camera names or not .
def verify_camera_exists(self, camera_name):
        if camera_name  not in self.list_cameras():
            rospy.logerr(' '.join([camera_name, "not in the list of cameras"
                " detected on this robot:", ' , '.join(self.list_cameras())]))
            return False
        return True
def verify_camera_exists ( self , camera_name ) : if camera_name not in self . list_cameras ( ) : rospy . logerr ( ' ' . join ( [ camera_name , "not in the list of cameras" " detected on this robot:" , ' , ' . join ( self . list_cameras ( ) ) ] ) ) return False return True
Verify if the given camera name is in the list of camera names or not.
Verify if the given camera name is in the list of camera names or not .
"""
        Verify if the given camera name is in the list of camera names or not.

        @type camera_name: str
        @param camera_name: camera name

        @rtype: bool
        @return: True if the name exists in camera name list, False otherwise.
        """
True if the name exists in camera name list, False otherwise.
True if the name exists in camera name list False otherwise .
bool
self
camera_name
None