-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
35 lines (26 loc) · 1.2 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Land-Rover Project
The main aim of this project is to control a bot run by the Beagle Bone Black over wi-fi.
The bot consists of 2 dc motors for movement and a robotic arm with 4 degrees of freedom that can pick up small objects (upto 1” cube) carry it. The BBB drives the bot. A socket connection is established via a wi-fi dongle connected to the usb port of the BBB.
The socket server code runs on the BBB.
The client code runs on the computer(x86).
The client code needs ncurses.h to compile and work.
ncurses.h can be obtained by using the following command:
sudo apt-get install ncurses-dev
or
sudo apt-get install libncurses5-dev
Controls:
The forward, backward, left and right movement of the bot itself is controlled by the arrow keys.
The arm movement is controlled by:
a- Shoulder Left
z- Shoulder Right
d- elbow Up
c- elbow Down
s- Shoulder Up
x- Shoulder Down
g- Jaw Open
b- Jaw Close
The IP address of the connection to the BBB should be changed in socet_client.cpp.
For simple GPIO commands like export and set value code by Derek Molly has been used.
https://github.com/derekmolloy/boneDeviceTree/tree/master/gpio
The youtube link to a video of the project in action:
http://youtu.be/KJff1PAOem0