Skip to content

Enable HomeLink and Autopark (Summon)#118

Open
virgilm wants to merge 5 commits intohjespers:masterfrom
virgilm:master
Open

Enable HomeLink and Autopark (Summon)#118
virgilm wants to merge 5 commits intohjespers:masterfrom
virgilm:master

Conversation

@virgilm
Copy link
Copy Markdown

@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