5 DOF Robot and the Post GUI and Vismach

More
29 Mar 2024 23:29 - 29 Mar 2024 23:54 #297165 by Project_Hopeless
I'm using the Melfa robot as a template for my robot.  I have my DH params loaded and I even had my cad running in vismach.  I added new Cad files and something broke. 

So my moveogui.py looks like so...
try: # Expect files in working directory
    # create toolholder from file
    link7 = AsciiSTL(filename="link7.stl")
    # create wrist from file
    link6 = AsciiSTL(filename="Joint4.stl")
    # create forearm from file
    link5 = AsciiSTL(filename="Joint3.stl")
    # create ellbow trom file
    link4 = AsciiSTL(filename="joint2.stl")
    # create upper arm from file
    link3 = AsciiSTL(filename="joint1.stl")
    # create shoulder from file
    link2 = AsciiSTL(filename="joint0.stl")
    # create base (waist) from file
    link1 = AsciiSTL(filename="base.stl")
except Exception as detail:
    print(detail)
    raise SystemExit("moveogui requires files link[1-7].stl in working directory")

And I get the folllowing error can find "joint2.stl"  and
Running HAL command: loadusr -W moveogui
Running HAL command: net :kinstype-select <= motion.analog-out-03 => motion.switchkins-type
Starting DISPLAY program: axis
[Errno 2] No such file or directory: 'joint2.stl'
task: main loop took 0.109735 seconds
Shutting down and cleaning up LinuxCNC...

I know the file is in the source directory and is in ascii format.  What am I missing?
Last edit: 29 Mar 2024 23:54 by Project_Hopeless.

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

More
30 Mar 2024 08:44 #297201 by Aciera
Linux is case sensitive, I notice you use file names with uppercase 'J' and others with lowercase 'j'. Maybe the file name is actually 'Joint2.stl'?
The following user(s) said Thank You: Project_Hopeless

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

More
30 Mar 2024 16:00 #297217 by Project_Hopeless

Aciera post=297201 userid=25994Linux is case sensitive, I notice you use file names with uppercase 'J' and others with lowercase 'j'. Maybe the file name is actually 'Joint2.stl'?

That was it, the case.  I don't know how I missed that detail.

And I found one Cad file in Binary.  Question, is there a practical size limit to the Cad files you should loaded as links?

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

More
30 Mar 2024 18:02 #297224 by Aciera

Question, is there a practical size limit to the Cad files you should loaded as links?

Not that I'm aware of but depending on your hardware I would expect things to start to get sluggish at some point.

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

Time to create page: 0.276 seconds
Powered by Kunena Forum