Skip to content

Commit a6ec17b

Browse files
Merge pull request #26 from pollen-robotics/20-tune-virtual-camera-fov-to-reduce-distortion
20 tune virtual camera fov to reduce distortion
2 parents 2bd586d + 5cd507e commit a6ec17b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Packages/ReachySimulator/Prefabs/Reachy.prefab

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ ArticulationBody:
101101
m_Enabled: 1
102102
serializedVersion: 3
103103
m_Mass: 0.05
104-
m_ParentAnchorPosition: {x: 0, y: 0, z: 0}
105-
m_ParentAnchorRotation: {x: 0, y: 0, z: 0.7071068, w: 0.7071068}
104+
m_ParentAnchorPosition: {x: -0.00008700037, y: -0.0009409991, z: 5.2386906e-10}
105+
m_ParentAnchorRotation: {x: -0.00000028245358, y: 0.0000029166317, z: 0.8946342, w: 0.44679946}
106106
m_AnchorPosition: {x: 0, y: 0, z: 0}
107107
m_AnchorRotation: {x: 0, y: 0, z: 0.7071068, w: 0.7071068}
108108
m_MatchAnchors: 1
@@ -888,7 +888,7 @@ Camera:
888888
m_ClearFlags: 1
889889
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
890890
m_projectionMatrixMode: 2
891-
m_GateFitMode: 2
891+
m_GateFitMode: 1
892892
m_FOVAxisMode: 0
893893
m_SensorSize: {x: 36, y: 24}
894894
m_LensShift: {x: 0, y: 0}
@@ -2988,7 +2988,7 @@ Camera:
29882988
m_ClearFlags: 1
29892989
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
29902990
m_projectionMatrixMode: 2
2991-
m_GateFitMode: 2
2991+
m_GateFitMode: 1
29922992
m_FOVAxisMode: 0
29932993
m_SensorSize: {x: 36, y: 24}
29942994
m_LensShift: {x: 0, y: 0}

Packages/ReachySimulator/Scripts/ReachyController.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ public class ReachyController : MonoBehaviour
9797
private Dictionary<string, Fan> name2fan;
9898
private byte[] leftEyeFrame, rightEyeFrame = null;
9999

100-
const int resWidth = 960;
101-
const int resHeight = 720;
100+
const int resWidth = 720;
101+
const int resHeight = 960;
102102

103103
Texture2D texture;
104104

0 commit comments

Comments
 (0)