Search found 31 matches

by dcolemans
Wed Feb 06, 2019 3:13 pm
Forum: Project Discussion
Topic: Reading GPS data in via Mavlink
Replies: 2
Views: 2999

Re: Reading GPS data in via Mavlink

Hi Kwabena, Well, I've pondered the example referenced and feel like rather a dummy. Python is all a bit obscure to me, but I do see where he's reading a byte at a time, looking for what for him is a start sequence, building up a packet until some rather obscure code that deals with a checksum to en...
by dcolemans
Wed Feb 06, 2019 12:18 pm
Forum: Project Discussion
Topic: Reading GPS data in via Mavlink
Replies: 2
Views: 2999

Reading GPS data in via Mavlink

I've studied the two Mavlink examples which send control data to the drone via Mavlink protocol. But I'd like to read GPS information from the drone into my OpenMV python script. I've found the layout of the GPS message I think I should use https://github.com/mavlink/c_library_v1/blob/master/common/...
by dcolemans
Tue Feb 05, 2019 1:52 pm
Forum: General Topics
Topic: Use FLIR Lepton and Camera toghether on one module
Replies: 17
Views: 4300

Re: Use FLIR Lepton and Camera toghether on one module

Sorry if it's the wrong thread, but now I'd love to get ahold of a Singtown Video shield. I'm envisioning my drone with FPV thermal imaging. Any chance of getting one soon?
by dcolemans
Tue Feb 05, 2019 1:16 pm
Forum: General Topics
Topic: Use FLIR Lepton and Camera toghether on one module
Replies: 17
Views: 4300

Re: Use FLIR Lepton and Camera toghether on one module

Lepton1.mp4
(30.14 KiB) Downloaded 91 times
Whoah! It works. Whatever you did, you did it. Thanks very much Kwabena. I love it when these toys work.
by dcolemans
Mon Jan 28, 2019 11:32 am
Forum: General Topics
Topic: Use FLIR Lepton and Camera toghether on one module
Replies: 17
Views: 4300

Re: Use FLIR Lepton and Camera toghether on one module

Hi Kwabena,

Again, thanks for your response. I'm so out of my depth here that I am willing to try anything you think of. It sounds like shooting in the dark, but let's try a version that skips the FFC step. If it then errors on another step, we can write it off.
by dcolemans
Sun Jan 27, 2019 3:17 pm
Forum: General Topics
Topic: Use FLIR Lepton and Camera toghether on one module
Replies: 17
Views: 4300

Re: Use FLIR Lepton and Camera toghether on one module

I wrote to the vendor saying: "Hi there. I'm trying to use the FLIR Lepton 1 in an OpenMV mounting and running a simple program that first tries to initialize the Lepton. This program fails with a message complaining of an "FFC failure". Indications are that I2C communication is working, but it is n...
by dcolemans
Sun Jan 27, 2019 2:41 pm
Forum: General Topics
Topic: Use FLIR Lepton and Camera toghether on one module
Replies: 17
Views: 4300

Re: Use FLIR Lepton and Camera toghether on one module

Thanks Kwabena. The message is "FFC failure". Not sure what that means but I'll contact the vendor about a replacement. I assume there's no harm having this firmware in place for other applications on the H7.
by dcolemans
Sun Jan 27, 2019 2:22 pm
Forum: Technical Discussion
Topic: SD Card Problem Migrating to H7
Replies: 11
Views: 1010

Re: SD Card Problem Migrating to H7

I got the firmware post on the "other" forum thread viewtopic.php?f=3&t=1117&p=7163#p7163. I loaded it and it worked perfectly for solving the SD card problem. Thank you.
by dcolemans
Sun Jan 27, 2019 12:43 pm
Forum: Technical Discussion
Topic: SD Card Problem Migrating to H7
Replies: 11
Views: 1010

Re: SD Card Problem Migrating to H7

It sounds like you're saying that I should re-load the firmware in the H7. It there a special version I should use?
by dcolemans
Sat Jan 26, 2019 10:02 am
Forum: General Topics
Topic: Use FLIR Lepton and Camera toghether on one module
Replies: 17
Views: 4300

Re: Use FLIR Lepton and Camera toghether on one module

Hi Kwabena, Perhaps if I could know the exact place the Reset is failing, it would help me make a case for getting a replacement Lepton unit. The H7 is the only way I have to run it. So if you would be so kind as to make up a diagnostic firmware image I could move in that direction. Perhaps with lon...
by dcolemans
Sat Jan 26, 2019 1:46 am
Forum: General Topics
Topic: Use FLIR Lepton and Camera toghether on one module
Replies: 17
Views: 4300

Re: Use FLIR Lepton and Camera toghether on one module

I think I've got the little sensor snapped properly into the adapter - two bumps on one side and one bump on the opposite. I tried popping it back out and back in but same Reset Failed message. Hmm. My thought is that if it says it an 84, then at least it's not dead or fried. I don't have another a...
by dcolemans
Fri Jan 25, 2019 3:41 pm
Forum: General Topics
Topic: Use FLIR Lepton and Camera toghether on one module
Replies: 17
Views: 4300

Re: Use FLIR Lepton and Camera toghether on one module

Hi Kwabena, Having fun with the H7, I'm trying out a FLIR Lepton 1 but ran into trouble and wonder if I'm doing something wrong. The Hello World script failed with a "OSError: Reset Failed". I then put a "print (sensor.get_id())" and it returned a 84 before failing on the Reset. The normal cam retur...
by dcolemans
Fri Jan 25, 2019 12:32 pm
Forum: Technical Discussion
Topic: SD Card Problem Migrating to H7
Replies: 11
Views: 1010

Re: SD Card Problem Migrating to H7

I don't know if this is relevant, but I tried the H7 recording GIF and it works fine. So maybe it's more of a JPEG issue than an SD one.
by dcolemans
Thu Jan 24, 2019 8:35 pm
Forum: Technical Discussion
Topic: SD Card Problem Migrating to H7
Replies: 11
Views: 1010

Re: SD Card Problem Migrating to H7

I tried the mjpeg.py example and it too fails. It start up with the message, runs for a few seconds (200 frames I assume) and then dies. After that I have to un-power and re-power the cam to get the USB to connect. Our messages are crossing. OK. Thanks for looking into it. You guys are the greatest!
by dcolemans
Thu Jan 24, 2019 7:59 pm
Forum: Technical Discussion
Topic: SD Card Problem Migrating to H7
Replies: 11
Views: 1010

Re: SD Card Problem Migrating to H7

I was thinking the problem might stem from the fact that with the H7 I'm doubling the resolution (4x pixels), but I just ran a test on the H7 using the code from the M7 (80x60) and it failed in the same circumstance, i.e. when I tried to close the SD video file.
by dcolemans
Thu Jan 24, 2019 6:07 pm
Forum: Technical Discussion
Topic: SD Card Problem Migrating to H7
Replies: 11
Views: 1010

Re: SD Card Problem Migrating to H7

Code Follows. Thanks for the quick response Kwabena. It needs to have an Arduino attached to get the BGN or END signal. But maybe you can see how I'm using the SD anyway. # RedYellowH7Sd - #94 100 -27 1 20 127 #YELLOW_THRESHOLD = (94, 100, -40, 1, 20, 127) #Kwabena yellow line YELLOW_THRESHOLD = (75...
by dcolemans
Thu Jan 24, 2019 4:02 pm
Forum: Technical Discussion
Topic: SD Card Problem Migrating to H7
Replies: 11
Views: 1010

SD Card Problem Migrating to H7

Everything works seamlessly pulling the code over to the H7, except... I can Open a file and Add_frames and there is no complaint. Then when I try to Close the file it crashes. Looking later, zero bytes have been written to the video file on SD. This all works neatly on the M7. Anything I should kno...
by dcolemans
Tue Aug 07, 2018 9:32 pm
Forum: Technical Discussion
Topic: Linear Regression Line Following vs Glare
Replies: 2
Views: 720

Re: Linear Regression Line Following vs Glare

Thanks Kwabena for your usual quick and helpful response.

Dave
by dcolemans
Mon Aug 06, 2018 4:40 pm
Forum: Technical Discussion
Topic: Linear Regression Line Following vs Glare
Replies: 2
Views: 720

Linear Regression Line Following vs Glare

I understand that in the new firmware (that comes with IDE 2.0.0) there are improvements in handling glare. Are there additional commands or parameters that pertain to this? Are there any examples of what one might do to suppress glare and improve chances of following a yellow line?
by dcolemans
Wed May 09, 2018 9:57 am
Forum: General Topics
Topic: Examples Greyed out in IDE
Replies: 4
Views: 1133

Re: Examples Greyed out in IDE

You are right. The three directories had NOT been copied to the home directory. My main PC is Windows 7, but it has gotten a bit funky with permissions and such. I copied them in and now I see Examples. Thanks so much for the spot-on help.

Dave
by dcolemans
Mon May 07, 2018 12:21 pm
Forum: General Topics
Topic: Examples Greyed out in IDE
Replies: 4
Views: 1133

Examples Greyed out in IDE

This is probably a dopey question, but how do I get the Examples to not be grayed out under the File tab in the IDE. It's this way in the old IDE and now in the new 1.9.0 one also. ???

Dave
by dcolemans
Wed Nov 29, 2017 1:56 am
Forum: General Topics
Topic: Light reflects
Replies: 6
Views: 2527

Re: Light reflects

Cool. Putting them under the lens up into the lens holder will be neater, though not adjustable, nor easily removable. Users will have to be sure to put it in the right orientation - maybe hold it up to the sky first to see which end is up.
by dcolemans
Tue Nov 28, 2017 8:31 pm
Forum: General Topics
Topic: Light reflects
Replies: 6
Views: 2527

Re: Light reflects

To follow up on our experiment in Oakland with the polarizing filter to suppress glare... I used a lens cap, punched a hole, then (crudely) cut out a small circle of polarizing film and super glued it in. It works. Our rovers can follow yellow lines OUTSIDE (though in the shade) where they never cou...
by dcolemans
Fri Sep 29, 2017 12:34 pm
Forum: General Topics
Topic: IDE not getting target file from Windows Explorer
Replies: 7
Views: 2515

Re: IDE not getting target file from Windows Explorer

No hurry on the fix for me. I'l wait for the next IDE release.

Dave
by dcolemans
Fri Sep 29, 2017 12:01 pm
Forum: General Topics
Topic: IDE not getting target file from Windows Explorer
Replies: 7
Views: 2515

Re: IDE not getting target file from Windows Explorer

Thanks Kwabena. You guys are the best!

Dave
by dcolemans
Thu Sep 28, 2017 11:50 pm
Forum: General Topics
Topic: IDE not getting target file from Windows Explorer
Replies: 7
Views: 2515

Re: IDE not getting target file from Windows Explorer

I'm using Windows 7 and XP. The steps are these: Run the IDE and Open Python program A. Close the IDE. Using Windows Explorer, select Python program B and Drag it onto the IDE desktop shortcut icon. IDE opens with File A. Seems that the IDE Always opens the last file it knew about. Once I'm in the I...
by dcolemans
Thu Sep 28, 2017 11:44 am
Forum: General Topics
Topic: IDE not getting target file from Windows Explorer
Replies: 7
Views: 2515

IDE not getting target file from Windows Explorer

This is certainly a minor issue but one I'd like to see fixed. When I launch a program in Windows, my habit is to find the subject file in Windows Explorer and either double click (relying on the suffix file association) or drag the file to the target app on the desktop. OpenMV IDE doesn't play nice...
by dcolemans
Sat Sep 23, 2017 11:11 pm
Forum: Project Discussion
Topic: Linear Regression Line Following
Replies: 20
Views: 7204

Re: Linear Regression Line Following

I'm using dumb guy math, just finding the midpoint between x1 Left and x1 right and mapping that against 0 to 80 to an angle from -45 to +45. It works. It's an imprecise science anyway. Sometimes it "cuts the corners" a bit but that just gets you there faster.
by dcolemans
Sat Sep 23, 2017 10:44 pm
Forum: Project Discussion
Topic: Linear Regression Line Following
Replies: 20
Views: 7204

Re: Linear Regression Line Following

What do you think of the idea of getting a linear regression line on the left half of the image, saving its info, then getting another on the right side? I just had some success with that with two white tape lines about 14 inches apart. When it failed to find both, it just used the one it found. I e...
by dcolemans
Sat Sep 23, 2017 10:38 am
Forum: Project Discussion
Topic: Linear Regression Line Following
Replies: 20
Views: 7204

Re: Linear Regression Line Following

Thanks for your quick reply. I wasn't aware of the Sparkfun race. Is this the one at the Denver Maker Faire? Am I correct in thinking you are entering the Speed Demon category, large figure 8 track with hay bale sides, no painted center line, and OBSTACLES? One of the difficulties might be seeing pa...
by dcolemans
Fri Sep 22, 2017 5:50 pm
Forum: Project Discussion
Topic: Linear Regression Line Following
Replies: 20
Views: 7204

Re: Linear Regression Line Following

Hi Kwabena, I'm having pretty good results using your Linear Regression function to follow a single line. For head-to-head racing however, I'd like to be able to see Two lines, and be able to drive down the center (vanishing point perhaps), then move to the side for passing. I think that in the Sept...

Go to advanced search