I bought 3 Teknic ClearCore motion controllers, let's see if I can get one running.
NYCCNC ClearPath
[ Ссылка ]
Teknic ClearCore Robotic Bartender
[ Ссылка ]
Teknic Github Repo
[ Ссылка ]
grblHAL
[ Ссылка ]
Dockerfile
FROM ubuntu
RUN apt-get -y update
RUN apt-get -y dist-upgrade
WORKDIR /root
ENTRYPOINT /bin/bash
Makefile
.PHONY: build run clean ls con
CONTAINERS := $(shell docker ps -aq)
IMAGES := $(shell docker images -q)
PROJECT := $(shell basename `pwd`)
build:
docker build --tag $(PROJECT) .
docker create --name $(PROJECT) --privileged --env DISPLAY=`hostname -I | cut -f1 -d' '`:0.0 -it $(PROJECT)
run:
docker start $(PROJECT)
docker attach $(PROJECT)
clean:
- docker stop $(PROJECT)
- docker rm $(PROJECT)
- docker rmi $(PROJECT)
ls:
docker images
ps:
docker ps -a
start:
docker start $(PROJECT)
stop:
docker stop $(PROJECT)
attach:
docker attach $(PROJECT)
Notes
apt install wget
wget [ Ссылка ]
apt install xz-utils
apt install libxrender1 libxtst6 libxi6
[ Ссылка ]
![](https://s2.save4k.ru/pic/eAr8InHR-yI/maxresdefault.jpg)