Module 8 - Section 1 - Ed Py
- describe the Edpy environment
- use the setup functions of Edpy
- create code to drive forward and backward the Edison robot using Edpy commands
- create code to turn the Edison robot using Edpy commands
8.1.1 - Edpy
Until now we have used block icons to program the edison robot. Now we will combine Robotics and Python.
In this window you can search the documentation in the search box and example commands matching your search will appear in the window below.
This window contains a list of recently opened programs.
This window contains a list of example programs which you can select and open in the programming area.
This is where you enter the Python code to control the Edison robot.
When you select this, the code is checked for errors. If errors are detected, a message will appear in the Compiler Output window at the bottom of the screen providing details on the errors.
When you select this, the current program is downloaded to the Edison provided the Edison is ready.
This is where errors appear if they are detected when you select “Check Code”. If there are no errors you will see: “There are no errors in your code.” When Python translates the written Python code to actual commands readable by the Edison robot this is called “compiling the code”.
This window displays help about the command under your cursor.