python-ardrone icon indicating copy to clipboard operation
python-ardrone copied to clipboard

Get magnetometer data

Open Jackovic opened this issue 9 years ago • 6 comments

Hello, I am wondering if it is possible to get navdata concerning the magnetometer with libardrone.py ? I am using an Ardrone2 with firmware version 2.4.8.

Jackovic avatar Jan 12 '16 09:01 Jackovic

@Jackovic can you work this code with ardrone2? I cann't connect the ardrone

morningsky avatar May 13 '16 11:05 morningsky

Hey Morningsky,

What you mean by "can you work this code with ardrone2" ?

Jackovic avatar May 13 '16 12:05 Jackovic

@Jackovic I want to get the video from my ArDrone2 by this code, but it can't work, and you?

morningsky avatar May 13 '16 17:05 morningsky

Hmm, It's been a while since I have not worked with Ardrone2. I never use this code to get the stream. Use ffplay (or ffmpeg, i used to work with Linux but ffmpeg is multiplatform) to get the stream. Something like that could do it : $ ffplay http://192.168.1.1:5555 or $ ffplay tcp://192.168.1.1:5555 Or, to convert the stream, something starting with : $ ffmpeg -v 0 -i tcp://192.168.1.1:5555?timeout=2000000 -f ...

Jackovic avatar May 13 '16 23:05 Jackovic

@Jackovic Thanks!

morningsky avatar May 16 '16 05:05 morningsky

So at the end nobody said if it s possible to read the magnetometer data with the library...

Genle avatar Nov 11 '17 20:11 Genle