bitcraze / aideck-gap8-examples

Examples on how to use the GAP8 on the AI-deck
44 stars 47 forks source link

Record video stream and Crazyflie control inputs #54

Open rallen10 opened 2 years ago

rallen10 commented 2 years ago

I am looking for existing examples of recording the video stream from the AI deck, along side with the control inputs to the Crazyflie. Does something like this exist? I know how to view the stream, but I want to record it as a data collection

knmcguire commented 2 years ago

Hi! No examples for this yet... but it shouldn't be difficult I assume? It's using the GTK library, so with some quick googling: I've found this thread.

Then everytime the image is updated the picture can be saved in that manner.

I'll see if I can look at it some time this week but let me know if you managed to get it to work yourself in the mean time.

knmcguire commented 2 years ago

hi! Sorry, I never came back to you with this. What is your current status?

rallen10 commented 2 years ago

@knmcguire Thank you for following up! This work had stalled due to a separate issue with the gap_sdk that was blocking all progress. However, it looks like they recently pushed a new version which might have fixed that issue (I haven't tested it yet).

I'll be spinning this project up again over the next few days and will provide status on this issue.