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

Enable HomeLink and Autopark (Summon) #118

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

virgilm
Copy link

@virgilm virgilm commented Apr 26, 2017

I'm sure this can be done better (like setting up and keeping a websocket alive for all commands) and this is missing pretty much all error handling (callbacks, etc.), but it works just fine for me.

Abort is not implemented yet, so Summon will stop just in case there is an obstacle in front or when stopped with the remote/handle touch.

Let me know if this is of interest to you, and I can fix some of these issues. My first JS ever, so bear with me :)

virgilm and others added 5 commits April 24, 2017 08:51
TODO: wake up car before? - otherwise does not work
TODO: replace hardcoded coordinates
TODO: exception handling
TODO: refactor code?
Asking for status wakes up the car, so the command always succeeds.
Started some refactoring.
Moar refactoring. Fixed synchronization issue.
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

Successfully merging this pull request may close these issues.

1 participant