1
package jp.go.aist.hrp.simulator;
3
import javax.vecmath.*;
5
import com.sun.j3d.loaders.vrml97.impl.*;
8
* PressureSensorInfoFactory
10
* @author K Saito (Kernel Co.,Ltd.)
11
* @version 1.0 (2002/02/25)
13
public class PressureSensorInfoFactory
14
extends SensorInfoFactory
16
public void setParam(SensorInfo_impl info,String defName, VrmlSceneEx scene)
18
info.maxValue_ = new double[1];
22
temp = ProtoFieldGettor.getDoubleValue(defName, scene, "maxPressure",-1);
24
info.maxValue_[0] = (double)temp;
27
public SensorType getType(){
28
return SensorType.PRESSURE_SENSOR;