Esempio n. 1
0
        public virtual void ActionPointBaseUpdate(IO.Swagger.Model.BareActionPoint apData)
        {
            Data.Name     = apData.Name;
            Data.Position = apData.Position;

            // update position and rotation based on received data from swagger
            transform.localPosition = GetScenePosition();
            if (Parent != null)
            {
                ConnectionToParent.UpdateLine();
            }
            //TODO: ActionPoint has multiple rotations of end-effectors, for visualization, render end-effectors individually
            //transform.localRotation = GetSceneOrientation();
        }
 public BareActionPointEventArgs(IO.Swagger.Model.BareActionPoint actionPoint)
 {
     ActionPoint = actionPoint;
 }
Esempio n. 3
0
 public override void ActionPointBaseUpdate(IO.Swagger.Model.BareActionPoint apData)
 {
     base.ActionPointBaseUpdate(apData);
     ActionPointName.text = apData.Name;
 }