Re: [Emc-users] opencv for shape recognition

2014-10-08 Thread Javier Ros
Very interesting Ralph. I always wandered if it would be possible to do head position tracking for robot calibration based on OpenCV. Do you think that this would be possible using a real time HAL module, written in C, using the a PREEMPT RT PATH real time based kernel?. If it is possible, I

Re: [Emc-users] opencv for shape recognition

2014-10-08 Thread andy pugh
On 8 October 2014 09:00, Javier Ros j...@unavarra.es wrote: Do you think that this would be possible using a real time HAL module, written in C, using the a PREEMPT RT PATH real time based kernel? I would be surprised if OpenCV was thread-safe or deterministic enough to run in a real-time

Re: [Emc-users] opencv for shape recognition

2014-10-08 Thread Karlsson Wang
I do not know about the scheduling for the hal but for ordinary preemptive real time system with EDF or Rate-Monotonic scheduling a suitable priority is the way to do it all the way down to GUI or even slower. Nicklas Karlsson On Wed, 8 Oct 2014 10:05:04 +0100 andy pugh bodge...@gmail.com

Re: [Emc-users] opencv for shape recognition

2014-10-08 Thread Javier Ros
So, would that imply that the OpneCV calling module is doable in RT, at least if scheduling at a low enough frequency? Thanks, Javier On Wed, Oct 8, 2014 at 11:09 AM, Karlsson Wang nicklas.karls...@karlssonwang.se wrote: I do not know about the scheduling for the hal but for ordinary

Re: [Emc-users] opencv for shape recognition

2014-10-08 Thread David Armstrong
theirs quite a lot of people using opencv for robotic head tracking , although iv'e not used it within linuxcnc context as yet On 8 October 2014 10:09, Karlsson Wang nicklas.karls...@karlssonwang.se wrote: I do not know about the scheduling for the hal but for ordinary preemptive real time

Re: [Emc-users] opencv for shape recognition

2014-10-08 Thread Karlsson Wang
For scheduling in EDF or Rate-monotonic lower frequency threads get lower priority so for the scheduling part it should be OK if this is the method used for scheduling. If round robin is used which I do not call real time operating system it might however and actually will if execution take to

[Emc-users] Thoughts on a Python script to calculate estimated run time for G code and my first hacked sub routine

2014-10-08 Thread linden
Hello I have been reading along on this mailing list for a few weeks now and playing with Linuxcnc Axis simulator in my free time. Both have been very informative and I have learned a lot. There are two items I was wondering if I could get a comment on. #1 Dose any one have a python script

Re: [Emc-users] Oscilloscope + logic analyzer (PC based)

2014-10-08 Thread Jeff Epler
On Tue, Oct 07, 2014 at 08:23:42PM -0500, Jon Elson wrote: On 10/07/2014 11:13 AM, Jeff Epler wrote: I have one of those devices. I'm not satisfied with it. OK, I'm so spoiled by big iron Tektronix logic analyzers, I might find it a problem. But, the pocket size is sure a plus. How

Re: [Emc-users] opencv for shape recognition

2014-10-08 Thread Ralph Stirling
Running OpenCV code in a real time thread would be an entirely different matter, I suspect. I do not know if the cv2 library would be compatible with real time requirements, or what level of processing could be accomplished in a reasonable fraction of a servo period. You would also need to think

Re: [Emc-users] Thoughts on a Python script to calculate estimated run time for G code and my first hacked sub routine

2014-10-08 Thread Gene Heskett
On Wednesday 08 October 2014 08:36:06 linden did opine And Gene did reply: Hello I have been reading along on this mailing list for a few weeks now and playing with Linuxcnc Axis simulator in my free time. Both have been very informative and I have learned a lot. There are two items I

Re: [Emc-users] opencv for shape recognition

2014-10-08 Thread sam sokolik
I don't need realtime. The process in my mind would go like this. Move camera to target - wait for opencv to acquire target (maybe averaging over a number acuisitions..) Calculate based on camera location and target location where the target actually is. we have some glorified vinyl cutters

Re: [Emc-users] opencv for shape recognition

2014-10-08 Thread Charles Steinkuehler
On 10/8/2014 8:25 AM, Ralph Stirling wrote: Running OpenCV code in a real time thread would be an entirely different matter, I suspect. I do not know if the cv2 library would be compatible with real time requirements, or what level of processing could be accomplished in a reasonable fraction

Re: [Emc-users] opencv for shape recognition

2014-10-08 Thread Gene Heskett
On Wednesday 08 October 2014 09:25:56 Ralph Stirling did opine And Gene did reply: Running OpenCV code in a real time thread would be an entirely different matter, I suspect. I do not know if the cv2 library would be compatible with real time requirements, or what level of processing could be

Re: [Emc-users] Thoughts on a Python script to calculate estimated run time, for G code and my first hacked sub routine

2014-10-08 Thread Schooner
First Q From Axis File Properties Brings up the properties of the currently loaded gcode including estimated run time Always underestimates as it takes no account of time used in acceleration and deceleration to/from the required Feed speed regards

Re: [Emc-users] Thoughts on a Python script to calculate estimated run time, for G code and my first hacked sub routine

2014-10-08 Thread Sebastian Kuzminsky
On 10/8/14 9:01 AM, Schooner wrote: First Q From Axis File Properties Brings up the properties of the currently loaded gcode including estimated run time Always underestimates as it takes no account of time used in acceleration and deceleration to/from the required Feed speed Yep,

Re: [Emc-users] Thoughts on a Python script to calculate estimated run time, for G code and my first hacked sub routine

2014-10-08 Thread Gene Heskett
On Wednesday 08 October 2014 10:44:58 Sebastian Kuzminsky did opine And Gene did reply: On 10/8/14 9:01 AM, Schooner wrote: First Q From Axis File Properties Brings up the properties of the currently loaded gcode including estimated run time Always underestimates as it

Re: [Emc-users] Oscilloscope + logic analyzer (PC based)

2014-10-08 Thread Jon Elson
On 10/08/2014 07:57 AM, Jeff Epler wrote: On Tue, Oct 07, 2014 at 08:23:42PM -0500, Jon Elson wrote: On 10/07/2014 11:13 AM, Jeff Epler wrote: I have one of those devices. I'm not satisfied with it. OK, I'm so spoiled by big iron Tektronix logic analyzers, I might find it a problem. But,

Re: [Emc-users] Oscilloscope + logic analyzer (PC based)

2014-10-08 Thread John Dammeyer
I own an EPROM/PAL programmer that runs off the parallel port. At the time to get the PAL feature I paid a significant amount for it. The shift from Windows 3.11 to Win95 orphaned the product two months after I bought it. I kept a WIN3.11 system around for a few years but doesn't matter anymore

Re: [Emc-users] Oscilloscope + logic analyzer (PC based)

2014-10-08 Thread Ralph Stirling
It gets more complicated, though. We have a lab full of Tek logic analyzers (about 10yo if I recall). They had a retail value of about $11K each I think, although we got a discount. We discovered after we bought them that they ran on Windows 2000. Last year we persuaded Tek to give us the

Re: [Emc-users] Oscilloscope + logic analyzer (PC based)

2014-10-08 Thread John Dammeyer
Yeah. The replacement scope for my GOULD was a TEK TDS3032 with floppy drive. Takes as much as a minute to capture the screen. Getting harder to read those floppies from Windows Systems. Not really possible to take it apart and insert a floppy emulation USB drive. So I bought a TEK MSO3034.

Re: [Emc-users] opencv for shape recognition

2014-10-08 Thread Karlsson Wang
You are totally right. There is no imposed constraint on execution time since you wait for the image to be acquired and processed before execution continue. It is exactly as on an ordinary computer where you have to wait for example for the home page to load before you read it, up to a certain

Re: [Emc-users] opencv for shape recognition (Scheduling, important for real time)

2014-10-08 Thread Karlsson Wang
Unless you get into custom high-speed cameras or sensors, it takes over 15 mS to capture an image (60 Hz video), plus whatever processing time you incur. This is a typical real time example. If assumption is made one CPU is used built into a micro with peripherals or not and same processing is

[Emc-users] Se

2014-10-08 Thread laaguirre2
Sent from my iPhoneyrd -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download

Re: [Emc-users] Oscilloscope + logic analyzer (PC based)

2014-10-08 Thread bruno
I totally agree with you, and that is why an open-source solution like the Open Bench Logic sniffer is great. There is always someone (sometimes you) who can fix it. On 10/8/14 8:12 PM, emc-users-requ...@lists.sourceforge.net wrote: Message: 1 Date: Wed, 8 Oct 2014 09:06:40 -0700 From: John

Re: [Emc-users] Oscilloscope + logic analyzer (PC based)

2014-10-08 Thread Gene Heskett
On Wednesday 08 October 2014 14:01:10 John Dammeyer did opine And Gene did reply: Yeah. The replacement scope for my GOULD was a TEK TDS3032 with floppy drive. Takes as much as a minute to capture the screen. Getting harder to read those floppies from Windows Systems. Not really possible

[Emc-users] In/Out pin on Hostmot2 Encoder component

2014-10-08 Thread John Prentice (FS)
Greetings The Manpage of Hostmot2/Encoder defines a pin: (bit in/out) index-enable When this pin is set to True, the count (and therefore also position) are reset to zero on the next Index (Phase-Z) pulse. At the same time, index-enable is reset to zero to indicate that the pulse has

Re: [Emc-users] Oscilloscope + logic analyzer (PC based)

2014-10-08 Thread John Dammeyer
True. My RS FSH3 with hardware and software modules was close to $15K US 10 years ago and it's only good to 3MHz but is a useful tool. Just no longer battery operated and if unplugged loses all the setup information. It's linkage into the PC is through an optical connection to a serial port on

Re: [Emc-users] Oscilloscope + logic analyzer (PC based)

2014-10-08 Thread John Dammeyer
Sorry. 3GHz. Not MHz. True. My RS FSH3 with hardware and software modules was close to $15K US 10 years ago and it's only good to 3MHz but is a useful tool. Just no longer battery operated and if unplugged loses all the setup information. It's linkage into the PC is through an optical

Re: [Emc-users] Thoughts on a Python script to calculate estimated run time for G code and my first hacked sub routine

2014-10-08 Thread linden
Thanks Sebastian Shooner for the comments, and Gene for running my code, The file properties estimation of run time is exactly what I was looking for. I intend to use it for path optimization in my code rather than job estimation. I am comparing code to code. The actual run time I m not

Re: [Emc-users] Thoughts on a Python script to calculate estimated run time for G code and my first hacked sub routine

2014-10-08 Thread Gene Heskett
On Wednesday 08 October 2014 18:21:06 linden did opine And Gene did reply: Thanks Sebastian Shooner for the comments, and Gene for running my code, The file properties estimation of run time is exactly what I was looking for. I intend to use it for path optimization in my code rather