mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-06 13:07:47 +08:00
chore: use default stream profile
This commit is contained in:
@@ -260,6 +260,9 @@ std::string getObSDKVersion() {
|
||||
}
|
||||
|
||||
OBFormat OBFormatFromString(const std::string &format) {
|
||||
if (format.empty()) {
|
||||
return OB_FORMAT_UNKNOWN;
|
||||
}
|
||||
std::string fixed_format;
|
||||
std::transform(format.begin(), format.end(), std::back_inserter(fixed_format),
|
||||
[](const auto ch) { return std::isalpha(ch) ? toupper(ch) : ch; });
|
||||
|
||||
Reference in New Issue
Block a user