I try to detect a human near the Band with a fast hokuyo sensor
but i just get nil from Hokuyo and I dont know what is my mistake
here is my code
Code: Select all
data=sim.packFloatTable(measuredData)
if data~=-1 then
sim.clearStringSignal(data)
end
if data then
sim.setStringSignal("measuredDataAtThisTime",data)
print(measuredDataAtThisTime)---> nil
end
a human should be a child from Hokuyo?
and
where can i read this data? I should be defined a dummy?
I will be grateful if someone helps me