robopal: a multi-platform, modular robot simulation framework based on MuJoCo, mainly used for reinforcement learning and control algorithm implementation of robotic arms.
I want to use the camera's intrinsics to convert pixel coordinates to camera coordinates, and then use the extrinsics to convert the camera coordinates to world coordinates. If I use the intrinsics in cv_utils.py, I didn't get the correct result. But by setting the fy to -fy, I get the correct result, can you tell me why is that?
my camera is
I want to use the camera's intrinsics to convert pixel coordinates to camera coordinates, and then use the extrinsics to convert the camera coordinates to world coordinates. If I use the intrinsics in
cv_utils.py
, I didn't get the correct result. But by setting thefy
to-fy
, I get the correct result, can you tell me why is that? my camera isthe code I used as follows
Deepmind Control Camera Matrix
In deepmind's code, they negate the
fx
, but in my case,fy
should be negated.