computer-vision-drone icon indicating copy to clipboard operation
computer-vision-drone copied to clipboard

VideoStreamMode is not a function

Open awmt102 opened this issue 7 years ago • 1 comments

Hi,

Trying to follow your instructions here: http://cvdrone.de/stream-bebop-video-with-python-opencv.html to pull video frames into my python script.

After running the js embedded within python I get the following error: TypeError: drone.MediaStreaming.videoStreamMode is not a function

If I comment out this line the script now runs but wireshark shows no packets on port 55004. I'm guessing the videoStreamMode setting is critical to configuring the video stream.

Can you advise on why this is not working or how I can investigate further?

Thanks

Andy

awmt102 avatar Jul 14 '17 11:07 awmt102

you have to checkout the firmware-4.0 branch of node-bebop

see: https://github.com/hybridgroup/node-bebop/blob/feature/firmware-4.0/lib/MediaStreaming.js

olimoser avatar Aug 10 '17 12:08 olimoser