Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for controlling a physical turtle #121

Open
RoganDawes opened this issue Dec 23, 2019 · 2 comments
Open

Add support for controlling a physical turtle #121

RoganDawes opened this issue Dec 23, 2019 · 2 comments

Comments

@RoganDawes
Copy link

Hi,

I'm looking to build a simple 2 wheel robot, controlled by an ESP8266 WiFi microcontroller. My idea is to host jslogo on the ESP8266's webserver, and provide a websocket endpoint where the interpreted instructions can be sent for execution by the robot. The idea would then be that the user would see the turtle perform each step in their browser, followed by the robot performing it. Once the robot has finished the step, the browser would continue to the next step.

I'm not much of a JavaScript programmer, could anyone give me an idea of how easy or difficult it might be to extend this code to incorporate the above functionality? Would it require a complete rewrite to allow that sort of interaction with the server, or is it a relatively simple project?

@inexorabletash
Copy link
Owner

It's probably easiest to consider running Logo on the controlling page itself and the physical Turtle as just the turtle. It would hook into the appropriate commands issued to the canvas turtle implementation.

@RoganDawes
Copy link
Author

RoganDawes commented Dec 23, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants