Giter Site home page Giter Site logo

chriswebb09 / arkitnavigationdemo Goto Github PK

View Code? Open in Web Editor NEW
320.0 23.0 63.0 13.7 MB

ARKit Demo Application

Swift 100.00%
arkit arkit-roaddirection arkit-applemap arkit-map corelocation mapkit augmented-reality augmented-reality-applications augmentedreality

arkitnavigationdemo's Introduction

ARKitNavigationDemo

PRs Welcome Platform Platform

  • Work in progress.

In Progress

  • Region — For one, we could render far fewer nodes. In fact, it’s a bit distracting that the entire trip is rendered. To fix this, we could render one leg of the journey at a time. Then we could use our location service to monitor for when we enter that region, or we could calculate the distance from the point of view to the last node in the leg triggering a mechanism to render a new leg and remove the old when they are in proximity.

  • Dynamic Destination — Another easy way we could improve it is we could allow the user to set their destination while they are navigating, instead having to go back to the map.

  • Reset — As the project is as of this writing, the reset functionality hasn’t been completed. Sometimes ARKit gets confused, sometimes the GPS gets confused (more on the location problems in a bit.) So we can build a mechanism which resets the screen so we can start over. That way you don’t have to quit to reset the trip.

ARKit Demo Application

When it loads to the map, tap a place on the map where you want to navigate to and press okay. The tap can be sluggish, so you might have to try once or twice before you get it. When the navigation screen loads, tap the screen, then give it a few seconds. You should see the nodes render.

Example gif

Demo project for:

ARKit and CoreLocation: Part One

ARKit and CoreLocation: Part Two

ARKit and CoreLocation: Part Three

Related Projects:

ARKit Airport - Navigation In Augmented Reality: Part One

ARKitAirport

ARNavigation

ARKit Drone

ARKitSpitfire

arkitnavigationdemo's People

Contributors

chriswebb09 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

arkitnavigationdemo's Issues

Demo application sticks on a mkmapview

Hello
Upon launching the app I can see lots of information in the logs, but the app itself freezes on a mkmapview - you can click and drag around the map, but long pressing etc doesn't do anything.

Error: Required sensor failed!

Trying out the demo with iPhone x (IOS 11.2) and it starts and after choosing location and starting navigation I get error (Error: Required sensor failed!) and camera hangs.

Adding SCNNode to GPS Coordinates

Hi, I am developing an ARKit application that takes a GPS coordinate, gets directions to the coordinate using Apple Maps, and overlays a SceneKit Sphere onto the AR space at every RouteStep of the directions. So basically every turn in the directions, I want to place a blue sphere at the location of the turn that I can see through the camera. I have a post on Stack Overflow here: https://stackoverflow.com/questions/49620583/adding-scnnode-to-gps-coordinates but I have not been able to figure this out. I just want a series of blue spheres leading me to my destination when I look through the camera.
Can you take a look at my detailed question and maybe see where I'm going wrong? Thanks!

Position Node in a specific GPS Coordinate ?

HI, I stumbled upon your tutorials.
Im looking for a straightforward solution to place 3D objects in specific gps coordinates. That's all.

So I can place a 3d sculptures in multiple locations that look like they standing on the floor and you can walk around them. Is there a specific piece of code I can use from your project?

Out of the box

Hey, this is awesome, was wondering if the demo works out-of-the-box or needs some love via the tutorials? I've changed the destination location to a location near me, but it hasn't conjured up dots and directions.
Thanks, will be absorbing the code, tutorials have been easy to follow

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.