Skip to main content

trossen_arm_sim

Runs trossen_arm in simulation. The server speaks the wire protocol of the WidowX AI (wxai_v0) arm controller (firmware v1.10), so the unmodified trossen_arm driver connects to it as if it were real hardware — the arm runs in MuJoCo instead.

Install

pip install .

Clients need trossen_arm==1.10.* (the driver rejects other firmware versions).

Usage

trossen-arm-sim                        # default scene: arm on a ground plane
trossen-arm-sim scene.xml              # custom scene
mjpython -m trossen_arm_sim --viewer   # MuJoCo viewer (macOS needs mjpython)

Point any trossen_arm client at 127.0.0.1 instead of the robot's IP:

driver.configure(
    trossen_arm.Model.wxai_v0,
    trossen_arm.StandardEndEffector.wxai_v0_follower,
    "127.0.0.1",
    False,
)

A custom scene is MJCF that includes the arm via the WIDOWX_XML placeholder, replaced with the installed arm model path at load time (TROSSEN_ARM_ASSET_DIR likewise for the packaged asset directory):

<mujoco>
  <include file="WIDOWX_XML"/>
  <worldbody>
    <light pos="0 0 1.5" dir="0 0 -1" directional="true"/>
    <geom name="floor" size="0 0 0.05" type="plane" rgba="0.5 0.5 0.5 1"/>
  </worldbody>
</mujoco>

Example

Numpad scene plus a client that presses its keys:

trossen-arm-sim examples/scene_numpad.xml     # terminal 1
python examples/press_button.py 1 2 3 enter   # terminal 2

Publish

Bump version in pyproject.toml, then:

pip install build twine
python -m build
twine upload dist/*

Attributions

The arm model and meshes in trossen_arm_sim/assets/ are from trossen_arm_mujoco, Copyright (c) 2025 Trossen Robotics, licensed under BSD-3-Clause.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

trossen_arm_sim-0.1.0.tar.gz (773.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

trossen_arm_sim-0.1.0-py3-none-any.whl (773.3 kB view details)

Uploaded Python 3

File details

Details for the file trossen_arm_sim-0.1.0.tar.gz.

File metadata

  • Download URL: trossen_arm_sim-0.1.0.tar.gz
  • Upload date:
  • Size: 773.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.10.20

File hashes

Hashes for trossen_arm_sim-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a926d39bcb4b5360ab570533ea469fafc6cf0d1686edccf73ba9bf35af5b3102
MD5 6b335f4d20acb3a4ac26838d90e66643
BLAKE2b-256 f2cc00c5c1abc4d9473b03bcd026fbf56093f283c60fc894835f7f4116c1bef7

See more details on using hashes here.

File details

Details for the file trossen_arm_sim-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: trossen_arm_sim-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 773.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.10.20

File hashes

Hashes for trossen_arm_sim-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a12b97d9eb449fd39af648ef9f6220040be5a16ef3fa3cefda0934b936aab3f7
MD5 9ff29fb17f38b42b3f38c4084bd8733b
BLAKE2b-256 bb0adaf7a68d4d8cf684d8c95a15b2a07b73bea6fe2803b02d576d0a6fa87041

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

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