-
Notifications
You must be signed in to change notification settings - Fork 10
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
leap external is missing #25
Comments
Hi, We're working through the unreleased externals in this package over summer, and should have it released soon. Graham |
Thanks for your reply |
Aha! Or even faster: the Max websocket objects that are in the worldmaking package…
Graham
… On Jun 27, 2019, at 4:44 PM, Mathieu CHamagne ***@***.***> wrote:
Thanks for your reply
looking forward this release :-)
in the meantime, I'm wondering : wouldn't it be possible to get the tracking data connecting to leap motion websocket thru nodejs in Max ?
this would allow a cross platform and external/SDK-free elegant solution ...
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
That said, I think maybe we will look at doing both. The websocket is a lot easier to implement/maintain, and cross-platform as you say; but we'll probably still want an external for the parts that the websocket API can't cover, e.g. the IR camera feeds. |
I didn't think about ws.client ... it works very easily, thanks ! I now remember that I already encountered this issue a couple of years ago trying to get leap motion data using this technique : https://sites.google.com/a/leapformax.com/tcpigoleap/home here is a simple patch showing that Max quickly eats up more and more RAM while flooding Max hash table :
|
Yowch, yes that's a problem. First solution that comes to mind would be for [ws.client] (and [ws]) to detect any received JSON messages and convert them to Dict by default (and perhaps have a @NODICT attr for anyone wanting raw JSON as before). There might be a bit more overhead because of the JSON->dict parsing/allocation, but this is surely better than flooding the symbol hashtable as it currently does. |
(in devel branch)
there is a leap.maxhelp file that looks amazing, but there's no leap external.
Could you please compile it and add it to the package ?
thanks
The text was updated successfully, but these errors were encountered: