[camera] Fix wrong orientation (#36)
* Fixed the bug. See: #6 (comment) * Also, I changed the camera type from back-camera to external-camera.
This commit is contained in:
@@ -208,7 +208,7 @@ void CameraPlugin::HandleAvailableCamerasCall(
|
||||
AvailableCamerasMessage camera;
|
||||
camera.SetName("camera" + std::to_string(i));
|
||||
camera.SetSensorOrientation(0);
|
||||
camera.SetLensFacing("back");
|
||||
camera.SetLensFacing("external");
|
||||
cameras.push_back(camera.ToMap());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user