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

More
07 Nov 2021 22:53 #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.
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
08 Nov 2021 05:16 #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).
The following user(s) said Thank You: Roguish

Please Log in or Create an account to join the conversation.

More
08 Nov 2021 14:53 #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 or Create an account to join the conversation.

More
09 Nov 2021 00:16 #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.
 
Attachments:

Please Log in or Create an account to join the conversation.

More
09 Nov 2021 21:45 #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.
Attachments:

Please Log in or Create an account to join the conversation.

More
10 Nov 2021 04:17 #225918 by cmorley
Sorry I've been busy with work lately. try:

veloc.append(self.stat.joint[j]*60)
The following user(s) said Thank You: Roguish

Please Log in or Create an account to join the conversation.

More
10 Nov 2021 16:13 #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 or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.159 seconds
Powered by Kunena Forum