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

Platforms2 #1435

Merged
merged 4 commits into from
Feb 8, 2018
Merged

Platforms2 #1435

merged 4 commits into from
Feb 8, 2018

Conversation

trzy
Copy link

@trzy trzy commented Nov 25, 2017

Add QueryTopology_FindLargestPositionsSittable() to Unity and update the Spatial Understanding demo with this query. This is the companion to: microsoft/MixedRealityToolkit#86

Note: this should replace Platforms #651.

@trzy trzy mentioned this pull request Nov 25, 2017
@@ -221,6 +221,7 @@ private void SetupMenus()
AddButton("Large positions on floor", Panels.Topology, () => { SpaceVisualizer.Instance.Query_Topology_FindLargestPositionsOnFloor(); timeLastQuery = DateTime.MinValue; });
AddButton("Place objects positions", Panels.Topology, () => { SpaceVisualizer.Instance.Query_Topology_FindPositionsPlaceable(); timeLastQuery = DateTime.MinValue; });


Copy link
Contributor

Choose a reason for hiding this comment

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

nit: extra line?

@trzy
Copy link
Author

trzy commented Nov 25, 2017

Extra line should be fixed now.

@StephenHodgson StephenHodgson changed the base branch from master to Dev_Working_Branch November 25, 2017 05:59
@NeerajW
Copy link

NeerajW commented Nov 27, 2017

Just to help devs understand, what do you mean by sittable area? Is it like a chair? Couch?

@trzy
Copy link
Author

trzy commented Nov 28, 2017 via email

@StephenHodgson StephenHodgson added the Platform - HoloLens - First Gen Issues specific to Microsoft HoloLens label Nov 29, 2017
@jessemcculloch
Copy link

For clarification, like @trzy mentioned, the term sittable comes from the HoloToolkit/SpatialUnderstanding/Topology queries and is defined as a horizontal plane between the Min and Max heights that conforms to the specified surface area. It could be a chair, it could be a couch, it could be many other things, as long as the surface area of the plane matches, as well as the height falls between the two values.

jessemcculloch
jessemcculloch previously approved these changes Dec 1, 2017
Copy link

@jessemcculloch jessemcculloch left a comment

Choose a reason for hiding this comment

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

Ran unit tests successfully
Deployed to HoloLens and tested functionality successfully

@keveleigh
Copy link
Contributor

Is this change dependent on a new DLL drop?

@StephenHodgson
Copy link
Contributor

That is correct

@jessemcculloch
Copy link

Why does it need a new dll drop?
(Not arguing, just not aware of what causes that need)

@keveleigh
Copy link
Contributor

The change on the native side of things, here, added the new method that's imported in this PR. Without it, there should be some sort of import failure.

@jessemcculloch
Copy link

That's odd, I tested it with no errors at all

@StephenHodgson
Copy link
Contributor

Only blocking this until we get the binaries updated.

@trzy
Copy link
Author

trzy commented Jan 6, 2018 via email

@StephenHodgson
Copy link
Contributor

Nope, you're good. Still waiting on MSFT to sign the binaries.

StephenHodgson
StephenHodgson previously approved these changes Feb 5, 2018
@@ -247,6 +248,7 @@ private void SetupMenus()
AddButton("OnEdge NearCenter", Panels.LevelSolver, () => { LevelSolver.Instance.Query_OnEdge_NearCenter(); timeLastQuery = DateTime.MinValue; });
AddButton("OnFloor AwayFromMe", Panels.LevelSolver, () => { LevelSolver.Instance.Query_OnFloor_AwayFromMe(); timeLastQuery = DateTime.MinValue; });
AddButton("OnFloor NearMe", Panels.LevelSolver, () => { LevelSolver.Instance.Query_OnFloor_NearMe(); timeLastQuery = DateTime.MinValue; });
AddButton("Large positions sittable", Panels.Topology, () => { SpaceVisualizer.Instance.Query_Topology_FindLargePositionsSittable(); timeLastQuery = DateTime.MinValue; });
Copy link
Contributor

@keveleigh keveleigh Feb 7, 2018

Choose a reason for hiding this comment

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

This creates a duplicate button in the Topology menu (the first one is added at line 223). Was in meant to go under Panels.LevelSolver, like the other buttons near it in this list?

@trzy
Copy link
Author

trzy commented Feb 7, 2018 via email

@StephenHodgson StephenHodgson merged commit da3116b into microsoft:Dev_Working_Branch Feb 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Platform - HoloLens - First Gen Issues specific to Microsoft HoloLens
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants