Skip to main content

Telekinesis Isaac Sim Server

A local FastAPI server that gives the Telekinesis Isaac Sim Bridge robot kinematics from Telekinesis Synapse. It loads robots: Synapse robots built for kinematics only. A loaded robot is never connected to hardware or to Isaac Sim, and the server commands no motion.

The server keeps robots in memory only. Stopping it forgets them.

Setup

Requires Python 3.11 or 3.12 on Windows or Linux (x86_64).

conda create -n telekinesis-isaacsim-server python=3.11
conda activate telekinesis-isaacsim-server
pip install telekinesis-isaacsim-server

To work on the server itself, install it from a clone instead:

git clone https://gitlab.com/telekinesis/isaac-sim-server.git
cd isaac-sim-server
pip install -e .

Start the server

telekinesis-isaacsim-server

python -m telekinesis.isaacsim_server does the same. In a clone, fastapi run --host 127.0.0.1 --port 8770 also works.

It listens on http://127.0.0.1:8770, the address the bridge expects. Keep --host 127.0.0.1: the server has no authentication and is meant for local clients only. Stop it with Ctrl-C; every robot is shut down.

While developing, fastapi dev --port 8770 restarts the server whenever the code changes. A restart forgets all robots.

The interactive API docs are at http://127.0.0.1:8770/docs.

Routes

Every route is under /api/v1.

Method Path Body Returns
GET /robot_class_names Synapse robot class names, e.g. UniversalRobotsUR10E
POST /robots {"class_name": ...}, in any case The new robot's description (201)
GET /robots The description of every robot
GET /robots/{robot_id} The robot's description
DELETE /robots/{robot_id} Nothing (204)
POST /robots/{robot_id}/inverse_kinematics {"poses", "seed"?} {"joint_names", "joint_positions"}, one solution per pose
POST /robots/{robot_id}/link_poses {"joint_names", "joint_positions"} {"link_poses": {link_name: pose}}, every URDF link in the base frame

POST /robots loads the robot before answering; the first time a robot class is used, Synapse downloads its URDF from the Telekinesis asset server. Every call loads a new robot under a new id.

The server assigns each robot a random UUID as its id. An id saved by a client stays valid until the server stops; after a restart it answers 404 and is never reused for another robot.

Status When
404 No robot has the id, e.g. because the server restarted
422 Unknown class_name, malformed id, malformed body, a robot joint missing from the seed, or a request Synapse rejects
503 The robot description could not be fetched

Inverse kinematics

POST /robots/{robot_id}/inverse_kinematics solves each pose in poses, in order, for the robot's default_tcp in its base_frame. It returns the robot's joint_names and one solution in radians per pose, or null for a pose it cannot reach.

The optional seed is where every search starts, usually the robot's current joints, given as joint_names with matching joint_positions in radians. The names must include every joint of the robot, in any order; other names, such as gripper fingers, are ignored. A seed on or past a joint limit is moved just inside it.

POST /robots/{robot_id}/link_poses takes the robot's joints the same way, joint_names with matching joint_positions in radians, and returns the pose of every link of the robot's URDF in its base_frame, by link name. Joint positions outside the joint limits answer 422. A client uses it to draw the robot in a given configuration, such as an inverse-kinematics solution.

Robot description

Field Meaning
id Id the server assigned to the robot
class_name Synapse robot class
base_frame Root link of the robot's URDF; poses are expressed in this frame
default_tcp Frame that ghost objects place: the robot's flange frame, e.g. tool0
mount_link Link that tools are mounted on in Isaac Sim, or null
flange_in_mount_link Pose of default_tcp in mount_link, or null

Units

Poses are [x, y, z, rx, ry, rz]: metres, then extrinsic XYZ Euler angles in degrees. Joint positions are in radians.

Notes

  • Robots are loaded on a server worker thread, so Synapse logs that it could not install a signal handler. This is expected; the server shuts every robot down when it stops.

Metadata

Release files for telekinesis-isaacsim-server 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for telekinesis-isaacsim-server 0.1.0
File Size Uploaded Provenance Actions
telekinesis_isaacsim_server-0.1.0.tar.gz 13.6 kB Without provenance Details for telekinesis_isaacsim_server-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for telekinesis-isaacsim-server 0.1.0
File Interpreter ABI Platform Actions
telekinesis_isaacsim_server-0.1.0-py3-none-any.whl Python 3 none any Details for telekinesis_isaacsim_server-0.1.0-py3-none-any.whl

Total release size: 29.6 kB

Release files / telekinesis_isaacsim_server-0.1.0.tar.gz

Download URL telekinesis_isaacsim_server-0.1.0.tar.gz
Size 13.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2bf8ad0762d47f8e03ef21306a13b09d7fd49b9bbfd78d99435f65e1b17c8e1f
BLAKE2b-256 checksum
How to use checksums
6861d7608c8a5fe6d92285d3b1f0f8b68462908f4fb4d6022742baa6d7e8f767
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.12.16

Release files / telekinesis_isaacsim_server-0.1.0-py3-none-any.whl

Download URL telekinesis_isaacsim_server-0.1.0-py3-none-any.whl
Size 16.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2e41601ca3f5290775aff38e3ed88a2d6f8bc3fc5dc84af30304b84feb83972e
BLAKE2b-256 checksum
How to use checksums
8bec9908cb187275800644bdbe36a2033aa5ac96398b6030b5c50fdc01791951
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.12.16

Security for telekinesis-isaacsim-server 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page