-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Promote T265 FW Tag; Minor SDK fixes #3669
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,4 +58,4 @@ namespace librealsense | |
|
||
_color_device_idx = add_sensor(create_color_device(ctx, color_devs_info)); | ||
} | ||
}; | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This seems unrelated to T265, so probably shouldn't be in this PR |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -790,7 +790,7 @@ namespace librealsense | |
} | ||
else | ||
{ | ||
LOG_WARNING("Dropped frame. alloc_frame(...) returned nullptr"); | ||
LOG_INFO("Dropped frame. alloc_frame(...) returned nullptr"); | ||
return; | ||
} | ||
_source.invoke_callback(std::move(frame)); | ||
|
@@ -1012,20 +1012,20 @@ namespace librealsense | |
} | ||
else | ||
{ | ||
LOG_WARNING("Dropped frame. alloc_frame(...) returned nullptr"); | ||
LOG_INFO("Dropped frame. alloc_frame(...) returned nullptr"); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In what scenario would There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The warning occurs whenever frames acquired by users are not released in a timely manner. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The main problem is that this is a negative feedback loop - frame drops cause console output, slowing the app and causing more frame drops. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @ev-mp Should we make the frame queue deeper for imu data which is small but high rate? |
||
return; | ||
} | ||
_source.invoke_callback(std::move(frame)); | ||
} | ||
|
||
void tm2_sensor::raise_hardware_event(const std::string& msg, const std::string& json_data, double timestamp) | ||
{ | ||
notification controller_event{ RS2_NOTIFICATION_CATEGORY_HARDWARE_EVENT, 0, RS2_LOG_SEVERITY_INFO, msg }; | ||
controller_event.serialized_data = json_data; | ||
controller_event.timestamp = timestamp; | ||
get_notifications_processor()->raise_notification(controller_event); | ||
} | ||
|
||
void tm2_sensor::raise_error_notification(const std::string& msg) | ||
{ | ||
notification error{ RS2_NOTIFICATION_CATEGORY_HARDWARE_ERROR, 0, RS2_LOG_SEVERITY_ERROR, msg }; | ||
|
@@ -1049,7 +1049,7 @@ namespace librealsense | |
} | ||
}); | ||
} | ||
|
||
void tm2_sensor::detach_controller(int id) | ||
{ | ||
perc::Status status = _tm_dev->ControllerDisconnect(id); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ev-mp because you sorted this list and changed its contents at the same time, it's hard to see what changed here. I see at least
ivcam/ivcam-private.h
is now gone, which is unrelated to T265 as far as I know.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes rectify inconsistencies discovered during the validation of the new TM2 FW. And they are separate from the FW update commit