meisben / dobot_magician_utilities Goto Github PK
View Code? Open in Web Editor NEWUtility programs for the dobot magician robotic arm, written in python. Useful for setting up experiments
License: MIT License
Utility programs for the dobot magician robotic arm, written in python. Useful for setting up experiments
License: MIT License
Getting following dmesg
error when running move_to_pose.py
from prebuilt container
[359942.902888] QThread[2080775]: segfault at 7facf91f4dfe ip 00007face5fc2084 sp 00007facd4bdb8f0 error 7 in libDobotDll.so.1.0.0[7face5f9d000+2f000]
[359942.902897] Code: fe ff ff 0f 1f 00 48 b8 44 6f 62 6f 74 53 65 72 41 c7 47 08 69 61 6c 00 49 89 07 48 8b 44 24 48 48 85 c0 74 0f ba 30 00 00 00 <c7> 00 30 2e 30 2e 66 89 50 04 4c 89 f7 e8 6a 58 fe ff 48 8b 7c 24
Command to run container:
docker run -ti -v /dev:/dev -v /run/udev:/run/udev:ro --device-cgroup-rule='c 188:* rmw' meisben/dobot
docker usb device passthrough instructions
Docker image dockerfile:
ROM python:3.8-slim
RUN apt -y update
RUN apt -y install git python3-pyqt5 libqt5serialport5
RUN pip install frankx
RUN mkdir /root/workspace
WORKDIR /root/workspace
RUN git clone https://github.com/meisben/dobot_magician_utilities
RUN git clone https://github.com/jlloyd237/cri
RUN git clone https://github.com/meisben/cri_dobot
RUN pip install /root/workspace/dobot_magician_utilities
RUN pip install /root/workspace/cri
RUN pip install /root/workspace/cri_dobot
WORKDIR /root/workspace/dobot_magician_utilities/dobot_magician_utilities
CMD ["python", "move_to_pose.py"]
CDobotConnector : QThread(0x55c86c8acfe0)
CDobotProtocol : QThread(0x55c86c7bb6b0)
CDobotCommunicator : QThread(0x55c86c7bb6d0)
Segmentation fault (core dumped)
Centos 8 Stream
Architecture: x86_64
, op-modes: 32-bit, 64-bit
, Model name: 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz
Judging from native library update dates segfault was probably caused by not updating libDobotDll.so.1.0.0
file during last update cycle.
Segfault reproduced directly on different linux host (no docker container):
Architecture: x86_64
, op-modes: 32-bit, 64-bit
, AMD Ryzen 5 3600X 6-Core Processor
Tested on Windows PC - dobot worked as expected.
Solved by following THESE INSRUCTIONS
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.