Camera intrinsic parameters

Regarding camera intrinsic calibration parameters, do you recommend obtaining them by calling the following code?

calibration_params = zed.get_camera_information().camera_configuration.calibration_parameters; 
focal_left_x = calibration_params.left_cam.fx; 
focal_left_y = calibration_params.left_cam.fy; 
principal_left_x = calibration_params.left_cam.cx; 
principal_left_y = calibration_params.left_cam.cy; 
distortion_coefficient = calibration_params.left_cam.disto.

Alternatively, locate an SN****.conf file under /usr/local/zed/settings and retrieve the corresponding camera intrinsic parameters and distortion coefficients based on the configured camera resolution?

Yes, the code is correct. This is the relevant documentation:

I also recommend you read this support page which provides useful information:

https://support.stereolabs.com/hc/en-us/articles/27824782212119-Why-is-there-a-difference-in-camera-parameters-between-the-ZED-SDK-API-and-the-ZED-Explorer-tool