scorbot-er-3

More
14 Sep 2024 19:02 #310162 by robocidalmaniac
scorbot-er-3 was created by robocidalmaniac
I own a Scorbot-ER-3 Robotic Arm. I have LinuxCNC 2.9 running on a HP envy h8-1534. I tried to run the Scorbot example and get this error code:Print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.9.0~pre1+git20230208.f1270d6ed7
Machine configuration directory is '/home/robocidalmaniac/linuxcnc/configs/by_machine.scorbot-er-3'
Machine configuration file is 'scorbot-er-3.ini'
INIFILE=/home/robocidalmaniac/linuxcnc/configs/by_machine.scorbot-er-3/scorbot-er-3.ini
VERSION=1.1
check_config: Unchecked: [KINS]KINEMATICS=scorbot-kins
PARAMETER_FILE=sim.var
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=halui
DISPLAY=axis
COORDINATES=X Y Z A B
KINEMATICS=scorbot-kins
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
emc/iotask/ioControl.cc 786: can't load tool table.
Starting HAL User Interface program: halui
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Found file(REL): ./scorbot-er-3.hal
Shutting down and cleaning up LinuxCNC...
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
Note: Using POSIX non-realtime
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 398, in _reconfigure_port
    orig_attr = termios.tcgetattr(self.fd)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
termios.error: (5, 'Input/output error')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/scorbot-er-3", line 56, in <module>
    serial = serial.serial_for_url(
             ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/serial/__init__.py", line 90, in serial_for_url
    instance.open()
  File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 332, in open
    self._reconfigure_port(force_update=True)
  File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 401, in _reconfigure_port
    raise SerialException("Could not configure port: {}".format(msg))
serial.serialutil.SerialException: Could not configure port: (5, 'Input/output error')
./scorbot-er-3.hal:15: waitpid failed scorbot-er-3 scorbot-er-3
./scorbot-er-3.hal:15: scorbot-er-3 exited without becoming ready
13959
Stopping realtime threads
Unloading hal components
Note: Using POSIX non-realtime


 

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

More
15 Sep 2024 07:53 #310180 by Aciera
Replied by Aciera on topic scorbot-er-3
I get the same error when I try to run the config without hardware (I don't have a Scorbot) so I would assume that this error indicates a problem related to communication with the Scorbot hardware. Maybe try running 'dmesg' and see if you can see any related errors in the output.

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

More
15 Sep 2024 10:59 #310188 by JT
Replied by JT on topic scorbot-er-3
You will need a real time kernel to run LinuxCNC.

Note: Using POSIX non-realtime
This means you're using a non-realtime kernel.

JT
The following user(s) said Thank You: Aciera

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

More
15 Sep 2024 12:02 #310195 by Aciera
Replied by Aciera on topic scorbot-er-3
Indeed, the error does not appear running this on a machine with real time kernel.
Note that you may have to add the user account to the group 'dialout' to be able to access the serial port.
The following user(s) said Thank You: robocidalmaniac

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

More
15 Sep 2024 12:05 #310197 by tommylight
Replied by tommylight on topic scorbot-er-3
It is also looking for a serial port from Python...

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

More
15 Sep 2024 17:07 - 15 Sep 2024 17:21 #310206 by robocidalmaniac
Replied by robocidalmaniac on topic scorbot-er-3
You are correct. I was trying to run a simulation on my HP envy h8-1534 computer to test the software. I am in the process of setting up a Dell Optiplex 980 SFF i5-650 3,2GHz 4GB Ram computer with a parallel port, to run this Scorbot-er-3 robotic arm. I prefer to shake out the software first before attaching to a live machine. I would like to know if anyone else has used (Copyright © 2020) andypugh software for running a Scorbot-er-3 through the parallel part?
Last edit: 15 Sep 2024 17:21 by robocidalmaniac. Reason: missing info

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

More
15 Sep 2024 17:16 #310207 by Aciera
Replied by Aciera on topic scorbot-er-3

I would like to know if anyone else has used (Copyright © 2020) andypugh software?

What 'software' are you referring to?

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

More
15 Sep 2024 17:28 #310208 by robocidalmaniac
Replied by robocidalmaniac on topic scorbot-er-3
    LinuxCNC Configuration Selector CURRENT:scorbot-er-3
Attachments:

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

More
15 Sep 2024 17:30 #310209 by robocidalmaniac

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

More
15 Sep 2024 18:13 #310213 by Aciera
Replied by Aciera on topic scorbot-er-3
Here is the original creator of the scorbot config using it on real hardware:

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

Time to create page: 0.627 seconds
Powered by Kunena Forum