note: I’m sure “file structure” is a technical term, I’m using it to describe how a jpeg might be organized differently than a png file.
I’m working on my capstone and decided to use what is provided by amymcgovern’s pymambo github (at https://github.com/amymcgovern/pymambo and I realized that she hasn’t managed to send over pictures just yet. I was thinking of trying to jab at it for myself, but my time is precious since I have about 10 weeks until the semester is over and I wanted to get opinions on whether or not sending over the pictures over bluetooth can be realistically quick.
part of my capstone is going to have my mambo divide up the space in front of it into a grid, move based on offsets to accurate traverse this grid, and at each stop we take a picture below it to look for a tag. Each time a picture is taken, the picture is transferred over to my computer to scan for a tag and then sends commands to the mambo based on this result. However due to the low battery life, I figure that I should take into account how long it would take to send over the pictures that the mambo can take.
all I have seen is you can only send over strings over the bluetooth connection between your mambo and whatever is connected to the mambo, so this makes me think I have to send over the pictures in a string format.
I’m not sure if I can even assume that the picture file in the mambo is of the same file type as the file you end up with then using the smartphone parrot controller app. (so if you end up with a jpeg, I don’t know if the data in the mambo is technically more raw, also a jpeg, or in some structure that works for what is needed and isn’t conventional.
I was thinking, maybe I can convert it into grayscale in the mambo, and then send it over in a more simple format via binary or hexadecimal and convert it when it comes to my computer. I don’t know, I’m just trying to get creative.
Please give me any input you can, even opinions. If you give me a lead, I can chase it! The more complicated the solution is the more my capstone may be haha. I also understand I will probably have to add more commands or files to the package that amy mcgovern provided on her github.
SO I ASK YOU:
1. do you know what kind of file structure is used to store images in the mambo?
2. do you happen to know how to access this file?
3. is it possible to process the image via losing detail to make it easier to send(like converting it into grayscale)?
4. even if I make it lose more detail, do you think the transfer time from the mambo to my computer will be too long to do a lot of checks before it dies? I would imagine my drone is going to have to scan about 9 spaces max.