Peter C. Wallace wrote: > On Sat, 24 Jan 2009, Donnie Timmons wrote: > >> libnml/cms/cms_in.cc 1484: CMS: emcError message queue is full. >> >> libnml/cms/cms_in.cc 1485: (continued) CMS: Message requires 272 bytes but >> only 0 bytes are left. (snip) >> hm2/hm2_5i23.0: encoder.00 dT <= 0, how can this be? > > This is a known bug in the HostMot2 encoder velocity calculation. > > Maybe someone more knowlegable can point to a workaround > so these error messages dont clog up the queue.
The hm2 message listed above does not go over NML, it goes directly from the kernel to the system log files (via klogd). It indicates a problem, but not the problem that's causing Donnie's machine to not work. The hostmot2 driver encoder velocity computation occasionally has a bug when the encoder moves very slowly (< 1 edge/servo cycle). The "dT <= 0" message indicates that the driver glitched and reported vel=0 for a single servo cycle instead of the actual velocity (which is almost but not quite zero). The driver recovers itself and no more harm is done. No logs are written beyond that one message, and no NML/CMS buffers at all are involved. This bug is on the top of my todo list for hm2, but i haven't gotten to it yet... -- Sebastian Kuzminsky ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
