Closed nicolaje closed 11 years ago
Can you describe more precisely your issue, in particular your scene script? Maybe you can add some screenshot or some movies about what you observe.
Hi adegroote, you can test this simple example:
atrv=ATRV() ir1=Infrared(Visible_arc=True) ir1.frequency(0.1) ir1.translate(z=0.9) atrv.append(ir1) env=Environment('indoors-1/indoor-1') env.place_camera([5, -5, 6]) env.aim_camera([1.0470, 0, 0.7854])
the laser mesh disapears after exactly 10sec. Note it seems clearly related to the refresh frequency, as with ir1.frequency(0.01) the mesh disapears after 100sec ;)
Hello,
I guess the correct script is:
from morse.builder import *
atrv=ATRV()
ir1=Infrared()
ir1.properties(Visible_arc=True)
ir1.frequency(0.1)
ir1.translate(z=0.9)
atrv.append(ir1)
env=Environment('indoors-1/indoor-1')
env.place_camera([5, -5, 6])
env.aim_camera([1.0470, 0, 0.7854])
Then for the "bug" I guess is due to the fact that from 1.0, arc's rays are not displayed if no collision occurred. What if you place an object in front of your sensor ? You should see the arc.
Hi pierriko, you are absolutely right, the arc disapears when no collision occured! Thank you
Using latest MORSE version (0.6-454-g7378-dirty), when using th Sick, Hokuyo etc... sensors, the red arc mesh disapears after exactly 10 seconds.