Page 1 of 1

Formula Simulation with Flowcode V6

Posted: Tue Jun 09, 2015 5:58 pm
by aimdu
Hello,

I'm a french teacher so apologize for my approximate English. I would want to simulate like to under Flowcode V5, the formula' light sensor.

Though I look but I find nothing as well in the help of flowcode as on the Internet.

Can you help me please ?

Thank you.

Aimdu.

Re: Formula Simulation with Flowcode V6

Posted: Wed Jun 10, 2015 9:49 am
by Benj
Hello Aimdu,

In v6 you can specify an object which is the light source. As the robot in the simulation turns the light level reading will increase as the robot turns to face the object and increase again as you move towards the light source. This should allow you to fully simulate "find the light" type programs.

Simply drag on a primitive object such as a cube to your panel and then select the FF component and set the Light Source property to match the object reference.

Let me know if you have any problems.

Re: Formula Simulation with Flowcode V6

Posted: Wed Jun 10, 2015 4:26 pm
by aimdu
Thanks you very much for your rapidly answer.
However, I shall like changing the intensity of the light source and not its position. How I have to make?

Best regards.