-
Notifications
You must be signed in to change notification settings - Fork 2
/
README
80 lines (53 loc) · 2.31 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
LONELY ARM
NAME
Lonely Arm
DESCRIPTION
A robot arm implemented in C++ using GLUT, GLU and Open GL. The
program is composed by an Arm that moves on a Platform in 3D space
The arm has two modes. Sliding and flying. When on the sliding
mode its movements are limited by the platform limits and it can rotate
its arm, forearm and hand. When on flying mode it can not rotate its
parts and the hand changes to a propeller and the arm is free to fly
over the 3D space
COMPILATION
If you do not wants to compile the program, this repository keeps a
binary file compiled with the latest version of the Lonely Arm program.
So just clone this repository and run it :)
To compile the program you will need to install the freeglut library
that brings the GLU, GLUT and open GL to your operacional system and
install g++ compiler and GNU make program:
. On openSUSE
sudo zypper install freeglut freeglut-devel make gcc-c++
. On Ubuntu
sudo apt-get install freeglut3 freeglut3-dev make g++
. Installed the dependencies, clone this repository go to the
Lonely-Arm directory and run:
make run
. It will compile, then run the Lonely Arm program that is placed
in Lonely-Arm/bin directory
. enjoy the Lonely Arm :)
USAGE KEYBOARD OPTIONS
. space
Rotate the camera looking fixed to the arm
. up | down
Zoom in/out over the arm
. ctrl + left | right | up | down
Moves the arm on the platform
. f
Set the arm to the Flight mode. You can fly usings the arrows
left | right | up | down. If 'f' is pressed again it stops the flight
mode, then the arm starts to fall on the space. If the arm fall, the
program decrements its life. You can save the arm by setting the
flight mode again pressing 'f'
. r
Resets the arm and the camera to the initial position
. 1
Sets the Selected Part to Arm. Press left | right to rotate arm
. 2
Sets the Selected Part to Forearm. Press left | right to rotate forearm
. 3
Sets the Selected Part to the Hand. Press left | right to close/open the hand
AUTHOR
Written by Gustavo Pantuza
REPORTING BUGS
Report Lonely Arm bugs to gustavopantuza@gmail.com