ARKit Demo Application

Overview

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

Comments
  • Demo application sticks on a mkmapview

    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.

    bug 
    opened by liamwalsh 7
  • Out of the box

    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

    opened by itali43 7
  • "Error getting directions"

    When tapping a street on MKMapView, debug window shows:

    Error getting directions

    When outputting the error in Navigation.swift, I get the following:

    Error Domain=MKLocationErrorDomain Code=5 "(null)"

    bug 
    opened by dingwilson 5
  • Position Node in a specific GPS Coordinate ?

    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?

    opened by omarojo 1
  • Error: Required sensor failed!

    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.

    opened by nbawe 1
  • updated for swift5 & my location icon is added.

    updated for swift5 & my location icon is added.

    The part I edited is the same as the title. Of course, I added migration and a user location indicator icon. ARKit does not work in the simulator, so I deleted the provisioning information to set it separately. Please review the source. Thank you.

    opened by hajunho 0
  • Adding SCNNode to GPS Coordinates

    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!

    opened by ghost 0
Owner
Christopher Webb
I am me.
Christopher Webb
Reality-iOS - NFT Augmented Reality(AR) app that demonstrate application of ARImageTracking in iOS powered by ARKit 2

Reality-iOS NFT Augmented Reality(AR) app that demonstrate application of ARImag

Ikmal Azman 6 Nov 28, 2022
ARKit + CoreLocation: Combines the high accuracy of AR with the scale of GPS data.

ARKit: Uses camera and motion data to map out the local world as you move around. CoreLocation: Uses wifi and GPS data to determine your global locati

Andrew Hart 5.3k Dec 27, 2022
An iOS Framework Capture & record ARKit videos 📹, photos 🌄, Live Photos 🎇, and GIFs 🎆.

An iOS Framework that enables developers to capture videos ?? , photos ?? , Live Photos ?? , and GIFs ?? with ARKit content.

Ahmed Bekhit 1.5k Dec 24, 2022
IOS example app to generate point clouds in ARKit using scenedepth

Visualizing a Point Cloud Using Scene Depth Place points in the real-world using the scene's depth data to visualize the shape of the physical environ

Isak Diaz 20 Oct 31, 2022
ARKit Base Project. Place virtual objects based on WWDC example project

ARKit - Placing Virtual Objects in Augmented Reality Learn best practices for visual feedback, gesture interactions, and realistic rendering in AR exp

Ignacio Chiazzo Cardarello 338 Jan 5, 2023
A library that allows you to generate and update environment maps in real-time using the camera feed and ARKit's tracking capabilities.

ARKitEnvironmentMapper Example To run the example project, clone the repo, and run pod install from the Example directory first. Installation ARKitEnv

SV Hawks 91 Dec 4, 2022
This library uses ARKit Face Tracking in order to catch user's smile.

SmileToUnlock Make your users smile before opening the app :) Gif with the demonstration Installation Cocoapods The most preferable way to use this li

Ruslan Serebriakov 628 Oct 22, 2022
PlacenoteSDK Sample app in native iOS using ARKit, written primarily in Swift

Placenote SDK for iOS Placenote SDK lets you easily build cloud-based Augmented Reality (AR) apps that pin digital content to locations in the real wo

Placenote 93 Nov 15, 2022
Power! Unlimited power for ARKit 2.0!

A long time ago in a galaxy, far, far away... It is a period when iPhone SE and iPhone X were destroyed from the apple store, the AR market was under

KBOY (Kei Fujikawa) 516 Dec 1, 2022
A library that allows you to generate and update environment maps in real-time using the camera feed and ARKit's tracking capabilities.

ARKitEnvironmentMapper Example To run the example project, clone the repo, and run pod install from the Example directory first. Installation ARKitEnv

SV Hawks 91 Dec 4, 2022
Augmented Reality image tracking with SwiftUI, RealityKit and ARKit 4.

ARImageTracking This is an Augmented Reality Xcode project that uses Apple's newest RealityKit framework and ARKit 4 features, to dynamically track a

Richard Qi 198 Dec 7, 2022
Trying TDD with ARKit

ARPlacer BDD Spec As a user I want to place a random object in real world. I also want to see the distance between AR object and my phone. Use Cases

null 0 Dec 21, 2021
Draw VR content over live camera feed with ARKit

funny-ar Exercise with ARKit: draw VR content over live camera feed: work is in

pavel 3 Dec 18, 2021
ARKit: Projecting 3D mesh to 2D coordinate

ARKitDemo ARKit: Projecting 3D mesh to 2D coordinate A simple utility to project 3D face mesh in 2D coordinate on device screen. Sources: https://deve

Tushar Chitnavis 0 Dec 28, 2021
Furniture E-Commerce Augmented Reality(AR) app in iOS powered by ARKit

HomeMax-iOS Furniture E-Commerce Augmented Reality(AR) app in iOS powered by ARKit and SceneKit. Inspired by IKEA place app. Description Experience on

Ikmal Azman 5 Oct 14, 2022
ARID - Augmented Reality app using Apple’s ARKit framework which can recognise faces of famous scientists

ARID Augmented Reality app using Apple’s ARKit framework which can recognise fac

Hemanth 0 Jan 12, 2022
ARDicee - Simple augmented reality app using SceneKit and ARKit

ARDicee Simple augmented reality app using SceneKit and ARKit Requirements Xcode

donggyu 3 Feb 4, 2022
AR Ruler - A simple iOS app made using ARKit and SceneKit

A simple iOS app made using ARKit and SceneKit.Which can try to simplify little things in your life such as measuring stuff.

Dishant Nagpal 5 Aug 31, 2022
ARKit Car Rims

ARKit Car Rims Are you tired of thinking about what will look better while selecting or purchasing anything like where to put a flowerpot, lamp, a pho

MindInventory 19 Nov 22, 2022