Ejemplo n.º 1
0
    // Use this for initialization
    void Start()
    {
        server = GetComponent <TCP_Server>();
        GameObject gripper = GameObject.Find("Base_Gripper");

        grip_obj = gripper.GetComponent <gripper_kinematic>();

        //GameObject robot = GameObject.Find("UR5");
        angle_controller = robot.GetComponent <ur5_kinematics>();
    }
    /// <summary>
    /// Todo
    /// Determine best approach to leading the data from the digital out port to the output string.
    /// </summary>

    // Use this for initialization
    void Start()
    {
        server = GetComponent <TCP_Server>();
        GameObject gripper = GameObject.Find("Base_Gripper");

        //tcp_scan = GetComponent<TCP_scanner_and_selector_19>();
        grip_obj      = gripper.GetComponent <gripper_kinematic>();
        output_string = "";
        chgner        = GetComponent <Change_robots>();
        //GameObject robot = GameObject.Find("UR5");
        angle_controller = robot.GetComponent <ur5_kinematics>();
        send_msg.onClick.AddListener(add_active_state);
    }
 // Use this for initialization
 void Start()
 {
     track_obj = GetComponent <SteamVR_TrackedObject>();
     interact  = this.GetComponent <interaction>();
     kine      = gripper.GetComponent <gripper_kinematic>();
 }