GithubHelp home page GithubHelp logo

opencog / blender_api_msgs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from linas/blender_api_msgs

4.0 11.0 5.0 75 KB

ROS node for blender_api

License: BSD 3-Clause "New" or "Revised" License

Python 80.13% CMake 19.87%

blender_api_msgs's Introduction

blender_api_msgs

ROS interface controlling the head+body blender_api rig.

Design goals

  • Avoids adding ROS code to the blender_api python module
  • Eliminates the need for other ROS nodes from having to import the blender_api python module.

Installation

$ cd your_catkin_workspace/src
$ git clone https://github.com/opencog/blender_api_msgs.git
$ pip3 install -t ../devel/lib/python2.7/dist-packages/ ./blender_api_msgs
$ cd ../
$ catkin build

The the above uses several hacks which may be painful to discover and diagnose. These are:

  • Neither catkin_make nor catkin build currently support entry_points in setup.py. To be more precise, it is actually catkin_pkg.python_setup that does not support entry_points, and thus ordinary python setup is used, instead of the catkinized version.

  • Next, pip3 install defaults to an install path in the root file system. To work around this, an explicit install path must be specified with the -t flag.

  • You might think that the correct catkin install path would be in python3.4 not python2.7 but you would be wrong: when sourcing devel/setup.sh, only the 2.7 path is added to PYTHONPATH.

Usage

Start blender from the /blender_api project. If this package was installed with pip or setuptools, blender_api should discover it automatically.

Blender can be started with the autostart script:

blender -y Sophia.blend -P autostart.py

or it can be started manually, by pressing the Start Command Listener button.

Copyright

Copyright (c) 2014,2015,2106,2017 Hanson Robotics

blender_api_msgs's People

Contributors

gaboose avatar linas avatar tesyolan avatar vytasrgl avatar wenwei-dev avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

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.