Robot arm simulation using vismach

More
07 Dec 2017 23:35 #102752 by Ledda
Hi

I am interested in simulating my design robot arm with linuxcnc.

But I am not accustomed to using linuxcnc and the process is slow.

What I want is to display the robot arm I designed through vismach and manipulate it (like the puma in the vismach example of linuxcnc).

I know I need vismach and hal, and I have also read the manual on them, but I'm not sure exactly how to apply them to linuxcnc.

Even if I look at YouTube, only the outcome of the work is shown and it is not mentioned about the process.

So I am looking for references or videos, but I can not find them.

Please let me know if you have any advice or reference information or video about the problem I have.

Thanks and Best Regards.

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

More
08 Dec 2017 01:59 #102753 by andypugh
Did you read
linuxcnc.org/docs/2.7/html/gui/vismach.html
Is that the document that you said wasn't helpful?

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

More
08 Dec 2017 02:06 #102755 by Ledda
It is clear that it has helped.

But I do not know how to link my created vismach script with linuxcnc.

It is already explained, but it may be something I did not understand.

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

More
08 Dec 2017 02:25 #102757 by andypugh
Depending on the name you chose in the Vismach script there will be a set of HAL pins that correspond to the joint positions of the model. You connect them to the corresponding motor positions in HAL.

For example, the HBM Vismach model has this:
github.com/LinuxCNC/linuxcnc/blob/master...mach/hbm/hbm.hal#L58

An extra entry (hbmgui... ) in each HAL feedback line so that the joint position is animated.

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

Time to create page: 0.075 seconds
Powered by Kunena Forum