Sign inSign up

gopityro/openrave-api-service

By gopityro

Updated about 1 year ago

Image
0

125

gopityro/openrave-api-service repository overview

#OpenRAVE API Service

openrave-api-service is a lightweight Flask-based REST API server for managing OpenRAVE robot files (.zae, .dae, .json). It uses the OpenRAVE runtime to load robots, extract metadata, and generate visual previews.

🔧 Features

  • POST /api/robot — Upload a new robot file
  • GET /api/robot/<filename> — Retrieve robot metadata
  • PUT /api/robot/<filename> — Update robot properties (e.g., name, joints)
  • DELETE /api/robot/<filename> — Delete a robot
  • GET /api/robot/<filename>/download — Download robot file
  • GET /api/robot/<filename>/preview — Generate and return robot preview image

Includes automated test coverage with pytest. ** Note: preview, download has some issues **

🐳 Base Image

This image is built on top of: gopityro/openrave-server:latest Which provides:

  • OpenRAVE runtime
  • Python 2.7
  • Flask and supporting libraries
  • OpenSceneGraph and required plugins

🚀 Quick Start

To pull and run the OpenRAVE API service:

docker pull gopityro/openrave-api-service:latest
docker run -p 5000:5000 gopityro/openrave-api-service.

How to run automated tests

docker run -it --rm gopityro/openrave-api-service bash

Inside bash run pytests

Tag summary

Content type

Image

Digest

sha256:c51174f72

Size

2 GB

Last updated

about 1 year ago

docker pull gopityro/openrave-api-service