Skip to content

Commit

Permalink
rename thermal cams and test multiple resolutions
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed Jul 26, 2024
1 parent 93d43dd commit 738bec8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/telemetry/models/openhd_core/camera.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -305,9 +305,9 @@ struct XCamera {
} else if (camera_type == X_CAM_TYPE_USB_INFIRAY) {
return {ResolutionFramerate{384, 292, 25}};
} else if (camera_type == X_CAM_TYPE_USB_INFIRAY_T2) {
// return {ResolutionFramerate{256,192,25}}; for whatever reason doesn't
// work ...
return {ResolutionFramerate{0, 0, 0}};
std::vector<ResolutionFramerate> ret;
ret.push_back(ResolutionFramerate{256, 192, 25});
ret.push_back(ResolutionFramerate{0, 0, 0});
} else if (camera_type == X_CAM_TYPE_USB_INFIRAY_P2_PRO) {
return {ResolutionFramerate{256, 192, 25}};
} else if (camera_type == X_CAM_TYPE_USB_INFIRAY_X2) {
Expand Down Expand Up @@ -631,8 +631,8 @@ static std::vector<ManufacturerForPlatform> get_camera_choices_for_platform(
CameraNameAndType{"INFIRAY USB T2", X_CAM_TYPE_USB_INFIRAY_T2},
CameraNameAndType{"INFIRAY USB P2 Pro", X_CAM_TYPE_USB_INFIRAY_P2_PRO},
CameraNameAndType{"INFIRAY USB X2", X_CAM_TYPE_USB_INFIRAY_X2},
CameraNameAndType{"INFIRAY USB X2", X_CAM_TYPE_USB_FLIR_VUE},
CameraNameAndType{"INFIRAY USB X2", X_CAM_TYPE_USB_FLIR_BOSON},
CameraNameAndType{"FLIR_VUE", X_CAM_TYPE_USB_FLIR_VUE},
CameraNameAndType{"FLIR_BOSON", X_CAM_TYPE_USB_FLIR_BOSON},
CameraNameAndType{"EXP USB GENERIC", X_CAM_TYPE_USB_GENERIC}};
ManufacturerForPlatform MANUFACTURER_USB{"USB", usb_cameras};
std::vector<CameraNameAndType> debug_cameras{
Expand Down

0 comments on commit 738bec8

Please sign in to comment.