// Use this for initialization void Start() { camDisplay = GameObject.Find("CameraRawImage").GetComponent <CamDisplay>(); jsonImageKeywordsObj = GameObject.Find("JSONImageKeywordsObject").GetComponent <JSONImageKeywordsObject>(); inProgress = false; //sendImageToCloudSight (); }
// Use this for initialization void Start() { instance = this; rb = GetComponent <Rigidbody>(); cam = FindObjectOfType <CamDisplay>(); //apply acceleration limits from MOOG TURN_DELTA = Mathf.Min(Mathf.Abs(TURN_DELTA), MAX_ANG_ACC); SPEED_DELTA = Mathf.Min(Mathf.Abs(SPEED_DELTA), MAX_LIN_ACC); }