mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-09 14:27:02 +08:00
Merge branch 'fix/gemini301-mixed-fps' into v2/develop
This commit is contained in:
@@ -145,8 +145,8 @@ void listSensorProfiles(const std::shared_ptr<ob::Device>& device) {
|
||||
auto origin_profile = profile_list->getProfile(j);
|
||||
if ((sensor->getType() == OB_SENSOR_DEPTH || sensor->getType() == OB_SENSOR_IR_LEFT ||
|
||||
sensor->getType() == OB_SENSOR_IR_RIGHT) &&
|
||||
isGemini305SeriesPID(pid)) {
|
||||
// Gemini 305 series
|
||||
isGemini301SeriesPID(pid)) {
|
||||
// Gemini 301 series
|
||||
auto profile = origin_profile->as<ob::VideoStreamProfile>();
|
||||
std::cout << magic_enum::enum_name(sensor->getType()) << " profile: " << profile->getWidth()
|
||||
<< "x" << profile->getHeight() << " " << profile->getFps() << "fps "
|
||||
|
||||
Reference in New Issue
Block a user