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.
Formula Simulation with Flowcode V6
Moderator: Benj
- 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
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: Formula Simulation with Flowcode V6
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.
However, I shall like changing the intensity of the light source and not its position. How I have to make?
Best regards.