Finding Path in AR Circumstances

General Tech Learning Aids/Tools 2 years ago

0 2 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Learning Aids/Tools related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (2)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

I want to instantiate a Path Between the current position of the camera and an AR object placed in the scene. The Path should avoid entering walls. I have thought about finding the floor and then find the tango point clouds which are at the same height as the floor and then somehow create a path which connects those point clouds until he reaches the proximity of the AR object.

Have anyone tried to achieve this kind of behaviour before and if so how they managed to achieve it?

Thank you very much!

profilepic.png
manpreet 2 years ago

I've done it. While my app is in Learning Mode and the user is moving around the camera to learn the area and to place different markers on objects, I spawn cubes at Camera positions after a certain distance. Then with the aid of all those spawned cubes I built a graph and then applied a Dijkstra path finding algorithm in the graph. I left my solution in case someone will encounter the same functionality and will have no idea about how to implement it.


0 views   0 shares

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.

tuteehub community

Join Our Community Today

Ready to take your education and career to the next level? Register today and join our growing community of learners and professionals.

tuteehub community