ANNarchy iCub Interface 1.1.1
Loading...
Searching...
No Matches

◆ init_grpc()

bool ANN_iCub_Interface.iCub.Visual_Reader.PyVisualReader.init_grpc ( self,
ANNiCub_wrapper iCub,
str name,
str eye,
float fov_width = ...,
float fov_height = ...,
int img_width = ...,
int img_height = ...,
fast_filter = ...,
str ini_path = ...,
str ip_address = ...,
int port = ... )
Initialize the visual reader with given parameters, including the gRPC based connection.

Parameters
----------
ANNiCub_wrapperiCub : _type_
    main interface wrapper
name : str
    name for the visual reader module
eye : str
    character representing the selected eye (l/L; r/R; b/B)
fov_width : double
    output field of view width in degree [0, 60] (input fov width: 60°). (Default value = 60)
fov_height : double
    output field of view height in degree [0, 48] (input fov height: 48°). (Default value = 48)
img_width : int
    output image width in pixel (input width: 320px). (Default value = 320)
img_height : int
    output image height in pixel (input height: 240px). (Default value = 240)
fast_filter : bool
    flag to select the filter for image upscaling; True for a faster filter. (Default value = True)
ini_path : str
    Path to the "interface_param.ini"-file. (Default value = "../data/")
strip_address : str
    gRPC server ip address. (Default value = "0.0.0.0")
unsignedintport : int
    gRPC server port. (Default value = 50000)

Returns
-------
bool
    return True/False, indicating success/failure

Definition at line 57 of file Visual_Reader.pyi.