Skip to content

Commit 6391103

Browse files
committed
Fix cpp/offline example mock input.
1 parent fa654ad commit 6391103

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/offline/input.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,8 @@ class InputMock : public Input {
203203

204204
std::string getCalibration() const final {
205205
return R"({ "cameras": [
206-
{ "focalLengthX": 1.0, "focalLengthY": 1.0, "model": "pinhole" },
207-
{ "focalLengthX": 1.0, "focalLengthY": 1.0, "model": "pinhole" }
206+
{ "focalLengthX": 1.0, "focalLengthY": 1.0, "model": "pinhole", "imuToCamera": [[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]] },
207+
{ "focalLengthX": 1.0, "focalLengthY": 1.0, "model": "pinhole", "imuToCamera": [[1,0,0,1],[0,1,0,0],[0,0,1,0],[0,0,0,1]] }
208208
] })";
209209
}
210210
};

0 commit comments

Comments
 (0)