-
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
Pose stream info #3010
Pose stream info #3010
Conversation
abernste
commented
Jan 6, 2019
- Add pose info of: Velocity, Angular Velocity, Acceleration, Angular Acceleration, Translation, Rotation - to pose max screen
- Pose info color changes according to pose confidence: High confidence - Green, Medium confidence - Yellow, Low confidence - Red, failed confidence - Grey
- Fix many warnings
Merge from librealsense/Development
Merge from librealsense/Development
…r Acceleration, Translation, Rotation - to pose max screen 2. Pose info color changes according to pose confidence: High confidence - Green, Medium confidence - Yellow, Low confidence - Red, failed confidence - Grey 2. Fix many warnings
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.
Some minor comments
common/model-views.cpp
Outdated
break; | ||
case 0: // failed confidence - Grey | ||
ImGui::PushStyleColor(ImGuiCol_Text, grey); | ||
break; |
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.
Add Default to avoid potential issues
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.
Added
common/model-views.cpp
Outdated
} | ||
case RS2_STREAM_POSE: | ||
{ | ||
if ((*this).fullscreen == true) |
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.
Is there an alternative display when in a non-fullscreen mode?
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.
Added
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.
std::string data = "["; | ||
std::string comma = ""; | ||
unsigned int i = 0; | ||
while ((pose.data[i] != FLT_MAX) && (i<4)) |
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.
Is the extra-verbosity by design ? If so - please put comments.
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.
non issue