-
Notifications
You must be signed in to change notification settings - Fork 678
allow javascript generator to work with both node and browser #1103
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
Conversation
ce6dbd9
to
6a41537
Compare
6a41537
to
eeec1d7
Compare
eeec1d7
to
0a33fe4
Compare
@Huibean could you test this with your browser efforts? |
@tridge I just have a try using mavlink.js generated in this pr, the program freeze up every time after connect websocket/webserial, something wrong inside mavlinkProcessor.send, tomorrow will digging into it |
ok, thanks! |
@tridge there is a dead loop here |
does it keep getting messages? |
function just called once, I set a breakpoint there once enter while never return, then memory leak and crash |
discussed with @Huibean, working now |
This builds on the work by @IamPete1 in #995 and gets the generated javascript to pass tests, plus work in both a browser and in command line node tools
example usage: ArduPilot/WebTools#265
also adds wss support to mavutil.py, so mavproxy can use wss: connections