View TelloState.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import socket | |
from time import sleep | |
INTERVAL = 0.2 | |
if __name__ == "__main__": | |
local_ip = '' | |
local_port = 8890 | |
socket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) # socket for sending cmd |
View ARPlacementInteractableSingle.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.XR.ARFoundation; | |
using UnityEngine.XR.ARSubsystems; | |
using UnityEngine.XR.Interaction.Toolkit.AR; | |
public class ARPlacementInteractableSingle : ARBaseGestureInteractable | |
{ | |
[SerializeField] | |
[Tooltip("A GameObject to place when a raycast from a user touch hits a plane.")] |
View PlacementWithManySelectionWithScaleController.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.EventSystems; | |
using UnityEngine.UI; | |
using UnityEngine.XR.ARFoundation; | |
[RequireComponent(typeof(ARRaycastManager))] | |
public class PlacementWithManySelectionWithScaleController : MonoBehaviour | |
{ | |
[SerializeField] |
View OculusBuildProcessor.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#if UNITY_ANDROID | |
using System.Reflection; | |
using System.Xml; | |
using UnityEngine; | |
using UnityEngine.Rendering; | |
using UnityEditor.Android; | |
using UnityEditor.Build; | |
using UnityEditor.Build.Reporting; | |
namespace UnityEditor.XR.Oculus |
View AndroidManifest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" standalone="no"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
android:installLocation="auto"> | |
<uses-feature android:name="android.hardware.vr.headtracking" android:version="1" android:required="true" /><!-- Request the headset DoF mode --> | |
<uses-feature android:name="oculus.software.handtracking" android:required="true" /><uses-permission android:name="oculus.permission.handtracking" /><!-- Request the headset handtracking mode --> | |
<application | |
android:label="@string/app_name" | |
android:icon="@mipmap/app_icon"> | |
<activity | |
android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" |
View vwCustomerUpload.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE VIEW [dbo].[vwCustomerUpload] | |
AS | |
SELECT | |
MAX([ocp].[OnlineCustomerPersonID]) as [OnlineCustomerPersonID], | |
MAX([ocp].[Email]) as [Email], | |
MAX([ocp].[Password]) as [Password], | |
MAX([ocp].[DemoID]) as [DemoID], | |
MAX([ocp].[FirstName]) as [FirstName], | |
MAX([ocp].[LastName]) as [LastName], |
View Build.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Copying provisioning profile..." | |
cp ./embedded.provisionprofile ./Cubiques.app/Contents/ | |
echo "Copying plist template..." | |
cp ./Info.plist ./Cubiques.app/Contents/ | |
echo "Starting Signing..." | |
codesign -f --deep -s "3rd Party Mac Developer Application: Dilmer Valecillos" --entitlements "./Cubiques.entitlements" ./Cubiques.app/Contents/Frameworks/MonoEmbedRuntime/osx/libmono.0.dylib | |
codesign -f --deep -s "3rd Party Mac Developer Application: Dilmer Valecillos" --entitlements "./Cubiques.entitlements" ./Cubiques.app/Contents/Frameworks/MonoEmbedRuntime/osx/libMonoPosixHelper.dylib |
View MAC_Build_Sign_Game.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Copying provisioning profile..." | |
cp ./embedded.provisionprofile ./YourGameName.app/Contents/ | |
echo "Starting Signing..." | |
codesign -f --deep -s "3rd Party Mac Developer Application: [Your Name]" --entitlements "./YourGameName.entitlements" ./YourGameName.app/Contents/Frameworks/MonoEmbedRuntime/osx/libmono.0.dylib | |
codesign -f --deep -s "3rd Party Mac Developer Application: [Your Name]" --entitlements "./YourGameName.entitlements" ./YourGameName.app/Contents/Frameworks/MonoEmbedRuntime/osx/libMonoPosixHelper.dylib | |
codesign -f --deep -s "3rd Party Mac Developer Application: [Your Name]" --entitlements YourGameName.entitlements "./YourGameName.app/" | |
echo "Done Signing..." |
View YourGameName.entitlements
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>com.apple.security.app-sandbox</key> | |
<true/> | |
<key>com.apple.developer.game-center</key> | |
<true/> | |
</dict> | |
</plist> |
View MAC_Build_Plist_Example.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>CFBundleDevelopmentRegion</key> | |
<string>English</string> | |
<key>CFBundleExecutable</key> | |
<string>[YourGameName]</string> | |
<key>CFBundleGetInfoString</key> | |
<string>Your Game Name (c) 2017 Dilmer Games. All rights reserved.</string> |
NewerOlder