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.
Metadata
Release files for trossen_arm_sim 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| trossen_arm_sim-0.1.0.tar.gz | 773.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| trossen_arm_sim-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.5 MB
Release files / trossen_arm_sim-0.1.0.tar.gz
| Download URL | trossen_arm_sim-0.1.0.tar.gz |
|---|---|
| Size | 773.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a926d39bcb4b5360ab570533ea469fafc6cf0d1686edccf73ba9bf35af5b3102
|
|
BLAKE2b-256 checksum How to use checksums |
f2cc00c5c1abc4d9473b03bcd026fbf56093f283c60fc894835f7f4116c1bef7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.20
|
Release files / trossen_arm_sim-0.1.0-py3-none-any.whl
| Download URL | trossen_arm_sim-0.1.0-py3-none-any.whl |
|---|---|
| Size | 773.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a12b97d9eb449fd39af648ef9f6220040be5a16ef3fa3cefda0934b936aab3f7
|
|
BLAKE2b-256 checksum How to use checksums |
bb0adaf7a68d4d8cf684d8c95a15b2a07b73bea6fe2803b02d576d0a6fa87041
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.20
|