Skip to content

Testing basic control programs

Ramviyas Parasuraman edited this page Feb 5, 2021 · 1 revision

Make sure your robot is powered up and connected to the battery. (No external power source should be connected) Give it a minute to boot. Connect to the robot through shell

ssh pi@192.168.1.xxx

password: raspberry

Cloning GIT repository

The first step is to ssh to the robot.

ssh pi@192.168.1.xxx

Password: raspberry

Now, we will clone this repo on to the robot. (Ensure that you have been added as a collaborator for this repository)

Note: Replace username below.

git clone https://github.com/herolab-uga/heroswarm_v1.git

It will prompt you for username and password of your git account. Once the cloning is complete, look for the directory 'heroswarm_v1'

Manual Control Test

Place the robot on a large flat surface (Don't put it on the carpet), and type.

python3 manualControl.py

You won't see any display or prompt while running this code.

Use the keys w, a, s, d for moving the robot in forward, left, backward, and right directions. To stop the robot press q. Hold shift while pressing A and D for a tankturn left and tankturn right.

Press ctrl + c to quit