3 import jp.go.aist.hrp.simulator.ViewSimulatorHelper
as ViewSimulatorHelper
4 import jp.go.aist.hrp.simulator.CameraSequenceHolder
as CameraSequenceHolder
5 import jp.go.aist.hrp.simulator.ImageData
as ImageData
7 view = ViewSimulatorHelper.narrow(obj)
8 csh = CameraSequenceHolder()
9 view.getCameraSequence(csh)
11 data = csh.value[0].getImageData()
13 print(len(data.longData))
14 print(len(data.octetData))
15 print(len(data.floatData))
16 for i
in range(0, 240):
17 print(data.longData[i*320])
19 data = csh.value[1].getImageData()
21 print(len(data.longData))
22 print(len(data.octetData))
23 print(len(data.floatData))