I would advise you some starting nodes from the internet:
1) Do you wanna do intrinsic or extrinsic calibration?
2) Intrinsic calibration has to be done first!
-> Do you wanna do it with arucu markers (the aruco markers lib or a aruco marker to ros bridge is required)
-> Do you wanna do it with a checkerboard see here: http://wiki.ros.org/camera_calibration
3) Exrinsic camera calibration.
-> option with ros industrial see here: http://wiki.ros.org/industrial_extrin...
-> do it with arucu markers see here: https://github.com/tentone/aruco , https://github.com/joselusl/aruco_eyethis is what I use