??? how to load a custom gui file ???
07 Nov 2021 22:53 #225597
by Roguish
Replied by Roguish on topic ??? how to load a custom gui file ???
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.
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.
08 Nov 2021 05:16 #225625
by cmorley
Replied by cmorley on topic ??? how to load a custom gui file ???
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).
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.
08 Nov 2021 14:53 #225696
by Roguish
Replied by Roguish on topic ??? how to load a custom gui file ???
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.
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.
09 Nov 2021 00:16 #225740
by Roguish
Replied by Roguish on topic ??? how to load a custom gui file ???
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.
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 or Create an account to join the conversation.
09 Nov 2021 21:45 #225881
by Roguish
Replied by Roguish on topic ??? how to load a custom gui file ???
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.
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 or Create an account to join the conversation.
10 Nov 2021 04:17 #225918
by cmorley
Replied by cmorley on topic ??? how to load a custom gui file ???
Sorry I've been busy with work lately. try:
veloc.append(self.stat.joint[j]*60)
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.
10 Nov 2021 16:13 #226000
by Roguish
Replied by Roguish on topic ??? how to load a custom gui file ???
THANKS. WORKS.
I added a *60
ferror.append(self.stat.joint[j])
veloc.append(self.stat.joint[j]*60)
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.089 seconds