??? how to load a custom gui file ???

More
4 years 11 months ago #225597 by Roguish
Holy guacamole. that did it.....
thanks.

Cmorley. thanks. could you add the joint velocities to hal_glib as you did the following errors? they are in the joint dictionary.

thanks.

Please Log in to join the conversation.

More
4 years 11 months ago #225625 by cmorley
Glad you got it working.
I'm curious why joint velocities is something you would track continuously.
I'm assuming you wish to use LCD rather then statusLabel to display joint velocities?

To answer a previous question:
STATUS is hal_glib with a qt Jacket on it (technically it subclasses it).

Please Log in to join the conversation.

More
4 years 11 months ago #225696 by Roguish
My mill has tuning and performance issues.  Watching the following error vs. velocity and time (as distance travelled) helps me work on the tuning.
Yes, I like the LCD display.  Of course I'll have to figure out how to set the format.  Velocity being something like:  123.4   Ferror being like:  0.12345
Again.   I do appreciate your assistance.
 

Please Log in to join the conversation.

More
4 years 11 months ago #225740 by Roguish
cmorley.
I added the joint velocity to hal_glib.py..................and it works.  Using the LCDNumber.    Just followed your lead on the ferror.
It's probably not pretty.  Please clean it up if you wish.  Just let me know, if and when you push it.  I do like to stay current with the real source.
 

Please Log in to join the conversation.

More
4 years 11 months ago #225881 by Roguish
Cmorley,
well, i've worked out my formatting for both the following error and the velocity.
BUT encountered a small problem.
The velocity is shown in units/sec, rather than units/min.
I see in hal_glib.py there is some simple conversion math done on some other data, but none that are really like the velocity
attached is the modified hal_glib.py.       see lines  211, 322, 330, 554, 871
check the math in the max-velocity-override-changed    in line 596

would you give a little guidance, please?  which line and what?
or should this be done in the handler file?  and how?

thanks.

Please Log in to join the conversation.

More
4 years 11 months ago #225918 by cmorley
Sorry I've been busy with work lately. try:

veloc.append(self.stat.joint[j]*60)

Please Log in to join the conversation.

More
4 years 11 months ago #226000 by Roguish
THANKS. WORKS.

I added a *60

ferror.append(self.stat.joint[j])
veloc.append(self.stat.joint[j]*60)

Please Log in to join the conversation.

Time to create page: 0.095 seconds
Powered by Kunena Forum