-
Notifications
You must be signed in to change notification settings - Fork 59
Description
hello I'm totally new to drone programming and i'm trying to run the examples provided with my bebop 2. so far I've been able to send basic commands(eg : takeoff.js, dance.js) but I'm having a problem in receiving data from the drone. for example when I try to run mjpeg_stream.js it only prompts a empty window but no data. I've successfully installed opencv and ffmpeg packages. when i tested the code i found that following function doesn't trigger.
mjpg.on("data", function(data) {
buf = data; ------->>> (here the data is still null)
});
Is there any pre-configuration to be done in order to receive the stream from the drone? Please someone help me to get this issue solved. thanks in advance.
the versions I'm using
node v6.10.0
npm v3.10.10
firmware v.4.0.5
os - win 10