Changeset ab9d63b in orbit
- Timestamp:
- 07/15/13 18:04:05 (9 years ago)
- Branches:
- master, RawEEG, Servo, Tab_Interface, pyramid
- Children:
- 9015b1e
- Parents:
- d6fbdfb
- Location:
- iOS/Orbit
- Files:
-
- 24 added
- 1 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
iOS/Orbit/Orbit/AppDelegate.h
r067ea71 rab9d63b 11 11 12 12 #import <UIKit/UIKit.h> 13 #import "SignalConverter.h" 13 14 14 15 @interface AppDelegate : UIResponder <UIApplicationDelegate> … … 16 17 @property (strong, nonatomic) UIWindow *window; 17 18 19 @property (nonatomic, retain) SignalConverter *signalConverter; 20 18 21 @end -
iOS/Orbit/Orbit/AppDelegate.m
ra9059a5 rab9d63b 11 11 12 12 #import "AppDelegate.h" 13 #import "TGAccessoryManager.h" 14 #import "TGAccessoryDelegate.h" 15 #import "ViewController.h" 13 #import "SignalConverter.h" 16 14 #import "CorePlot-CocoaTouch.h" 17 15 18 16 @implementation AppDelegate 19 17 18 @synthesize signalConverter; 19 20 20 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 21 21 { 22 22 // Override point for customization after application launch. 23 [[TGAccessoryManager sharedTGAccessoryManager] setupManagerWithInterval:0.05]; 24 [[TGAccessoryManager sharedTGAccessoryManager] setDelegate:(ViewController *)self.window.rootViewController]; 23 signalConverter = [[SignalConverter alloc] init]; 24 // [[TGAccessoryManager sharedTGAccessoryManager] setupManagerWithInterval:0.05]; 25 // [[TGAccessoryManager sharedTGAccessoryManager] setDelegate:(ViewController *)self.window.rootViewController]; 25 26 return YES; 26 27 } … … 30 31 // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 31 32 // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 32 ViewController *rootController = (ViewController *)self.window.rootViewController;33 [rootController appClosed];33 // ViewController *rootController = (ViewController *)self.window.rootViewController; 34 // [rootController appClosed]; 34 35 } 35 36 … … 48 49 { 49 50 // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 50 ViewController *rootController = (ViewController *)self.window.rootViewController;51 [rootController appForegrounded];51 // ViewController *rootController = (ViewController *)self.window.rootViewController; 52 // [rootController appForegrounded]; 52 53 } 53 54 -
iOS/Orbit/Orbit/ViewController.m
r0caeed7 rab9d63b 340 340 [self startProcessing]; 341 341 } 342 343 342 } 344 343 @end -
iOS/Orbit/Orbit/en.lproj/MainStoryboard.storyboard
ra9059a5 rab9d63b 1 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> 2 <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="2.0" toolsVersion="3084" systemVersion="11G63 b" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" initialViewController="2">2 <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="2.0" toolsVersion="3084" systemVersion="11G63" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" initialViewController="T1J-Fd-fkz"> 3 3 <dependencies> 4 4 <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="2083"/> 5 5 </dependencies> 6 6 <scenes> 7 <!-- View Controller-->8 <scene sceneID=" 5">7 <!--Support View Controller - Support--> 8 <scene sceneID="Ngw-L2-w0F"> 9 9 <objects> 10 <viewController id=" 2" customClass="ViewController" sceneMemberID="viewController">11 <view key="view" contentMode="scaleToFill" id=" 3">12 <rect key="frame" x="0.0" y="20" width="320" height="4 60"/>10 <viewController id="rjE-lQ-n1C" customClass="SupportViewController" sceneMemberID="viewController"> 11 <view key="view" contentMode="scaleToFill" id="GgB-QH-eJV"> 12 <rect key="frame" x="0.0" y="20" width="320" height="411"/> 13 13 <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> 14 14 <subviews> 15 < textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" editable="NO" id="q4j-9c-MI9" userLabel="Log Text View">16 <rect key="frame" x="0.0" y=" 188" width="320" height="212"/>15 <webView contentMode="scaleToFill" scalesPageToFit="YES" id="R7U-lO-baI"> 16 <rect key="frame" x="0.0" y="0.0" width="320" height="411"/> 17 17 <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> 18 18 <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/> 19 <fontDescription key="fontDescription" type="system" pointSize="10"/> 20 <textInputTraits key="textInputTraits" autocapitalizationType="sentences"/> 21 </textView> 22 <progressView opaque="NO" contentMode="scaleToFill" id="JSd-wh-hXB" userLabel="Attention" colorLabel="IBBuiltInLabel-Red"> 23 <rect key="frame" x="20" y="33" width="280" height="9"/> 24 <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> 25 <color key="progressTintColor" red="0.50988142290000005" green="0.0" blue="0.016224022651153087" alpha="1" colorSpace="calibratedRGB"/> 26 </progressView> 27 <progressView opaque="NO" contentMode="scaleToFill" id="ZTN-h8-tET" userLabel="Meditation"> 28 <rect key="frame" x="20" y="82" width="280" height="9"/> 29 <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> 30 <color key="progressTintColor" red="0.046599815398838729" green="0.0" blue="1" alpha="1" colorSpace="calibratedRGB"/> 31 </progressView> 32 <progressView opaque="NO" contentMode="scaleToFill" id="vZp-rE-8xO" userLabel="Signal"> 33 <rect key="frame" x="20" y="127" width="280" height="9"/> 34 <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> 35 <color key="progressTintColor" red="0.0" green="1" blue="0.017424847114385855" alpha="1" colorSpace="calibratedRGB"/> 36 </progressView> 37 <progressView opaque="NO" contentMode="scaleToFill" id="8n7-sq-rZ3" userLabel="Power"> 38 <rect key="frame" x="20" y="166" width="280" height="9"/> 39 <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> 40 <color key="progressTintColor" red="1" green="0.84573597206278617" blue="0.0" alpha="1" colorSpace="calibratedRGB"/> 41 </progressView> 42 <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Attention" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="GzU-Q6-ONB"> 43 <rect key="frame" x="20" y="10" width="98" height="21"/> 19 <connections> 20 <outlet property="delegate" destination="rjE-lQ-n1C" id="wQW-l9-cAw"/> 21 </connections> 22 </webView> 23 <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Loading support website..." lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="u0D-Mu-gtl"> 24 <rect key="frame" x="20" y="370" width="212" height="21"/> 44 25 <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> 45 26 <fontDescription key="fontDescription" type="system" pointSize="17"/> … … 47 28 <nil key="highlightedColor"/> 48 29 </label> 49 <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Meditation" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="bFF-gh-pFg"> 50 <rect key="frame" x="20" y="60" width="120" height="21"/> 51 <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> 52 <fontDescription key="fontDescription" type="system" pointSize="17"/> 53 <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> 54 <nil key="highlightedColor"/> 55 </label> 56 <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Signal" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="9Wy-9H-JC2"> 57 <rect key="frame" x="20" y="105" width="48" height="21"/> 58 <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> 59 <fontDescription key="fontDescription" type="system" pointSize="17"/> 60 <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> 61 <nil key="highlightedColor"/> 62 </label> 63 <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Hover" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="Lpp-7Q-bc6"> 64 <rect key="frame" x="20" y="144" width="46" height="21"/> 65 <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> 66 <fontDescription key="fontDescription" type="system" pointSize="17"/> 67 <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> 68 <nil key="highlightedColor"/> 69 </label> 70 <slider opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" value="0.69999999999999996" minValue="0.0" maxValue="1" id="bjQ-4R-D2B" userLabel="Attention Threshold"> 71 <rect key="frame" x="18" y="39" width="284" height="23"/> 72 <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> 73 </slider> 74 <slider opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" value="0.69999999999999996" minValue="0.0" maxValue="1" id="VDe-2a-Ggb" userLabel="Meditation Threshold"> 75 <rect key="frame" x="18" y="89" width="284" height="23"/> 76 <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> 77 </slider> 78 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="fp0-Gg-q1A" userLabel="Button - Connect"> 79 <rect key="frame" x="20" y="408" width="133" height="44"/> 30 <button hidden="YES" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="ito-kx-zLv"> 31 <rect key="frame" x="232" y="359" width="63" height="44"/> 80 32 <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> 81 33 <fontDescription key="fontDescription" type="boldSystem" pointSize="15"/> 82 <state key="normal" title=" Connect">83 <color key="titleColor" red="0.19607843459999999" green="0.30980393290000002" blue="0.52156865600000002" alpha="1" colorSpace="calibratedRGB"/>34 <state key="normal" title="Retry"> 35 <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> 84 36 <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/> 85 37 </state> … … 88 40 </state> 89 41 <connections> 90 <action selector="connectButtonPressed:" destination="2" eventType="touchUpInside" id="pGz-F3-mNK"/> 91 </connections> 92 </button> 93 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="pB6-m6-fSe"> 94 <rect key="frame" x="167" y="408" width="133" height="44"/> 95 <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> 96 <fontDescription key="fontDescription" type="boldSystem" pointSize="15"/> 97 <state key="normal" title="Demo"> 98 <color key="titleColor" red="0.19607843459999999" green="0.30980393290000002" blue="0.52156865600000002" alpha="1" colorSpace="calibratedRGB"/> 99 <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/> 100 </state> 101 <state key="highlighted"> 102 <color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/> 103 </state> 104 <connections> 105 <action selector="demoButtonPressed:" destination="2" eventType="touchUpInside" id="jxf-Gy-SDH"/> 42 <action selector="retryButtonPressed:" destination="7oi-5l-zN2" eventType="touchUpInside" id="9kp-D8-1M4"/> 106 43 </connections> 107 44 </button> … … 109 46 <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/> 110 47 </view> 48 <tabBarItem key="tabBarItem" title="Support" id="cac-uP-cgJ"/> 111 49 <connections> 112 <outlet property="attention" destination="JSd-wh-hXB" id="LDM-Zo-foy"/> 113 <outlet property="attentionThreshold" destination="bjQ-4R-D2B" id="Sn7-9G-IFD"/> 114 <outlet property="connectButton" destination="fp0-Gg-q1A" id="En3-ov-AJe"/> 115 <outlet property="demoButton" destination="pB6-m6-fSe" id="Y1w-Nm-UOz"/> 116 <outlet property="log" destination="q4j-9c-MI9" id="4qD-e1-XcH"/> 117 <outlet property="meditation" destination="ZTN-h8-tET" id="tE2-f1-8LM"/> 118 <outlet property="meditationThreshold" destination="VDe-2a-Ggb" id="xdm-dO-xUB"/> 119 <outlet property="power" destination="8n7-sq-rZ3" id="1pq-7L-nHm"/> 120 <outlet property="signal" destination="vZp-rE-8xO" id="VJA-Au-M0q"/> 50 <outlet property="retryButton" destination="ito-kx-zLv" id="yP6-IV-eHf"/> 51 <outlet property="status" destination="u0D-Mu-gtl" id="92u-fp-sEc"/> 52 <outlet property="webView" destination="R7U-lO-baI" id="sll-s3-Ueu"/> 121 53 </connections> 122 54 </viewController> 123 <placeholder placeholderIdentifier="IBFirstResponder" id=" 4" sceneMemberID="firstResponder"/>55 <placeholder placeholderIdentifier="IBFirstResponder" id="7oi-5l-zN2" userLabel="First Responder" sceneMemberID="firstResponder"/> 124 56 </objects> 57 <point key="canvasLocation" x="680" y="1035"/> 58 </scene> 59 <!--Advanced View Controller - Advanced--> 60 <scene sceneID="McU-Vi-Ffy"> 61 <objects> 62 <viewController id="GcO-3J-amz" customClass="AdvancedViewController" sceneMemberID="viewController"> 63 <view key="view" contentMode="scaleToFill" id="rcn-5S-sTR"> 64 <rect key="frame" x="0.0" y="20" width="320" height="411"/> 65 <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> 66 <subviews> 67 <view contentMode="scaleToFill" id="zCb-D8-025" userLabel="Throttle Box"> 68 <rect key="frame" x="6" y="74" width="309" height="77"/> 69 <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/> 70 <subviews> 71 <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Throttle" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="8LH-s5-Bua"> 72 <rect key="frame" x="6" y="3" width="64" height="17"/> 73 <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/> 74 <fontDescription key="fontDescription" type="system" pointSize="14"/> 75 <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> 76 <nil key="highlightedColor"/> 77 </label> 78 <slider opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" value="0.5" minValue="0.0" maxValue="1" id="mKS-gr-qpn" userLabel="Throttle"> 79 <rect key="frame" x="4" y="16" width="254" height="23"/> 80 <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/> 81 <connections> 82 <action selector="throttleChanged:" destination="GcO-3J-amz" eventType="valueChanged" id="3Or-yd-sFv"/> 83 </connections> 84 </slider> 85 <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="0%" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="uE4-bJ-AfU" userLabel="Throttle %"> 86 <rect key="frame" x="264" y="17" width="45" height="21"/> 87 <autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMinY="YES" flexibleMaxY="YES"/> 88 <fontDescription key="fontDescription" type="system" pointSize="14"/> 89 <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> 90 <nil key="highlightedColor"/> 91 </label> 92 <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Controls how quickly the Orbit will fly up when activated" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="ARo-km-5lV"> 93 <rect key="frame" x="6" y="28" width="287" height="49"/> 94 <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/> 95 <fontDescription key="fontDescription" type="system" pointSize="14"/> 96 <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> 97 <nil key="highlightedColor"/> 98 </label> 99 </subviews> 100 <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/> 101 <userDefinedRuntimeAttributes> 102 <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> 103 <real key="value" value="5"/> 104 </userDefinedRuntimeAttribute> 105 </userDefinedRuntimeAttributes> 106 </view> 107 <view contentMode="scaleToFill" id="EIx-J4-YAd" userLabel="Pitch Box"> 108 <rect key="frame" x="6" y="296" width="309" height="77"/> 109 <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/> 110 <subviews> 111 <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Pitch" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="ge6-kf-Zho"> 112 <rect key="frame" x="6" y="7" width="64" height="17"/> 113 <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/> 114 <fontDescription key="fontDescription" type="system" pointSize="14"/> 115 <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> 116 <nil key="highlightedColor"/> 117 </label> 118 <slider opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" value="0.5" minValue="0.0" maxValue="1" id="pE4-wd-89x" userLabel="Throttle"> 119 <rect key="frame" x="4" y="22" width="254" height="23"/> 120 <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/> 121 <connections> 122 <action selector="pitchChanged:" destination="GcO-3J-amz" eventType="valueChanged" id="ztK-Yd-Bll"/> 123 </connections> 124 </slider> 125 <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="0%" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="cMg-2k-3dB" userLabel="Pitch %"> 126 <rect key="frame" x="264" y="22" width="45" height="21"/> 127 <autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMinY="YES" flexibleMaxY="YES"/> 128 <fontDescription key="fontDescription" type="system" pointSize="14"/> 129 <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> 130 <nil key="highlightedColor"/> 131 </label> 132 <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Controls the forward and backward motion" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="Vaw-x7-cTr"> 133 <rect key="frame" x="6" y="42" width="418" height="21"/> 134 <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/> 135 <fontDescription key="fontDescription" type="system" pointSize="14"/> 136 <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> 137 <nil key="highlightedColor"/> 138 </label> 139 </subviews> 140 <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/> 141 <userDefinedRuntimeAttributes> 142 <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> 143 <real key="value" value="5"/> 144 </userDefinedRuntimeAttribute> 145 </userDefinedRuntimeAttributes> 146 </view> 147 <view contentMode="scaleToFill" id="5aV-7g-jF0" userLabel="Yaw Box"> 148 <rect key="frame" x="6" y="183" width="309" height="74"/> 149 <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/> 150 <subviews> 151 <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Yaw" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="HTw-5p-FRV"> 152 <rect key="frame" x="6" y="9" width="64" height="17"/> 153 <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/> 154 <fontDescription key="fontDescription" type="system" pointSize="14"/> 155 <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> 156 <nil key="highlightedColor"/> 157 </label> 158 <slider opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" value="0.5" minValue="0.0" maxValue="1" id="8k8-7Y-hWH" userLabel="Yaw"> 159 <rect key="frame" x="4" y="24" width="254" height="23"/> 160 <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/> 161 <connections> 162 <action selector="yawChanged:" destination="GcO-3J-amz" eventType="valueChanged" id="Tks-M1-sk4"/> 163 </connections> 164 </slider> 165 <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="0%" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="1CN-Zn-zEf" userLabel="Yaw %"> 166 <rect key="frame" x="264" y="23" width="45" height="21"/> 167 <autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMinY="YES" flexibleMaxY="YES"/> 168 <fontDescription key="fontDescription" type="system" pointSize="14"/> 169 <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> 170 <nil key="highlightedColor"/> 171 </label> 172 <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Controls the right and left rotation of the Orbit" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="s3x-YJ-Fr2"> 173 <rect key="frame" x="6" y="44" width="291" height="21"/> 174 <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/> 175 <fontDescription key="fontDescription" type="system" pointSize="14"/> 176 <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> 177 <nil key="highlightedColor"/> 178 </label> 179 </subviews> 180 <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/> 181 <userDefinedRuntimeAttributes> 182 <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> 183 <real key="value" value="5"/> 184 </userDefinedRuntimeAttribute> 185 </userDefinedRuntimeAttributes> 186 </view> 187 <navigationBar contentMode="scaleToFill" barStyle="blackOpaque" id="5Ws-PW-54T"> 188 <rect key="frame" x="0.0" y="0.0" width="320" height="44"/> 189 <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/> 190 <items> 191 <navigationItem title="Advanced" id="5si-2Z-XrP"/> 192 </items> 193 </navigationBar> 194 </subviews> 195 <color key="backgroundColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> 196 </view> 197 <tabBarItem key="tabBarItem" title="Advanced" id="cd7-uP-s8P"/> 198 <connections> 199 <outlet property="pitch" destination="pE4-wd-89x" id="Sbm-iD-GAE"/> 200 <outlet property="pitchPercent" destination="cMg-2k-3dB" id="CuC-M3-EWV"/> 201 <outlet property="throttle" destination="mKS-gr-qpn" id="O0G-49-cDf"/> 202 <outlet property="throttlePercent" destination="uE4-bJ-AfU" id="2eT-1d-7nT"/> 203 <outlet property="yaw" destination="8k8-7Y-hWH" id="wuD-Vv-AEE"/> 204 <outlet property="yawPercent" destination="1CN-Zn-zEf" id="3Vz-sH-3kA"/> 205 </connections> 206 </viewController> 207 <placeholder placeholderIdentifier="IBFirstResponder" id="oN9-X2-GzT" userLabel="First Responder" sceneMemberID="firstResponder"/> 208 </objects> 209 <point key="canvasLocation" x="680" y="464"/> 210 </scene> 211 <!--Flight View Controller - Flight--> 212 <scene sceneID="ywZ-5q-t8J"> 213 <objects> 214 <viewController id="FNb-Lg-ILk" customClass="FlightViewController" sceneMemberID="viewController"> 215 <view key="view" contentMode="scaleToFill" id="dDj-7V-uD1"> 216 <rect key="frame" x="0.0" y="20" width="320" height="411"/> 217 <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> 218 <subviews> 219 <navigationBar contentMode="scaleToFill" barStyle="blackOpaque" id="SC5-fb-Wjf"> 220 <rect key="frame" x="0.0" y="0.0" width="320" height="44"/> 221 <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/> 222 <items> 223 <navigationItem title="Flight" id="adH-fG-xVu"> 224 <barButtonItem key="rightBarButtonItem" title="Connect" id="Lwp-ZU-iKO"> 225 <connections> 226 <action selector="connectButtonPressed:" destination="2FE-fA-6q3" id="01p-85-w79"/> 227 </connections> 228 </barButtonItem> 229 </navigationItem> 230 </items> 231 </navigationBar> 232 <view contentMode="scaleToFill" id="vgz-EV-JZc" userLabel="Attention Background"> 233 <rect key="frame" x="6" y="47" width="309" height="55"/> 234 <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/> 235 <subviews> 236 <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Attention" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="LNH-th-cYL"> 237 <rect key="frame" x="6" y="-1" width="64" height="17"/> 238 <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/> 239 <fontDescription key="fontDescription" type="system" pointSize="14"/> 240 <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> 241 <nil key="highlightedColor"/> 242 </label> 243 <progressView opaque="NO" contentMode="scaleToFill" id="Dly-NW-R1i" userLabel="Attention" colorLabel="IBBuiltInLabel-Red"> 244 <rect key="frame" x="4" y="31" width="254" height="9"/> 245 <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/> 246 <color key="progressTintColor" red="0.50988142290000005" green="0.0" blue="0.016224022649999999" alpha="1" colorSpace="calibratedRGB"/> 247 </progressView> 248 <slider opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" value="0.69999999999999996" minValue="0.0" maxValue="1" id="ym8-zN-dSb" userLabel="Attention Threshold"> 249 <rect key="frame" x="4" y="9" width="254" height="23"/> 250 <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/> 251 </slider> 252 <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="0%" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="bZn-rG-svm" userLabel="Attention %"> 253 <rect key="frame" x="264" y="25" width="38" height="21"/> 254 <autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMinY="YES" flexibleMaxY="YES"/> 255 <fontDescription key="fontDescription" type="system" pointSize="14"/> 256 <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> 257 <nil key="highlightedColor"/> 258 </label> 259 </subviews> 260 <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/> 261 <userDefinedRuntimeAttributes> 262 <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> 263 <real key="value" value="5"/> 264 </userDefinedRuntimeAttribute> 265 </userDefinedRuntimeAttributes> 266 </view> 267 <view contentMode="scaleToFill" id="6bR-ua-0jV" userLabel="Meditation Background"> 268 <rect key="frame" x="6" y="108" width="309" height="57"/> 269 <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/> 270 <subviews> 271 <progressView opaque="NO" contentMode="scaleToFill" id="tsc-gq-wnT" userLabel="Meditation" colorLabel="IBBuiltInLabel-Red"> 272 <rect key="frame" x="4" y="39" width="254" height="9"/> 273 <color key="progressTintColor" red="0.50988142290000005" green="0.0" blue="0.016224022649999999" alpha="1" colorSpace="calibratedRGB"/> 274 </progressView> 275 <slider opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" value="0.69999999999999996" minValue="0.0" maxValue="1" id="LJj-vt-JUw" userLabel="Meditation Threshold"> 276 <rect key="frame" x="4" y="13" width="254" height="23"/> 277 </slider> 278 <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Meditation" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="HD9-dt-40K"> 279 <rect key="frame" x="6" y="-1" width="120" height="17"/> 280 <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/> 281 <fontDescription key="fontDescription" type="system" pointSize="14"/> 282 <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> 283 <nil key="highlightedColor"/> 284 </label> 285 <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="0%" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="Rhw-9S-ZP1" userLabel="Meditation %"> 286 <rect key="frame" x="264" y="33" width="45" height="21"/> 287 <fontDescription key="fontDescription" type="system" pointSize="14"/> 288 <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> 289 <nil key="highlightedColor"/> 290 </label> 291 </subviews> 292 <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/> 293 <userDefinedRuntimeAttributes> 294 <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> 295 <real key="value" value="5"/> 296 </userDefinedRuntimeAttribute> 297 </userDefinedRuntimeAttributes> 298 </view> 299 <view contentMode="scaleToFill" id="DEF-SC-IYQ" userLabel="Meditation Background"> 300 <rect key="frame" x="6" y="171" width="309" height="64"/> 301 <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/> 302 <subviews> 303 <progressView opaque="NO" contentMode="scaleToFill" id="AuD-cU-2pt" userLabel="Signal"> 304 <rect key="frame" x="4" y="19" width="254" height="9"/> 305 <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/> 306 <color key="progressTintColor" red="0.0" green="1" blue="0.017424847109999999" alpha="1" colorSpace="calibratedRGB"/> 307 </progressView> 308 <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Signal" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="JXh-II-yAS"> 309 <rect key="frame" x="6" y="-1" width="48" height="17"/> 310 <autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/> 311 <fontDescription key="fontDescription" type="system" pointSize="14"/> 312 <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> 313 <nil key="highlightedColor"/> 314 </label> 315 <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Hover" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="oUh-1C-0bs"> 316 <rect key="frame" x="7" y="26" width="46" height="21"/> 317 <autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/> 318 <fontDescription key="fontDescription" type="system" pointSize="14"/> 319 <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> 320 <nil key="highlightedColor"/> 321 </label> 322 <progressView opaque="NO" contentMode="scaleToFill" id="KeR-cO-90u" userLabel="Power"> 323 <rect key="frame" x="4" y="45" width="254" height="9"/> 324 <autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/> 325 <color key="progressTintColor" red="1" green="0.84573597209999996" blue="0.0" alpha="1" colorSpace="calibratedRGB"/> 326 </progressView> 327 <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="0%" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="yYn-76-IoI"> 328 <rect key="frame" x="264" y="14" width="45" height="17"/> 329 <autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/> 330 <fontDescription key="fontDescription" type="system" pointSize="14"/> 331 <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> 332 <nil key="highlightedColor"/> 333 </label> 334 <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="0%" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="ah9-c0-kCb"> 335 <rect key="frame" x="264" y="37" width="45" height="21"/> 336 <autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/> 337 <fontDescription key="fontDescription" type="system" pointSize="14"/> 338 <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> 339 <nil key="highlightedColor"/> 340 </label> 341 </subviews> 342 <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/> 343 <accessibility key="accessibilityConfiguration"> 344 <accessibilityTraits key="traits" none="YES" notEnabled="YES"/> 345 </accessibility> 346 <userDefinedRuntimeAttributes> 347 <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> 348 <real key="value" value="5"/> 349 </userDefinedRuntimeAttribute> 350 </userDefinedRuntimeAttributes> 351 </view> 352 <view contentMode="scaleToFill" id="lfi-AW-BAx"> 353 <rect key="frame" x="7" y="243" width="308" height="163"/> 354 <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/> 355 <subviews> 356 <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Disconnected" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="BOS-Js-1rx" userLabel="Status"> 357 <rect key="frame" x="20" y="126" width="268" height="32"/> 358 <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/> 359 <color key="backgroundColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/> 360 <fontDescription key="fontDescription" type="system" pointSize="16"/> 361 <color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/> 362 <nil key="highlightedColor"/> 363 <userDefinedRuntimeAttributes> 364 <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> 365 <real key="value" value="5"/> 366 </userDefinedRuntimeAttribute> 367 </userDefinedRuntimeAttributes> 368 </label> 369 <imageView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleAspectFit" image="status_0.png" id="aa9-oz-0Qj"> 370 <rect key="frame" x="66" y="0.0" width="177" height="126"/> 371 <autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/> 372 </imageView> 373 </subviews> 374 <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/> 375 <userDefinedRuntimeAttributes> 376 <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> 377 <real key="value" value="5"/> 378 </userDefinedRuntimeAttribute> 379 </userDefinedRuntimeAttributes> 380 </view> 381 </subviews> 382 <color key="backgroundColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> 383 </view> 384 <tabBarItem key="tabBarItem" title="Flight" id="ysb-Df-cyR"/> 385 <navigationItem key="navigationItem" id="iTN-dz-EXc"/> 386 <connections> 387 <outlet property="attentionPercent" destination="bZn-rG-svm" id="1Ap-Cq-hIM"/> 388 <outlet property="attentionThreshold" destination="ym8-zN-dSb" id="baB-wY-lJS"/> 389 <outlet property="connectButton" destination="Lwp-ZU-iKO" id="zdp-si-XhL"/> 390 <outlet property="meditationPercent" destination="Rhw-9S-ZP1" id="Wws-f9-lVM"/> 391 <outlet property="meditationThreshold" destination="LJj-vt-JUw" id="UKy-Vg-8gL"/> 392 <outlet property="powerPercent" destination="ah9-c0-kCb" id="IF6-xV-7Xf"/> 393 <outlet property="signalPercent" destination="yYn-76-IoI" id="4Ei-JM-jZ1"/> 394 <outlet property="status" destination="BOS-Js-1rx" id="fDM-Of-lza"/> 395 <outlet property="statusImage" destination="aa9-oz-0Qj" id="ilQ-PQ-gI8"/> 396 </connections> 397 </viewController> 398 <placeholder placeholderIdentifier="IBFirstResponder" id="2FE-fA-6q3" userLabel="First Responder" sceneMemberID="firstResponder"/> 399 </objects> 400 <point key="canvasLocation" x="680" y="-96"/> 401 </scene> 402 <!--Tutorial View Controller - Tutorial--> 403 <scene sceneID="Qva-11-RgT"> 404 <objects> 405 <viewController id="Wc6-MU-jew" customClass="TutorialViewController" sceneMemberID="viewController"> 406 <view key="view" contentMode="scaleToFill" id="1rv-DF-u63"> 407 <rect key="frame" x="0.0" y="20" width="320" height="411"/> 408 <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> 409 <subviews> 410 <navigationBar contentMode="scaleToFill" barStyle="blackOpaque" id="i9G-iO-V1m"> 411 <rect key="frame" x="0.0" y="0.0" width="320" height="44"/> 412 <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/> 413 <items> 414 <navigationItem title="Tutorial" id="9Bx-6p-77n"/> 415 </items> 416 </navigationBar> 417 <webView contentMode="scaleToFill" id="yFF-oy-BYh"> 418 <rect key="frame" x="0.0" y="44" width="320" height="367"/> 419 <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> 420 <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/> 421 <connections> 422 <outlet property="delegate" destination="Wc6-MU-jew" id="cBE-hV-4Fe"/> 423 </connections> 424 </webView> 425 </subviews> 426 <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/> 427 </view> 428 <tabBarItem key="tabBarItem" title="Tutorial" id="JJR-hA-hnf"/> 429 </viewController> 430 <placeholder placeholderIdentifier="IBFirstResponder" id="phY-I4-vyg" userLabel="First Responder" sceneMemberID="firstResponder"/> 431 </objects> 432 <point key="canvasLocation" x="675" y="-678"/> 433 </scene> 434 <!--Tab Bar Controller--> 435 <scene sceneID="Unr-Qu-XhD"> 436 <objects> 437 <tabBarController definesPresentationContext="YES" id="T1J-Fd-fkz" sceneMemberID="viewController"> 438 <nil key="simulatedBottomBarMetrics"/> 439 <tabBar key="tabBar" contentMode="scaleToFill" id="ib6-CL-444"> 440 <rect key="frame" x="129" y="330" width="163" height="49"/> 441 <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/> 442 <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> 443 </tabBar> 444 <connections> 445 <segue destination="Wc6-MU-jew" kind="relationship" relationship="viewControllers" id="RgU-De-HvK"/> 446 <segue destination="FNb-Lg-ILk" kind="relationship" relationship="viewControllers" id="qdp-16-orN"/> 447 <segue destination="GcO-3J-amz" kind="relationship" relationship="viewControllers" id="2mN-g9-3Pc"/> 448 <segue destination="rjE-lQ-n1C" kind="relationship" relationship="viewControllers" id="Qzp-bX-Vb5"/> 449 </connections> 450 </tabBarController> 451 <placeholder placeholderIdentifier="IBFirstResponder" id="PCd-gv-Nkx" userLabel="First Responder" sceneMemberID="firstResponder"/> 452 </objects> 453 <point key="canvasLocation" x="134" y="134"/> 125 454 </scene> 126 455 </scenes> 456 <resources> 457 <image name="status_0.png" width="238" height="213"/> 458 </resources> 459 <classes> 460 <class className="AdvancedViewController" superclassName="UIViewController"> 461 <source key="sourceIdentifier" type="project" relativePath="./Classes/AdvancedViewController.h"/> 462 <relationships> 463 <relationship kind="action" name="pitchChanged:"/> 464 <relationship kind="action" name="throttleChanged:"/> 465 <relationship kind="action" name="yawChanged:"/> 466 <relationship kind="outlet" name="pitch" candidateClass="UISlider"/> 467 <relationship kind="outlet" name="pitchPercent" candidateClass="UILabel"/> 468 <relationship kind="outlet" name="throttle" candidateClass="UISlider"/> 469 <relationship kind="outlet" name="throttlePercent" candidateClass="UILabel"/> 470 <relationship kind="outlet" name="yaw" candidateClass="UISlider"/> 471 <relationship kind="outlet" name="yawPercent" candidateClass="UILabel"/> 472 </relationships> 473 </class> 474 <class className="FlightViewController" superclassName="UIViewController"> 475 <source key="sourceIdentifier" type="project" relativePath="./Classes/FlightViewController.h"/> 476 <relationships> 477 <relationship kind="action" name="connectButtonPressed:"/> 478 <relationship kind="outlet" name="attention" candidateClass="UIProgressView"/> 479 <relationship kind="outlet" name="attentionPercent" candidateClass="UILabel"/> 480 <relationship kind="outlet" name="attentionThreshold" candidateClass="UISlider"/> 481 <relationship kind="outlet" name="connectButton" candidateClass="UIBarButtonItem"/> 482 <relationship kind="outlet" name="meditation" candidateClass="UIProgressView"/> 483 <relationship kind="outlet" name="meditationPercent" candidateClass="UILabel"/> 484 <relationship kind="outlet" name="meditationThreshold" candidateClass="UISlider"/> 485 <relationship kind="outlet" name="power" candidateClass="UIProgressView"/> 486 <relationship kind="outlet" name="powerPercent" candidateClass="UILabel"/> 487 <relationship kind="outlet" name="signal" candidateClass="UIProgressView"/> 488 <relationship kind="outlet" name="signalPercent" candidateClass="UILabel"/> 489 <relationship kind="outlet" name="status" candidateClass="UILabel"/> 490 <relationship kind="outlet" name="statusImage" candidateClass="UIImageView"/> 491 </relationships> 492 </class> 493 <class className="SupportViewController" superclassName="UIViewController"> 494 <source key="sourceIdentifier" type="project" relativePath="./Classes/SupportViewController.h"/> 495 <relationships> 496 <relationship kind="action" name="retryButtonPressed:"/> 497 <relationship kind="outlet" name="retryButton" candidateClass="UIButton"/> 498 <relationship kind="outlet" name="status" candidateClass="UILabel"/> 499 <relationship kind="outlet" name="webView" candidateClass="UIWebView"/> 500 </relationships> 501 </class> 502 <class className="TutorialViewController" superclassName="UIViewController"> 503 <source key="sourceIdentifier" type="project" relativePath="./Classes/TutorialViewController.h"/> 504 <relationships> 505 <relationship kind="outlet" name="webView" candidateClass="UIWebView"/> 506 </relationships> 507 </class> 508 </classes> 127 509 <simulatedMetricsContainer key="defaultSimulatedMetrics"> 128 510 <simulatedStatusBarMetrics key="statusBar"/> -
iOS/Orbit/orbit.xcodeproj/project.pbxproj
ra9059a5 rab9d63b 21 21 28174C7D167F2EAA00104752 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 28174C7C167F2EAA00104752 /* ViewController.m */; }; 22 22 28174C84167F30C400104752 /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 28174C83167F30C400104752 /* AVFoundation.framework */; }; 23 2843FE891790205900C79D56 /* status_1.png in Resources */ = {isa = PBXBuildFile; fileRef = 2843FE811790205900C79D56 /* status_1.png */; }; 24 2843FE8A1790205900C79D56 /* status_1@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 2843FE821790205900C79D56 /* status_1@2x.png */; }; 25 2843FE8B1790205900C79D56 /* status_2.png in Resources */ = {isa = PBXBuildFile; fileRef = 2843FE831790205900C79D56 /* status_2.png */; }; 26 2843FE8C1790205900C79D56 /* status_2@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 2843FE841790205900C79D56 /* status_2@2x.png */; }; 27 2843FE8D1790205900C79D56 /* status_3.png in Resources */ = {isa = PBXBuildFile; fileRef = 2843FE851790205900C79D56 /* status_3.png */; }; 28 2843FE8E1790205900C79D56 /* status_3@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 2843FE861790205900C79D56 /* status_3@2x.png */; }; 29 2843FE8F1790205900C79D56 /* status_4.png in Resources */ = {isa = PBXBuildFile; fileRef = 2843FE871790205900C79D56 /* status_4.png */; }; 30 2843FE901790205900C79D56 /* status_4@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 2843FE881790205900C79D56 /* status_4@2x.png */; }; 31 288B4BC0178EB112007D588D /* status_0@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 288B4BBF178EB112007D588D /* status_0@2x.png */; }; 32 288B4BC3178ECD0B007D588D /* AdvancedViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 288B4BC2178ECD0B007D588D /* AdvancedViewController.m */; }; 33 288B4BC6178ED362007D588D /* SupportViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 288B4BC5178ED362007D588D /* SupportViewController.m */; }; 34 288B4BC9178F016F007D588D /* SignalConverter.m in Sources */ = {isa = PBXBuildFile; fileRef = 288B4BC8178F016F007D588D /* SignalConverter.m */; }; 35 289C7CCF178C36A9005C08EC /* TutorialViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 289C7CCE178C36A9005C08EC /* TutorialViewController.m */; }; 36 289C7D0E178D757F005C08EC /* FlightViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 289C7D0D178D757F005C08EC /* FlightViewController.m */; }; 37 289C7D19178D7A34005C08EC /* status_0.png in Resources */ = {isa = PBXBuildFile; fileRef = 289C7D14178D7A34005C08EC /* status_0.png */; }; 23 38 28C10EEC16875BC100ECFD59 /* throttle_hover_ios.wav in Resources */ = {isa = PBXBuildFile; fileRef = 28C10EEB16875BC100ECFD59 /* throttle_hover_ios.wav */; }; 24 39 28C10EF1168760CA00ECFD59 /* HOW_TO_USE.txt in Resources */ = {isa = PBXBuildFile; fileRef = 28C10EF0168760CA00ECFD59 /* HOW_TO_USE.txt */; }; … … 50 65 28174C7C167F2EAA00104752 /* ViewController.m */ = {isa = PBXFileReference; indentWidth = 3; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; tabWidth = 3; }; 51 66 28174C83167F30C400104752 /* AVFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AVFoundation.framework; path = System/Library/Frameworks/AVFoundation.framework; sourceTree = SDKROOT; }; 67 2843FE811790205900C79D56 /* status_1.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = status_1.png; sourceTree = "<group>"; }; 68 2843FE821790205900C79D56 /* status_1@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "status_1@2x.png"; sourceTree = "<group>"; }; 69 2843FE831790205900C79D56 /* status_2.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = status_2.png; sourceTree = "<group>"; }; 70 2843FE841790205900C79D56 /* status_2@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "status_2@2x.png"; sourceTree = "<group>"; }; 71 2843FE851790205900C79D56 /* status_3.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = status_3.png; sourceTree = "<group>"; }; 72 2843FE861790205900C79D56 /* status_3@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "status_3@2x.png"; sourceTree = "<group>"; }; 73 2843FE871790205900C79D56 /* status_4.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = status_4.png; sourceTree = "<group>"; }; 74 2843FE881790205900C79D56 /* status_4@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "status_4@2x.png"; sourceTree = "<group>"; }; 75 288B4BBF178EB112007D588D /* status_0@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "status_0@2x.png"; sourceTree = "<group>"; }; 76 288B4BC1178ECD0A007D588D /* AdvancedViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AdvancedViewController.h; path = controllers/AdvancedViewController.h; sourceTree = "<group>"; }; 77 288B4BC2178ECD0B007D588D /* AdvancedViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AdvancedViewController.m; path = controllers/AdvancedViewController.m; sourceTree = "<group>"; }; 78 288B4BC4178ED362007D588D /* SupportViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SupportViewController.h; path = controllers/SupportViewController.h; sourceTree = "<group>"; }; 79 288B4BC5178ED362007D588D /* SupportViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SupportViewController.m; path = controllers/SupportViewController.m; sourceTree = "<group>"; }; 80 288B4BC7178F016F007D588D /* SignalConverter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SignalConverter.h; sourceTree = "<group>"; }; 81 288B4BC8178F016F007D588D /* SignalConverter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SignalConverter.m; sourceTree = "<group>"; }; 82 288B4BCA178F0842007D588D /* SignalConverterDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SignalConverterDelegate.h; sourceTree = "<group>"; }; 83 289C7CCD178C36A9005C08EC /* TutorialViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TutorialViewController.h; path = controllers/TutorialViewController.h; sourceTree = "<group>"; }; 84 289C7CCE178C36A9005C08EC /* TutorialViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = TutorialViewController.m; path = controllers/TutorialViewController.m; sourceTree = "<group>"; }; 85 289C7D0C178D757F005C08EC /* FlightViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = FlightViewController.h; path = controllers/FlightViewController.h; sourceTree = "<group>"; }; 86 289C7D0D178D757F005C08EC /* FlightViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = FlightViewController.m; path = controllers/FlightViewController.m; sourceTree = "<group>"; }; 87 289C7D14178D7A34005C08EC /* status_0.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = status_0.png; sourceTree = "<group>"; }; 52 88 28C10EEB16875BC100ECFD59 /* throttle_hover_ios.wav */ = {isa = PBXFileReference; lastKnownFileType = audio.wav; path = throttle_hover_ios.wav; sourceTree = "<group>"; }; 53 89 28C10EF0168760CA00ECFD59 /* HOW_TO_USE.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = HOW_TO_USE.txt; sourceTree = "<group>"; }; … … 169 205 isa = PBXGroup; 170 206 children = ( 207 289C7D0F178D7A21005C08EC /* Images */, 171 208 52FA364716899C63004C280A /* Default-568h@2x.png */, 172 209 52FA364516899B69004C280A /* ic_launcher-114x114.png */, … … 211 248 2815BC08167F428B00F7E6DA /* Libraries */, 212 249 28174C67167F2EA900104752 /* Supporting Files */, 250 289C7CCD178C36A9005C08EC /* TutorialViewController.h */, 251 289C7CCE178C36A9005C08EC /* TutorialViewController.m */, 252 289C7D0C178D757F005C08EC /* FlightViewController.h */, 253 289C7D0D178D757F005C08EC /* FlightViewController.m */, 254 288B4BC1178ECD0A007D588D /* AdvancedViewController.h */, 255 288B4BC2178ECD0B007D588D /* AdvancedViewController.m */, 256 288B4BC4178ED362007D588D /* SupportViewController.h */, 257 288B4BC5178ED362007D588D /* SupportViewController.m */, 258 288B4BC7178F016F007D588D /* SignalConverter.h */, 259 288B4BC8178F016F007D588D /* SignalConverter.m */, 260 288B4BCA178F0842007D588D /* SignalConverterDelegate.h */, 213 261 ); 214 262 path = Orbit; … … 225 273 ); 226 274 name = "Supporting Files"; 275 sourceTree = "<group>"; 276 }; 277 289C7D0F178D7A21005C08EC /* Images */ = { 278 isa = PBXGroup; 279 children = ( 280 289C7D14178D7A34005C08EC /* status_0.png */, 281 288B4BBF178EB112007D588D /* status_0@2x.png */, 282 2843FE811790205900C79D56 /* status_1.png */, 283 2843FE821790205900C79D56 /* status_1@2x.png */, 284 2843FE831790205900C79D56 /* status_2.png */, 285 2843FE841790205900C79D56 /* status_2@2x.png */, 286 2843FE851790205900C79D56 /* status_3.png */, 287 2843FE861790205900C79D56 /* status_3@2x.png */, 288 2843FE871790205900C79D56 /* status_4.png */, 289 2843FE881790205900C79D56 /* status_4@2x.png */, 290 ); 291 name = Images; 227 292 sourceTree = "<group>"; 228 293 }; … … 366 431 52FA364616899B69004C280A /* ic_launcher-114x114.png in Resources */, 367 432 52FA364816899C63004C280A /* Default-568h@2x.png in Resources */, 433 289C7D19178D7A34005C08EC /* status_0.png in Resources */, 434 288B4BC0178EB112007D588D /* status_0@2x.png in Resources */, 435 2843FE891790205900C79D56 /* status_1.png in Resources */, 436 2843FE8A1790205900C79D56 /* status_1@2x.png in Resources */, 437 2843FE8B1790205900C79D56 /* status_2.png in Resources */, 438 2843FE8C1790205900C79D56 /* status_2@2x.png in Resources */, 439 2843FE8D1790205900C79D56 /* status_3.png in Resources */, 440 2843FE8E1790205900C79D56 /* status_3@2x.png in Resources */, 441 2843FE8F1790205900C79D56 /* status_4.png in Resources */, 442 2843FE901790205900C79D56 /* status_4@2x.png in Resources */, 368 443 ); 369 444 runOnlyForDeploymentPostprocessing = 0; … … 379 454 28174C71167F2EA900104752 /* AppDelegate.m in Sources */, 380 455 28174C7D167F2EAA00104752 /* ViewController.m in Sources */, 456 289C7CCF178C36A9005C08EC /* TutorialViewController.m in Sources */, 457 289C7D0E178D757F005C08EC /* FlightViewController.m in Sources */, 458 288B4BC3178ECD0B007D588D /* AdvancedViewController.m in Sources */, 459 288B4BC6178ED362007D588D /* SupportViewController.m in Sources */, 460 288B4BC9178F016F007D588D /* SignalConverter.m in Sources */, 381 461 ); 382 462 runOnlyForDeploymentPostprocessing = 0; … … 457 537 isa = XCBuildConfiguration; 458 538 buildSettings = { 459 CLANG_ENABLE_OBJC_ARC = NO;460 539 GCC_PRECOMPILE_PREFIX_HEADER = YES; 461 540 GCC_PREFIX_HEADER = "Orbit/Orbit-Prefix.pch"; … … 478 557 isa = XCBuildConfiguration; 479 558 buildSettings = { 480 CLANG_ENABLE_OBJC_ARC = NO;481 559 GCC_PRECOMPILE_PREFIX_HEADER = YES; 482 560 GCC_PREFIX_HEADER = "Orbit/Orbit-Prefix.pch";
Note: See TracChangeset
for help on using the changeset viewer.