public void dJointSetPUParam( PARAM_N parameter, double value ) { switch ( parameter.toGROUP()) //.and( 0xff00 )) { case dParamGroup1: limot1.set( parameter.toSUB(), value ); break; case dParamGroup2: limot2.set( parameter.toSUB(), value );//.and( 0xff), value ); break; case dParamGroup3: limotP.set( parameter.toSUB(), value );//.and( 0xff ), value ); break; default: //TODO TZ remove throw new IllegalArgumentException(parameter.name()); } }
public void dJointSetPUParam( PARAM_N parameter, double value ) { switch ( parameter.toGROUP()) //.and( 0xff00 )) { case dParamGroup1: limot1.set( parameter.toSUB(), value ); break; case dParamGroup2: limot2.set( parameter.toSUB(), value );//.and( 0xff), value ); break; case dParamGroup3: limotP.set( parameter.toSUB(), value );//.and( 0xff ), value ); break; default: //TODO TZ remove throw new IllegalArgumentException(parameter.name()); } }
public double dJointGetPUParam( PARAM_N parameter ) { switch ( parameter.toGROUP() )//and( 0xff00 )) { case dParamGroup1: return limot1.get( parameter.toSUB());// ); // break; case dParamGroup2: return limot2.get( parameter.toSUB());//and( 0xff )); // break; case dParamGroup3: return limotP.get( parameter.toSUB());//and( 0xff )); // break; default: //TODO keep? throw new IllegalArgumentException(parameter.name()); } //return 0; }
public double dJointGetPUParam( PARAM_N parameter ) { switch ( parameter.toGROUP() )//and( 0xff00 )) { case dParamGroup1: return limot1.get( parameter.toSUB());// ); // break; case dParamGroup2: return limot2.get( parameter.toSUB());//and( 0xff )); // break; case dParamGroup3: return limotP.get( parameter.toSUB());//and( 0xff )); // break; default: //TODO keep? throw new IllegalArgumentException(parameter.name()); } //return 0; }
double dJointGetAMotorParam( PARAM_N parameter ) { int anum = parameter.toGROUP().getIndex();// >> 8; // if ( anum < 0 ) anum = 0; // if ( anum > 2 ) anum = 2; //parameter &= 0xff; return limot[anum].get( parameter.toSUB() ); }
public double dJointGetLMotorParam( PARAM_N parameter ) { int anum = parameter.toGROUP().getIndex();//val() >> 8; if ( anum < 0 ) anum = 0; if ( anum > 2 ) anum = 2; //parameter &= 0xff; return limot[anum].get( parameter.toSUB() ); }
public void dJointSetLMotorParam( PARAM_N parameter, double value ) { int anum = parameter.toGROUP().getIndex();//val() >> 8; //TODO use >>> ???? if ( anum < 0 ) anum = 0; if ( anum > 2 ) anum = 2; //parameter &= 0xff; limot[anum].set( parameter.toSUB(), value ); }
double dJointGetAMotorParam( PARAM_N parameter ) { int anum = parameter.toGROUP().getIndex();// >> 8; // if ( anum < 0 ) anum = 0; // if ( anum > 2 ) anum = 2; //parameter &= 0xff; return limot[anum].get( parameter.toSUB() ); }
public double dJointGetLMotorParam( PARAM_N parameter ) { int anum = parameter.toGROUP().getIndex();//val() >> 8; if ( anum < 0 ) anum = 0; if ( anum > 2 ) anum = 2; //parameter &= 0xff; return limot[anum].get( parameter.toSUB() ); }
public void dJointSetAMotorParam( PARAM_N parameter, double value ) { //TODO remove int anum = parameter.toGROUP().getIndex(); // int anum = parameter.grp();// >> 8; // if ( anum < 0 ) anum = 0; // if ( anum > 2 ) anum = 2; //parameter &= 0xff; limot[anum].set( parameter.toSUB(), value ); }
public void dJointSetLMotorParam( PARAM_N parameter, double value ) { int anum = parameter.toGROUP().getIndex();//val() >> 8; //TODO use >>> ???? if ( anum < 0 ) anum = 0; if ( anum > 2 ) anum = 2; //parameter &= 0xff; limot[anum].set( parameter.toSUB(), value ); }
public void dJointSetAMotorParam( PARAM_N parameter, double value ) { //TODO remove int anum = parameter.toGROUP().getIndex(); // int anum = parameter.grp();// >> 8; // if ( anum < 0 ) anum = 0; // if ( anum > 2 ) anum = 2; //parameter &= 0xff; limot[anum].set( parameter.toSUB(), value ); }