The Raspberry Pi version is a recent (and slightly different) member of the RoboDK family, suited for small projects. Here’s how to set it up.
Our Raspberry Pi version of RoboDK is built for an amazingly adaptable tiny-computer. It’s slightly different from normal versions of RoboDK because it is aimed at small, self-contained robot programming projects.
The Raspberry Pi is a Linux-based computer which is based around an ARM integrated chip (a similar chip to the one used in many mobile phones). For an introduction to the Raspberry Pi,阅读我们的上一篇文章。
在本文中,我们将研究如何在Raspberry PI上获得Robodk。
Getting to Grips With Linux
如果一切顺利,安装过程可能非常快速且容易。
另一方面,我们在这里处理Linux。由于我们希望他们,事情并不总是顺利。但是,别担心 - 我们在这里提供帮助。
如果您之前从未使用过Raspberry PI并且这是您的第一个项目,则在陷入困境之前熟悉系统是一个好主意。如果您对Linux完全新建,这是它的快速视频底漆。
如果您遇到RoboDk运行的任何问题,您几乎肯定需要使用命令行。如果你是命令行的新手,这是一个有用的文章。
什么是拉斯比亚?
我们已经有了两个版本的Linux robodk- 一个用于Ubuntu 64位,一个用于Android。但是,每个版本都略有不同。
This version of RoboDK has been built for Raspbian, the version of Linux specifically built for the Raspberry Pi.
Raspian是所谓的Linux“分布” - 一堆包装和程序,被配置为恰好在一起播放。它基于另一个名为Debian的分布,这是许多现代Linux发行版的基础。
如何在5个步骤中将Robodk安装到覆盆子PI
以下是在Raspbian上获取Robodk并运行的主要步骤。其中一些步骤比其他步骤更涉及。
1.得到你的覆盆子pi
首先,让自己覆盖覆盆子pi。有各种型号可用,具体取决于您的项目的需求。只有两种模型绝对与Robodk兼容:3B型号和型号4。
2. Install Raspbian
Next, you need to get yourself a copy of与您的模型相匹配的Raspbian版本。3B +模型与“拉伸”版本兼容,型号4与“Buster”版本兼容。
最简单的方法是使用Noobs安装程序。只是从Raspbian网站下载它,将下载的文件复制到空SD卡(格式化为FAT32.),并将其插入覆盆子pi。加载设备时,它将安装Raspbian并运行初始设置(请注意它将安装更新,这需要一些时间完成)。
3.下载RoboDk.
然后可以下载RoboDk.通过以下链接。
这将作为包含Robodk核心文件的ZIP文件到达。您可以通过右键单击文件并选择“此处”或使用命令行“来提取文件”un“ 工具。
4.安装依赖项
依赖关系是Linux中几乎所有问题的根源。“依赖性”只是运行特定程序所需的包(程序和代码集合)。Robodk需要其中一些。
依赖关系的问题是它们不断变化。更新一个包时,它可能会导致Domino效果导致一系列包装以停止正常工作。如果您有问题,请参阅下面的故障排除部分。
You can install the required dependencies by running the following in command line whilst inside the RoboDK directory:
sh install-robodk-dependencies.sh.
You can also install a shortcut to the desktop by running the following command:
sh install-robodk.sh.
5.运行Robodk.
安装依赖项时,您可以使用以下命令运行Robodk:
sh Robodk-start.sh.
如果没有任何问题,这将加载Robodk,您可以随时去!
There are a bunch of different projects that you could try with RoboDK on the Raspberry Pi.
故障排除
故障排除是机器人的重要技能,如果在尝试将Robodk安装到Raspberry PI时,它会派上用场。
There are two main reasons that you might run into issues:
- 依赖关系改变 -Packages are often updated in Linux and it is possible that there have been changes to the some of the dependencies since we developed this version. Solutions to these problems can involve either downgrading the relevant packages or asking us to update RoboDK.
- 系统上的其他软件包 -如果您没有使用Raspbian的“干净”安装(例如,如果您已经使用了raspberry pi来了解了某些以前的编程项目),您可能会在系统上有一些包裹,这些软件包会干扰Robodk。一个简单的解决方案是从头开始重新安装Raspbian。
如果您有任何问题,请告诉我们Robodk论坛。我们将帮助您解决问题。
You Only Need to Install Once!
几个覆盆子PI最有用的机器人项目涉及使用相同设置的多个覆盆子PI - 例如,使用它们时套装培训室或教室以教授机器人编程。
One great thing about Raspberry Pi is that it is very easy to “clone” your entire system. Once you have set it up, you can just copy your Raspbian install (with RoboDK included) to other SD Cards and they will be ready to use with no changes.以下是如何克隆您的Robodk + Rasbpian安装的教程。
你可以用覆盆子pi版本的robodk做什么?在下面的评论中告诉我们或加入讨论linkedin,,,,Twitter,,,,Facebook,Instagram.or inRobodk论坛。


