
Mac
I'd like to use the 160x120 resolution in my project running ARC (the latest version) for Windows on a Windows 10 Surface Pro 2 but I get the following error:
11/3/2018 11:37:43 AM - Error Camera.SetCaptureImage: AForge.Imaging.UnsupportedImageFormatException: Source pixel format is not supported by the filter.
at AForge.Imaging.Filters.BaseTransformationFilter.CheckSourceFormat(PixelFormat pixelFormat)
at AForge.Imaging.Filters.BaseTransformationFilter.Apply(BitmapData imageData)
at AForge.Imaging.Filters.BaseTransformationFilter.Apply(Bitmap image)
at EZ_B.Camera.eihiq5ToKN(Object )
It runs at 320x240 okay but uses a lot of CPU and the image tends to hang or stutter and falls behind when face tracking. Anyone else have issues with the surface pro? The exact same builder file works fine on my laptop (with Windows 7).
Thanks
I created a program for you earlier in this thread that logged icmp. Have you identified the icmp stops responding OR gets very slow at the time of disconnect?
Post some logs
It did finally disconnect today without the camera connected, just a few minutes shy of 12 hours, but I wasn't running the logger.
I think the next step is to use one of the loop commands.
I used vertigo's wifi analyzer to look for a quiet place to to move iRobot to but I must have a pretty good router. It even reaches out to the detached metal garage! I don't think I could go without internet for more than one day. Is that bad? *blush*
I installed Richard's check camera loop. Now we wait.
I know, I know. But tonight I hid around the corner and used speech synth to mess with my brother-in-law. It was hilarious! I'd love to have this ability at an art show opening reception. I'm not giving up yet.
USB to EZB
1. I understand the connections from the EZB to the serial adapter (pictured on the left?) but what happens after that? What are the two adapters on the right in the picture?
2. If I use a USB splitter in the single port on the Surface (one for the EZB and one for the camera), will the EZB and camera use the same Com address (Com 6 in the article)?
@Dave I'd forgotten that you use client mode. Right now I'm testing the Loop command to keep the camera awake (so far, so good) but after this I'll test client mode again, using my home internet/wifi router. That should be one way to eliminate interference, right? At least, wifi interference.
Have you ever used an online AI chatbot?
They are all different "FTDI" adapters that do the same thing. You only need one and you just plug it in a USB port, done.
No. USB and com ports are very different things. The com port numbering is done in software and it doesnt matter how you plug the USB devices, directly or using a hub. And you wrote earlier about needing a powered hub elsewhere, I doubt thats really needed here.
As always, thanks for your help, dude.
@Dave And when it disconnects after an improper command, do you have to power cycle the EZB(s) before you can hook up again?
Sorry, I've never used an AI.
So, the EZB disconnected again today, after almost exactly 12 hours; which seems to be the magic number of hours. The camera was still connected, or at I thought it was. But checking the debug showed the camera was disconnecting and reconnecting over an over, due to Richard's code. It would appear that the camera started this dance before the EZB disconnected.
Still waiting on the new hardware.
Its all the same thing, just with a plastic enclosure and female pins on a wire rather than male pins on the PCB. All of these devices have a USB connector on one end (one that plugs in a PC or one that needs a USB cable), and 4/6 pins for serial on the other end.
The camera is still in stock in their EU warehouse, but I dont know if they ship to the US. Edit: they dont (https://support.hobbyking.com/hc/en-us/articles/232027168-Which-Warehouse-Can-I-Order-From-)
Thanks for checking on the other warehouse.
iRobot has been running for more than 40 hours now. I think I have it solved. Or, more accurately, DJ had it solved on page 1 of this thread:
If the shortest distance between two points is a straight line, I did the exact opposite. It's been quite a convoluted journey but I did learn a lot bout EZ-stuff along the way.
So, here it is: last night I took vertigo's wifi analyzer around the house (with my phone) looking for the weakest house/internet-wifi signal so as to reduce the amount of interference with the EZB. I couldn't find anywhere, upstairs nor down, that didn't have a decent signal. I thought "man, that TP-Link is a great router. I should get one for iRobot!" And then it dawned on me (finally). I should just use the home internet/wifi for hooking to the EZB in client mode. Voila, no interference because I'm using what was causing the interference. It hasn't missed a beat in almost two days. I most certainly underestimated just how much interference can be caused, and the effects.
Now, this does beg the question: when iRobot is in the show in January at NIU, will their wifi do the same thing? Even if they allow me to use their wifi, I know at my school, wireless devices are booted off after something like 20 minutes of inactivity. I'll talk the the IT folks at NIU and find out what the deal is.
Anyway, thanks everyone for all the suggestions and help. I'm thinking of eventually implementing a chatbot so I'm sure I'll have more questions. For now though, I have some final details to attend to before the show.