Formula Simulation with Flowcode V6

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

Post Reply
aimdu
Posts: 3
Joined: Tue Jun 09, 2015 5:46 pm

Formula Simulation with Flowcode V6

Post 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.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Formula Simulation with Flowcode V6

Post 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.

aimdu
Posts: 3
Joined: Tue Jun 09, 2015 5:46 pm

Re: Formula Simulation with Flowcode V6

Post 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.

Post Reply