Hi.
I finally did some experiment with memcache and redis.
My testing ground is a rappresentation of my machine, drawn with VPython. I wanted to try that because i find Vismach a little jerky, and difficoult to personalize.
From my gladevcp i'm recording 6 floating into the server (one server per time, first redis, then memcache.)
these vars are x,y,z of my machine (static) and x,y,z of the end-effector.(of course, changing..)
I've found both ways not responding much fast, in the sense that the resulting movement into the VPython drawing is a little jerky too. in both ways.
maybe i should add an interval, let's say every 1/30 of a second to record the vars. I know (imagine) it's not VPython problem, because it can print on the window the refreshing interval, and it is around 30-50 ms.
One difference i've noted is that using memcache, when i get a value that was a float, i can read as a float, while using redis i have to float(get) it to convert.
Then, if someone cares, I have to say VPython is infinitely simpler to use as a graphic visualizator. and really much personalizable.
Did anyone else tried?
Again about memcache/redis, if anyone knows a faster way to record and read vars, than the standard set & get of those modules, i'll try.
Ciao, Davide.
EDIT: EHMM..... Maybe I only talked too soon.. i'm looking at the L_CNC scope and found out that the jerkiness comes from halui, and DOESN'T depend on memcache, nor on redis.
I'll study this issue a little more, but considering that i'm doing on a sim setup, maybe i don't have to expect a lot.