RoboDK Forum
D如何oes the BuildMechanism Function Work? (C#)可打印版本

+- RoboDK Forum (//www.sinclairbody.com/forum)
+-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN)
+--- Forum: RoboDK API (//www.sinclairbody.com/forum/Forum-RoboDK-API)
+--- Thread: How Does the BuildMechanism Function Work? (C#) (/Thread-How-Does-the-BuildMechanism-Function-Work-C)



D如何oes the BuildMechanism Function Work? (C#)-thealenoid-04-30-2019

I'm using the NuGet C# package, but general clarification would be appreciated. From what I understand, the BuildMechanism function allows a mechanism to be added programmatically with a whole host of settings. My issue is that I don't know how the arguments work at all.

There are 8 mandatory arguments:

type - enum determining DOF
listObjects - some list of IItems?
param - a list of doubles as params? What length should this list be?
jointsBuild - another list of doubles?
jointsHome - another list of doubles?
jointsSenses - another list of doubles?
jointsLow - another list of doubles?
jointsHigh - another list of doubles?

Can anybody give an example of how to use this, or have a breakdown of what each argument should be?