Skip to content
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

Merged
merged 6 commits into from Jan 9, 2019
Merged

Conversation

abernste
Copy link
Contributor

@abernste abernste commented Jan 6, 2019

  1. Add pose info of: Velocity, Angular Velocity, Acceleration, Angular 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
  3. Fix many warnings

image

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
Copy link
Collaborator

@ev-mp ev-mp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor comments

break;
case 0: // failed confidence - Grey
ImGui::PushStyleColor(ImGuiCol_Text, grey);
break;
Copy link
Collaborator

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added

}
case RS2_STREAM_POSE:
{
if ((*this).fullscreen == true)
Copy link
Collaborator

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pose_info_on_non_full_screen

std::string data = "[";
std::string comma = "";
unsigned int i = 0;
while ((pose.data[i] != FLT_MAX) && (i<4))
Copy link
Collaborator

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

non issue

@dorodnic dorodnic merged commit 9f3ea64 into IntelRealSense:development Jan 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants