Page 1 of 1

Moving footbot towards light source using LUA

Posted: Thu May 28, 2020 6:02 am
by Waqar731
HI,
I am trying to move footbot towards one light source out of two light source. I have inserted two light sources in arena with one footbot. Means light sensor on footbot detects two light sources, when I run the simulation then robot doesn't go to one of two light sources. I want to make sure that robot should move towards the left one light source, but it first go to the center of both light sources, then it go towards the right light source and start circling there. How can we make robot straight go to left light source rather than the right light source.


Thanks

Re: Moving footbot towards light source using LUA

Posted: Tue Jun 02, 2020 8:04 pm
by pincy
The light sensor can't distinguish between light sources. In reality that would be impossible, so ARGoS does not support his scenario either. Use LEDs and a camera.