Change mjsCamera.resolution type from float to int.
Resolution is inherently an integer quantity (pixels). PiperOrigin-RevId: 848276456 Change-Id: I92ee1aa88fd552fd42cb3871442f020f26d6fa6a
This commit is contained in:
committed by
Copybara-Service
parent
9d646e6548
commit
f2e9097ed6
@@ -374,11 +374,11 @@ typedef struct mjsCamera_ { // camera specification
|
||||
|
||||
// intrinsics
|
||||
mjtProjection proj; // camera projection type
|
||||
int resolution[2]; // resolution (pixel)
|
||||
double fovy; // y-field of view
|
||||
double ipd; // inter-pupilary distance
|
||||
double ipd; // inter-pupillary distance
|
||||
float intrinsic[4]; // camera intrinsics (length)
|
||||
float sensor_size[2]; // sensor size (length)
|
||||
float resolution[2]; // resolution (pixel)
|
||||
float focal_length[2]; // focal length (length)
|
||||
float focal_pixel[2]; // focal length (pixel)
|
||||
float principal_length[2]; // principal point (length)
|
||||
|
||||
Reference in New Issue
Block a user