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

Use the actual KCL console (over telnet) #16

Open
gavanderhoorn opened this issue Jun 22, 2021 · 0 comments
Open

Use the actual KCL console (over telnet) #16

gavanderhoorn opened this issue Jun 22, 2021 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@gavanderhoorn
Copy link
Owner

Right now, dominh executes KCL commands using the karel/kcl entry point (ie: the controller's web server tunnels requests to the local KCL interpreter and returns the output.

This adds a substantial amount of overhead to every KCL command executed (on the order of 500 ms for a single line of KCL on an R-30iB+), even with the web servers headers disabled.

On many controllers, the KCL console is actually reachable over telnet on tcp://:22. It would make sense to use it in those cases, as typical commands would only take a couple hundred bytes to send and receive the response.

Parsing would be different, as the telnet interface makes quite heavy use of formatting codes, but seems doable.

@gavanderhoorn gavanderhoorn added enhancement New feature or request help wanted Extra attention is needed labels Jun 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant