//public SigleExpResultPre() //{ // InitializeComponent(); //} public void setPositionAndTroque(List <List <float> > position, List <List <float> > torque) { this.position = position; this.torque = torque; PICalc pc = new PICalc(position, torque, ifTPunishment); getPIValue = pc.getPIValue(); }
//public SigleExpResultPre() //{ // InitializeComponent(); //} public void setPositionAndTroque(List <List <float> > position, List <List <float> > torque, List <List <int> > rightOrleft) { this.position = position; this.torque = torque; this.positionForEverySequence = position; this.torqueForEverySequence = torque; this.rightOrLeftForEverySequence = rightOrleft; PICalc pc = new PICalc(position, torque, ifTPunishment); getPIValue = pc.getPIValue(); }