在过去的几天里,我一直试图让EtherCAT使用LinuxCNC,但是我对Linux环境缺乏了解,甚至无法启动这个项目。我拥有所有必要的硬件,并预装了带有rt内核和LinuxCNC的Debian 10版本。我遵循了这里显示的安装过程:
安装完成时没有出现任何错误,但是在重新启动并尝试运行bash: ethercat: command not found之后,我会得到一个ethercat master。
如果有人能帮忙我会很感激的。
发布于 2021-09-29 17:22:30
构建deb包,然后安装它,如下所述:sittner/ec-debianize
sudo apt install mercurial启用mq:
cat <<EOF > ~/.hgrc
[extensions]
mq =
EOF克隆回购程序并构建包:
git clone https://github.com/sittner/ec-debianize.git
./get_source.sh
cd etherlabmaster
sudo dpkg-checkbuilddeps
sudo dpkg-buildpackage然后安装该软件包:
sudo dpkg -i ethercat_<version>_<arch>.debethercat服务可以通过以下方式启动:
sudo /etc/init.d/ethercat starthttps://unix.stackexchange.com/questions/671105
复制相似问题