Giter Club home page Giter Club logo

lonely-arm's Introduction

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

Screenshot

lonely-arm-image

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++
  • On Mac OS X
OpenGL headers and other necessary development tools are installed by a separate developer tools package, Xcode. Xcode can be downloaded from here
https://developer.apple.com/xcode/

Alternatively install the required packages using Homebrew
# Tap into homebrew/versions where GLFW3 lives and install it
brew tap homebrew/versions
brew install glfw3
# Install glew
brew install glew
  • 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 [email protected]

lonely-arm's People

Contributors

pantuza avatar paramhanji avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

najwaabutaha

lonely-arm's Issues

Add compatibility to OS X (Installation)

The way source files includes GLU, GLUT libraries are different in OS X. Also, the package names in the Homebrew package manager. This issues has two tasks:

  • Add compatibility for #include inside source files;
  • Update README adding how to install software on OS X;

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.