Open-source electronic prototyping platform enabling users to create interactive electronic objects. I installed python3 and robot framework from command line. When I run robot test cases. I keep getting an error, 'robot: command not found'. Below is pip list and pip3 list. A colleague of mine approached me and asked is it possible to use Robot Framework for automating desktop applications. I really haven’t ever considered using that for that purpose.
mBlock is an innovative way to learn and experiment with programming. It is a custom build upon Scratch – the de-facto standard of graphical programming software taught in many schools. Its functions include but not limited to:
The first steps are downloading and installing mBlock. We provide both Windows and Mac versions of the software.
If it is the first time you install and open mBlock, you need to install USB drivers otherwise USB cables won’t work on robots. Select “Connect”, “Install Arduino Driver” as the picture shown below.
Install Arduino drivers for MAC OS
The old driver was not signed, and therefore was not working out of the box on OS-X Yosemite and El Capitan. The latest driver appears to be signed, and should work out the box. The new driver is here CH34x_Install.zip
mBlock provides three ways to connect your robot to the computer. USB cables are recommended for first time users and you can update firmware/reset default program only through USB cables; if you have a 2.4G model of Ranger, you can also connect through 2.4G Serial. Finally, if your computer support Bluetooth and you have a Bluetooth module, you can try Bluetooth connection.
Here are the steps:
The 2.4G module set comes with a electronic module and a USB dongle. If you are using the dongle first time, you need to connect the 2.4G electronic module to your robot; power up your robot; press the button on top of the 2.4G module, and then plug the dongle to your computer. When the LED light on the module turns from blinking to steady lighting, it means the 2.4G module is paired with the dongle.
On the software side, after pairing the dongle you need to select Connect->2.4G Serial->Connect in the software menu. When “Connected” is shown in the title bar, you know your Ranger is connected to the computer.
If your computer supports Bluetooth and you have Bluetooth Modules for Ranger or Auriga, you can control and program your robot wirelessly.
For Windows Operating system, just power up your robot, select Connect->Bluetooth->Discover, select your device discovered in the list, then you are free to go.
For Mac OS X, you need to pair and connect to “Makeblock” in the Bluetooth menu of your system, then you can find you robot in the Serial Port menu.
For Ranger users, select Boards->Auriga; for Start/Ultimate users or DIY users using Auriga Controller Board, select Boards->Auriga as the picture shown below.
Before controlling your robot with mBlock, you need to upload/update the firmware of your Ranger or Auriga controller board. Select Connect->Upgrade Firmware to complete this step.
Now you may enjoy controlling your robots with mBlock. Basically, mBlock is based on Scratch. It includes all the command blocks from Scratch and it can run Scratch programs. Robot-related commands are located on “Robots” section. You can drag a block from this section and double click it to run. See if you own a Ranger, you may drag then double click a “run forward at speed 100” block to let the robot run (at speed 100).
Feel free to explore different command blocks and combinations in mBlock – endless possibilities awaits you!
What truly amazed me is that programs written in mBlock may be uploaded into robots and run without a computer. This is particularly useful if you want to build a robot that runs on its own or you what to build a device (such as Christmas decoration) that works without always having a computer at its side. The steps to upload programs are easy: First, select “Edit->Arduino Mode” to switch to Arduino Mode:
Second, you may see the Arduino code generated by mBlock. Arduino is a programming language used to control electronic devices, mainly used by makers. If you are curious, you can see how Arduino code change as you drag and arrange new blocks in mBlock. There is one thing you need to know: your program need to start with a “header block” to work after uploading to the robot; and only blocks attached to the “header block” is effective.
Drag the module block you need from Robots Area, select the correct port/pin. Then trigger the running event, you can see it works.
We have created some lessons about graphical programming and robotics to help teachers or kids get started easier. We suggest you start learning graphical logical programming with Scratch 2.0 The Adventures of Mike, then learn how to use Scratch2.0 to interact with Ranger with the book The Mars Adventure of Mark.
Scratch 2.0 the adventures of Mike has nine chapters with different projects. Kids can explore the world of Scratch 2.0 by creating a lot of interactive stories, games and animation in the virtual world, aiming to help kids learn basic logical programming and know how the Scratch2.0 works. More resources about Scratch2.0 https://scratch.mit.edu/.
Thanks to the cooperation with Scratch teachers, we are developing sixteen chapters about learning graphical programming with Ranger. This course will guide you to program Ranger in lots of interesting scenes.
Resources and Going Further
(1) Arduino Firmware for mBlock: visit Github
(2) Makeblock Official Web Site: https://www.makeblock.com/
(3) Makeblock Community: http://learn.makeblock.com/
Knowledge on Scratch is useful for using mBlock. If you are new to Scratch programming, you may check out one of Scratch books.
More Tutorials are available in mBlock tutorial sections of Makeblock’s forum.
What is ROS?
The Robot Operating System (ROS) is a set of software libraries and tools that help you build robot applications. From drivers to state-of-the-art algorithms, and with powerful developer tools, ROS has what you need for your next robotics project. And it's all open source.
Read More
ROS in Education
ROS is used by students of all ages, from kids interacting with robots in museum exhibits to graduate students learning about the latest solutions to common robotics problems. Because it supports such a wide variety of robots, including low-cost platforms like the TurtleBot and LEGO Mindstorms, ROS is especially well-suited to classroom use.
Read More