05.03.2014 Views

Part II - IPA SA

Part II - IPA SA

Part II - IPA SA

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

REVISTA ROMÂN DE AUTOMATIC<br />

35<br />

In this way the objects from the environment<br />

are passed to the simulator, using the<br />

requested environment "$env" defined by<br />

user "$user". Then, the simulator decodes<br />

object data and interprets it for use. This is<br />

done in the root.onLoad function, which is<br />

called when the simulator loads.<br />

env = new LoadVars(); env.load("http://localhost/proiecte/robotstudio/getenv.php")<br />

env.onLoad = function (success)<br />

{ for (this.a = 1; this.a

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!