felixge / node-ar-drone

A node.js client for controlling Parrot AR Drone 2.0 quad-copters.
http://nodecopter.com/
MIT License
1.76k stars 427 forks source link

pngStream() low resolution #128

Open ghost opened 9 years ago

ghost commented 9 years ago

Hi, i'm using pngStream() in a project to analyse textures but i noticed it outputs to 640x360 instead of the normal 1024x720 when taking stills with the ar drone app. Is this normal and is there a solution?

Thanks

darsnack commented 8 years ago

I have noticed a similar situation. I did some testing, and I found out the 640x360 is because the drone is using the bottom camera instead of the front facing camera. I tried setting the front facing camera in the config using client.config('video:video_channel', 0), but I can verify that it is still using the bottom camera.

CianDuffy commented 7 years ago

I'm also using the front facing camera and the resolution is still 640x360.

Kiwicasper commented 7 years ago

You can set the image quality by passing an option when creating the client. Like: var option = new Object(); option.imageSize = "1280x720"; var client = arDrone.createClient(options);