felixge / felixge/node-ar-drone

Cannot release client / create two localized clients

Open
#104 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.8k
Forks
427
PR merge metrics
No merged PRs in 30d

Description

I am creating a new client and a new pngStream on it. I have another function that needs only the client object and needs to shut off the pngStream. I cant create another client, unless I dispose off the initial client. How do I do that? Or any of the above?

The issue I'm facing is that, whenever the pngStream throws an error and attempt to restart every second (Client.js: line 72) I can't get it to break that loop and notify me of the error, the control never gets back to me. If I set the client object to null and create another instance (client = arDrone.createClient()), the new object does not have the drone control either.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.