Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/linas/blender_api_msgs
ROS node for blender_api
https://github.com/linas/blender_api_msgs
Last synced: about 1 month ago
JSON representation
ROS node for blender_api
- Host: GitHub
- URL: https://github.com/linas/blender_api_msgs
- Owner: linas
- License: bsd-3-clause
- Created: 2014-12-12T18:45:40.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-11-30T05:55:21.000Z (about 7 years ago)
- Last Synced: 2024-10-20T10:31:21.323Z (2 months ago)
- Language: Python
- Homepage:
- Size: 63.5 KB
- Stars: 0
- Watchers: 3
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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/hansonrobotics/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