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

Option to preserve T265 maps in memory for subsequent starts #5208

Merged
merged 2 commits into from Dec 5, 2019

Conversation

radfordi
Copy link
Contributor

@radfordi radfordi commented Nov 7, 2019

No description provided.

@radfordi radfordi changed the title Option to preserve T265 maps in memory for subsequence starts Option to preserve T265 maps in memory for subsequent starts Nov 7, 2019
Copy link
Contributor

@bfulkers-i bfulkers-i left a comment

Choose a reason for hiding this comment

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

Looks good to me, but @ev-mp or @dorodnic might want to take a quick look since this also adds an L500 option RS2_OPTION_DEPTH_OFFSET in a few place it was missing so might conflict if they added that elsewhere.

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.

Add it to C# wrapper
Documenting this feature would be useful:

  • Default value
  • When the option becomes available/disabled
  • What happens after n-start/stop operation the map reaches its max. Does it stop update?

@@ -81,6 +81,7 @@ extern "C" {
RS2_OPTION_ENABLE_POSE_JUMPING, /**< Enable position jumping */
RS2_OPTION_ENABLE_DYNAMIC_CALIBRATION, /**< Enable dynamic calibration */
RS2_OPTION_DEPTH_OFFSET, /**< Offset from sensor to depth origin in millimetrers*/
RS2_OPTION_ENABLE_MAP_PRESERVATION, /**< Preserve previous map when starting */
Copy link
Collaborator

Choose a reason for hiding this comment

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

Pls keep the original order and append to end

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for pointing this out. This needs a rebase after 3f82376.

@@ -59,9 +59,11 @@
enable_relocalization (56)
enable_pose_jumping (57)
enable_dynamic_calibration (58)
enable_depth_offset (59)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Check for consistency with c++ declaration

end
Copy link
Collaborator

Choose a reason for hiding this comment

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

👍

@radfordi
Copy link
Contributor Author

radfordi commented Dec 4, 2019

@dorodnic, @ev-mp, I rebased to fix the ordering conflict due to new optioned being added on development, and I added missing support for C#.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants