state.setField("VRGBR", sensedColor.getValue().getRed());
state.setField("VRGBG", sensedColor.getValue().getGreen());
state.setField("VRGBB", sensedColor.getValue().getBlue());
//update RGB Sensor
Pixel2D_24Bit ambientColor = this.getEnvironment().getProjectorPixelAt(this.getEnvironment().getAgentPosition(this.id()));
state.setField("VRGBRB", ambientColor.getRed());
state.setField("VRGBGB", ambientColor.getGreen());
state.setField("VRGBBB", ambientColor.getBlue());
//update line sensor values
state.setField("VBLEFT", floorSensors[0].getLineValue());
state.setField("VBMIDDLE", floorSensors[1].getLineValue());
state.setField("VBRIGHT", floorSensors[2].getLineValue());