Skip to content

ehsan51/First_RT_Assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

First_RT_Assignment


Introduction

We are going to run an exercise in which there is an environment with 6 gold tokens and 6 silver ones, as well as a robot.There would be printed some messages by which the process is reported, like following picture:

Screenshot from 2023-01-31 23-55-26

We want to design a robot who search for silver tokens and deliver them to the golden tokens one by one. As a resault there should be 6 pairs of mixed silver and gold tokens, and the message of " Mission completed" would be printed, like following picture:

Screenshot from 2023-01-31 18-00-19

Requirements

First, you should install python2 on your Ubuntu by following command:

sudo apt-get updat
sudo apt-get install python2

Then, three libraries should be installed: pygame, PyPyBox2D, and PyYAML:

 sudo apt-get install python-dev python-pip python-pygame
 sudo pip install pypybox2d

Now three following commands should be executed in a terminal:

    sudo apt-get udpate
    sudo apt-get install git
    git clone https://github.com/ehsan51/First_RT_Assignment.git

Now you should open a terminal shell and move to the 'robot-sim' directory and execute the :

python2 run.py assignment.py

Flowchart

Below, the flowchart of the whole process is shown: Flowchart(1)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages