Hal Standalone. some trouble..
14 Sep 2019 16:44 #145143
by cmorley
Replied by cmorley on topic Hal Standalone. some trouble..
You need to make a dummy component first.
The dummy component makes the module create a shared memory path to HAL.
Chris
import hal
hal.component("dummy")
hal.set_p("stepgen.0.maxaccel", "22")
The dummy component makes the module create a shared memory path to HAL.
Chris
The following user(s) said Thank You: dab77
Please Log in or Create an account to join the conversation.
14 Sep 2019 20:31 #145172
by dab77
Replied by dab77 on topic Hal Standalone. some trouble..
Thanks, that made hal.set_p() work.
Please Log in or Create an account to join the conversation.
19 Sep 2019 08:03 #145563
by dab77
Replied by dab77 on topic Hal Standalone. some trouble..
Do you have any suggestion on how to make stepgen decelerate if, in position mode, I have to stop in the middle of a movement?
Please Log in or Create an account to join the conversation.
19 Sep 2019 08:41 #145566
by cmorley
Replied by cmorley on topic Hal Standalone. some trouble..
Would simple_tp be helpful?
linuxcnc.org/docs/2.8/html/man/man9/simple_tp.9.html
It's a single joint jogging component - same as linuxcnc uses.
linuxcnc.org/docs/2.8/html/man/man9/simple_tp.9.html
It's a single joint jogging component - same as linuxcnc uses.
Please Log in or Create an account to join the conversation.
19 Sep 2019 08:44 #145567
by cmorley
Replied by cmorley on topic Hal Standalone. some trouble..
You could also look at the axis test used in stepconf.
Though I think it stops immediately if you stop in the middle of a jog.
Chris
Though I think it stops immediately if you stop in the middle of a jog.
Chris
Please Log in or Create an account to join the conversation.
Time to create page: 0.070 seconds