checkpoint:

This commit is contained in:
Max Hunt 2019-06-15 18:21:14 +01:00
parent 25d9a6934b
commit 0e9fbe9a4c
4 changed files with 7 additions and 5 deletions

View File

@ -351,7 +351,7 @@
<action selector="headingBtnPressed:" destination="Ovf-sw-BKp" eventType="touchUpInside" id="ZlX-6a-RgF"/> <action selector="headingBtnPressed:" destination="Ovf-sw-BKp" eventType="touchUpInside" id="ZlX-6a-RgF"/>
</connections> </connections>
</button> </button>
<view alpha="0.0" contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="J48-J9-3Mc"> <view contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="J48-J9-3Mc">
<rect key="frame" x="-34" y="-24" width="347" height="489"/> <rect key="frame" x="-34" y="-24" width="347" height="489"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<subviews> <subviews>

View File

@ -352,6 +352,8 @@ extension MainViewController: CLLocationManagerDelegate {
} else { } else {
// let speechUtterance = AVSpeechUtterance(string: message) // let speechUtterance = AVSpeechUtterance(string: message)
// speechSynthesizer.speak(speechUtterance) // speechSynthesizer.speak(speechUtterance)
playDone()
finishedNavigationSuccessfully()
stepCounter = 0 stepCounter = 0
previousDistanceToWaypoint = 1000 previousDistanceToWaypoint = 1000
searchBar.isHidden = false searchBar.isHidden = false
@ -393,8 +395,8 @@ extension MainViewController: CLLocationManagerDelegate {
func playRight(){ func playRight(){
// currentStepLbl.text = "COM: RIGHT" // currentStepLbl.text = "COM: RIGHT"
let var1 = "guibe_long_left" let var1 = "guibe_left"
let var2 = "guibe_long_right" let var2 = "guibe_right"
var path: String = "" var path: String = ""
@ -431,8 +433,8 @@ extension MainViewController: CLLocationManagerDelegate {
func playLeft(){ func playLeft(){
// currentStepLbl.text = "COM: LEFT" // currentStepLbl.text = "COM: LEFT"
let var1 = "guibe_long_right" let var1 = "guibe_right"
let var2 = "guibe_long_left" let var2 = "guibe_left"
var path: String = "" var path: String = ""

Binary file not shown.

Binary file not shown.