浏览代码

Clean up

/laurie-Visualizers
LaurieCheers 4 年前
当前提交
8f6f2c47
共有 2 个文件被更改,包括 0 次插入27 次删除
  1. 8
      tutorials/pick_and_place/Scripts/TrajectoryPlanner.cs
  2. 19
      tutorials/pick_and_place/Scripts/TrajectoryVisualizer.cs

8
tutorials/pick_and_place/Scripts/TrajectoryPlanner.cs


rightGripper = rightGripperGameObject.GetComponent<ArticulationBody>();
leftGripper = leftGripperGameObject.GetComponent<ArticulationBody>();
}
public void DrawTrajectory(double[] positions, DebugDraw drawing)
{
/* for (int Idx = 0; Idx < positions.Length; ++Idx)
{
jointArticulationBodies[Idx].;
}*/
}
}

19
tutorials/pick_and_place/Scripts/TrajectoryVisualizer.cs


using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TrajectoryVisualizer : MonoBehaviour
{
public static TrajectoryVisualizer instance;
public GameObject niryoOne;
private void Awake()
{
instance = this;
}
public void DrawRobot(float[] joints, DebugDraw drawing)
{
}
}
正在加载...
取消
保存