GithubHelp home page GithubHelp logo

derzu / tiagobodycontroller Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 467 KB

A body controller of the Tiago robot.

License: The Unlicense

Makefile 9.28% C++ 90.20% Shell 0.52%
pal-robotics tiago

tiagobodycontroller's Introduction

TiagoBodyController

A body controller ot the Tiago robot.

Requirements

  • OpenCV library
  • OpenNI2 library
  • ROS libraries
  • 3D Camrea (DRGB). It works with Orbbec Astra and Asus Xtion, both uses openNI2 driver.
  • Real or Virtual (Gazebo) Tiago Pal-Robotics.
  • Ubuntu 14.04 (For Tiago Gazebo Compatibility).

Set environment:

$ source ~/Downloads/2-Linux/OpenNI-Linux-x64-2.3/OpenNIDevEnvironment
$ source ~/tiago_public_ws/devel/setup.bash

Compile

Download or gitclone the projects TiagoBodyController (https://github.com/derzu/TiagoBodyController) and BodySkeletonTracker (https://github.com/derzu/BodySkeletonTracker).
$ cd TiagoBodyController
$ sh compile.sh

Compile and run just TiagoJointController

Edit TiagoJointController.cpp change mainTest() to main()
$ g++ TiagoJointController.cpp -o TiagoJointController -I/opt/ros/indigo/include -I../include/ -I. -Iinclude/ -L/opt/ros/indigo/lib -Wl,-rpath,/opt/ros/indigo/lib -lroscpp -lrosconsole -lrostime -lroscpp_serialization -lboost_system -lboost_thread -pthread -lactionlib
$ ./TiagoJointController

Compile and run just TiagoBaseController

Edit TiagoBaseController.cpp change mainTest() to main()
$ g++ TiagoBaseController.cpp -o TiagoBaseController -I/opt/ros/indigo/include -I../include/ -I. -Iinclude/ -L/opt/ros/indigo/lib -Wl,-rpath,/opt/ros/indigo/lib -lroscpp -lrosconsole -lrostime -lroscpp_serialization -lboost_system -lboost_thread -pthread -lactionlib
$ ./TiagoBaseController

Connect to a Real Tiago (not deploying):

1 - Connect to it's wifi
2 - terminal:
$ export ROS_IP=10.68.0.130
$ export ROS_MASTER_URI=http://10.68.0.1:11311
Where 10.68.0.130 is the computer IP that will control Tiago. And 10.68.0.1 is Tiago's IP.

Run

$ cd TiagoBodyController/Bin/x64-Release/
$ ./TiagoBodyController

tiagobodycontroller's People

Contributors

derzu avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

niloferbano

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.