Is it possible to disable this feature? I have been looking and searching the group, but have not found an answer.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/c401e471-4b3c-4cfd-a35c-f148c07c18f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/CA%2BQw0jzcvontUU6ej%2BrxWhg%2B_GP6W27mH_JbJ8yuGN1BDaWa4A%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/CA%2BKNHNx_dcjehQfuygpFWJYcSvgVBhfGAo1KH933ttTCMu7WmA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/CA%2BQw0jxOzWwVNqoU%2BWK0yJz9dEYtmnj9yUURDB-r6VH_17i7Eg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/CA%2BKNHNzgjcRexjXj68-j83feirYvVBq%3DUzHAN9FczDvfsmdMqw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/CA%2BQw0jyJSKYOpgK%3DMqX%3DLt98Qr-pmuuopBU7u%3DnGO%2BjGOxPe_A%40mail.gmail.com.
If it sounds good for your setup I can help you with this.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/8bdef6c3-e38e-4bed-8113-418e5595129e%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/ceb5acb7-3418-4c33-95f0-052a84d25156%40googlegroups.com.
here is a video (maybe). I see maybe it only does this when picking parts.The video is pretending to pick 6 parts, then place them.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/0154d46f-f168-4ecf-9e38-3c54e81ede5a%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/2e0eec1c-03cb-48b1-959d-aeb07adec1ec%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/d8928a60-a27e-4453-8aed-7b080f10bcb7%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/cc1bb40c-e525-492a-941b-cb33f6ba74d3%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/d2e34ccb-6c01-40bb-846a-5b6f3d8728e3%40googlegroups.com.
Have you installed developed or stable version? I used developed and it starts normally. Have you tried without machine.xml ?
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/0ca78c30-6523-498b-adbe-be3dc7dab9e6%40googlegroups.com.
You have java in installed package, in folder jre.
Try install develope version into another disk location. There was an update of openpcv and possible that Jason haven't add it yet into the stable version. Check whether you have opencv 3.4.2-1 in lib folder, if it's not there this jar will not work. I guess you don't have it and then you need develope version to install.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/32b8a39b-8110-4625-b56c-3ba3b156fdd2%40googlegroups.com.
Does original jar work for you properly? If it does the modified one must work the same. The change is so very small and no possible to be a reason of any issue to stop running.
In fact in my personal version it is also blocked the same as for you, plus many many other changes much more suspected - and it all works properly.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/81c6678c-134f-4898-b76d-56cd83ad82f9%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/b1d7e7a4-3db0-4dae-920c-64ef860568db%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/a6734fcb-db22-4c84-b540-6461dae4b4d3%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/CA%2BQw0jyEmGWrtgzT7j4Ek5J6Q%3DuAMe0PKzB7Qv3ommSebppYLw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/CA%2BKNHNzhq%2B98W0uZ31dDxFfgTTk3a9G5ja_kbWRtn9FTU%2BTMKw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/CA%2BQw0jyBKTuEPFG_LDPtfrReSx6JYL5pX9mVyL-_AKWkxr7rfw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/dea1e4d3-d56e-4cd2-a935-832a6ee543b3%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/CA%2BKNHNyOyZ%2ByWejR3qAiutdMwHUpYv8BZX0BreLFrnY62Vo%2BQw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/CA%2BQw0jxHng%3DcOB7s9M1v5r1fNY8ot%3DwbpajZtHQz%2Bv0PtSOhwg%40mail.gmail.com.
It's showing feature2d, no idea where from??
And no idea where reads it if you don't have machine.xml at all.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/164c75c0-bc66-4976-a5b4-f02fbe473505%40googlegroups.com.
It's showing feature2d, no idea where from??
And no idea where reads it if you don't have machine.xml at all.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/164c75c0-bc66-4976-a5b4-f02fbe473505%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/af471400-0f8e-4367-942a-2a9a09c4a2a4%40googlegroups.com.
As Jason said It's hard to disable everywhere. I have disabled Retract after the pick procedure is finished. But after this begins another nozzle picking and I'm not sure it may be that movableutils changing xy position is also moving z to zero together. I'm AFK now.
You can find it in src/.../machine/ReferencePnpJobProcessor java in doFeedAndPick part of code.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/c53b8d65-c00f-49c9-bfc3-fe07818cfc94%40googlegroups.com.
Did you use test skip?
mvn -Dmaven.test.skip=true package
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/70d69444-a6fa-429a-b28b-e8b9c185c8d3%40googlegroups.com.
Do you get it building originally downloaded archive or something modified?
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/a5f43998-b66b-439c-bcc3-300fba7c7446%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/CA%2BKNHNy-ZfqQRLFPMnTKxi%3D5U24LYvesaWSw31USJf5GFGUuNw%40mail.gmail.com.
Is it some serious mistake using last command (what I always do)?
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/032fce32-465c-44b9-942f-7b80ec52b8bd%40googlegroups.com.
Thx
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/b8041dfa-8940-42f8-b4dc-fbca9d965f18%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/CA%2BKNHNxDNPcThPXUVAUBJVRt4VoCex6HtpTRv28xQpzpkZfmuw%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/80725cc0-242e-4de5-b3d3-955e7bf1121c%40googlegroups.com.
It's not clear if Bert need to kill every safeZ that exists in the system, maybe only very few. This what you tell kills them all.
Bert, you must knew this but maybe not. It's usable to put debug descriptions near the safeZ callings that you want to eliminate, first - before commenting them. Then you'll find in the log which one is really harmful for you.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/0082136b-3e15-4d32-8feb-113934ea4613%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/CA%2BQw0jzVgA%2Bpa23UXNGoe%3D%2BdhJ_B-_SegZuK6JBxWMFT3yYiOQ%40mail.gmail.com.
Put your jar in place where original one lays on the moment.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/a51e34db-c290-4488-b577-030093194753%40googlegroups.com.
If I turn off allign vision get cph near 4000. With vision it drops much below 2000.
In my case openpnp without vision is the same fast as before retrofitting. Vision is narrow throat in openpnp.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/6ab4617a-5144-4deb-a5fd-fa812a0189b7%40googlegroups.com.
The problem is just the settle time. If I turn it off (set 0) get blurry picture. To get always good pictures I must do in my machine the settle time like 140ms.Trully it's value from old experiments and maybe today could be shorter but not less than 100ms.So we send the head to the camera, settle time, picture, correction, settle time, picture, go_to_placement. Is it the complete allign sequence or I'm wrong about this second settle time?If this second settle time exists it could be removed or be separately parametrized. It's because any xyz moves while correction are so small and short-timed than it seems no sense to loose another hundred milisecunds again.
Another problem which I may understood wrong as many times when we talk about the vision. When we need a picture we do something like "deliver mi a picture", isn't it? If it is the question is - how it is related to the camera set fps and fps really available in Openpnp, otherwords: how long do we need to wait for the picture. Is this not any "connected", if we'd have real 30-60fps available it wouldn't help anyway?
W dniu niedziela, 2 grudnia 2018 19:05:04 UTC+1 użytkownik Jason von Nieda napisał:It would be interesting to see some comparisons to the old before retrofit. Do you have any videos? We might be able to understand where the slowness is.The actual vision ops in OpenPnP are really quite fast - usually on the order of a few milliseconds if you aren't saving debug images. But maybe the old machine used a flash to take the picture and did not require a settle time? Or maybe it had a global shutter and didn't even stop over the camera at all?I'm very interested to know where these bottlenecks are. I can't fix them without knowing what the problem is. So if you can find areas that are slow and file issues then we can make them fast :)JasonOn Sun, Dec 2, 2018 at 11:54 AM Marek T. <marek.tw...@gmail.com> wrote:If I turn off allign vision get cph near 4000. With vision it drops much below 2000.
In my case openpnp without vision is the same fast as before retrofitting. Vision is narrow throat in openpnp.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.--
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/6ab4617a-5144-4deb-a5fd-fa812a0189b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/5a0e2514-e0d0-4fcc-a559-a33e10fa96c3%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/ee16c172-b648-4ab9-8be8-83a9220a0983%40googlegroups.com.
You can now turn on light before camera capturing and off after it.
I'm not sure if it flashes at exactly proper moment, I mean that maybe camera should control flashing.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/3e0f158c-399b-463d-a1a2-1f494764c480%40googlegroups.com.
Time to be sure the nozzle achieved the stable position over camera and can take no blurry snapshot.
This what you say I meant moreless, moment of flash and image grabbing should be both made in synchronized moment.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/34891afa-1b04-4c28-bdf5-e9dd09f0faf1%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/CA%2BQw0jw4SfgUKbEkBFLgh8ic-p71o7Gy5keY7n-iRcN9GZNPtQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/CA%2BKNHNyHvRAt7sE3bbv2rjp-BMc7pFLdSiB0i70ycwqo3JFB8Q%40mail.gmail.com.
You have not understood my question.
Camera is connected to anything or not is delivering images in programmed time distances (fps). Do you want me to tell that you can get the image from camera whenever you want without waiting for the moment when she deliver an image in agree with her time distanced, asynchronic?
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/9ed0db64-95aa-44db-9552-33a0ebf2a756%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/20181203033804.GA31166%40cicely7.cicely.de.
Hi everyone
> I am only referring to USB cameras … There is not a stream of images coming from the camera
I think there is streaming in USB since USB 1.1:
https://en.wikipedia.org/wiki/USB_video_device_class#Revision_history
Latency does seem to happen in various buffer and processing stages:
“Each stage works independently of the others, and while one frame is being processed by the image scaler, the next is being captured by the video decoder.”
http://www.us-tech.com/RelId/1490472/ISvars/default/Understanding_Video_Latency.htm
Still, the FPS do contribute to the overall latency, the higher the FPS, the smaller the overall latency the shorter you can set the settling time. This is most evident with large FPS differences, like between my ELP camera 6 FPS 1980x1080 YUV2 format vs. the 60 FPS 1280x720 MJPG format. The former (not surprisingly) requires a much higher settling time. I tried.
And BTW the Windows port of openpnp-capture does not implement custom FPS setting…
…nor does the mac port
…only the Linux port does
If I understand correctly, this means the FPS setting in OpenPNP has no effect on Mac / Windows. The Camera will always send a stream with the full FPS as advertised in the Format drop down. These resolution + FPS + compression setting are each optimized to fill up the USB 2.0 streaming bandwidth which nowadays seems to be the bottleneck (the camera could probably do better but is limited by USB).
https://github.com/openpnp/openpnp/wiki/OpenPnpCaptureCamera#multiple-cameras
> If what you were describing were correct (for USB) then we'd have to read every image that was captured during the 1 second before we get the correct image.
I think this is exactly what is happening behind the scenes. Images are processed in the background, but just never picked up by OpenPNP. Windows for instance is implemented as Sample Grabber here…
that calls back for each sample in the stream here…
that copies the sample over into the “stream” which seems to simply keep the last image in a buffer…
which is then picked up when needed. All the samples (at full FPS) are processed through all the decompression/color space filters etc. and the buffer image is just overwritten again and again.
Those two last point – not implementing custom FPS and handling the full stream – are also the reason…
a) why one USB Root Hub can still only manage one camera even with MJPEG compression (as tested under Windows) and
b) why we might have the high CPU usage issue as described here: https://github.com/openpnp/openpnp/issues/687
I don’t know if there is a way to only capture single frames instead and if it will actually be faster in the end(!). USB Webcams are clearly optimized for streaming, so maybe this is still the best option. This also eliminates the latency that would be present when commanding the camera to capture the frame. Having high FPS is good for low latency (as explained above). However it should be possible to discard unused frames without so much CPU load (sadly I don’t know how to achieve that, maybe go for the newer Media Foundation/Source Reader API?).
> Only the motion controller knows the exact instant when the nozzle is over the camera, so it can fire the trigger signal as the nozzle passes by. High end motion controllers have this output and high end camera systems have the input, which will both fire the strobe and capture the image.
Anyone with this kind of hardware is welcome to ask me to help make it work with OpenPnP. I’d be happy to help!
Having the camera on fixed exposure (not auto) then switching on the light via G-code immediately after an M400 (motion queue empty) could be used as a very fast controller synced signal into the video stream: the first image that bubbles out of the stream with brightness above a certain threshold is the one. All latencies are then automatically properly accounted for. No need to have a conservative settle time that has to cover the worst case of all possible streaming latencies plus the worst case frame rate alignment. No need for configuration at all.
The brightness detector should of course look at the earliest band of scanlines of the sensor (usually the top band of the image. Put a little white object into the “peripheral vision” there, mounted on the camera&light. The brightness detection would then focus on that spot (a few pixels) and even be done by openpnp-capture for the least overhead. Perhaps the capture call from OpenPNP could simply be blocked until such a bright frame bubbles up (with timeout of course).
_Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/CA%2BQw0jyJ5uzpcMpr-MVLvMuX5tgXaXMxGp45%3DpCRHiCqGuEL%2Bg%40mail.gmail.com.
a) why one USB Root Hub can still only manage one camera even with MJPEG compression (as tested under Windows) and