kos-sim
kos-sim is a pure-simulation backend for the K-Scale Operating System (KOS), using the same gRPC interface.
Installation
pip install kos-sim
Getting Started
First, start the kos-sim backend:
kos-sim kbot-v1
Then, in a separate terminal, run the example client:
python -m examples.kbot
You should see the simulated K-Bot move in response to the client commands.
Possible Bugs
If you find that your robot is jittering on the ground, try increasing iterations and ls_iterations in your mjcf options.
<option iterations="6" ls_iterations="6">
</option>
Also, to clip actuator ctrl values, be sure to send a configure_actuator KOS command with max_torque set.
await kos.actuator.configure_actuator(
actuator_id=actuator.actuator_id,
max_torque=actuator.max_torque,
)
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file kos_sim-0.0.14.tar.gz.
File metadata
- Download URL: kos_sim-0.0.14.tar.gz
- Upload date:
- Size: 16.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a97ca2bd1070a32c90740a6fbd8726587dfb299c6ba8e2fe4c99aa4e0eb1ffaa
|
|
| MD5 |
1c7ec78a28280fbc661c02700fbb2a4a
|
|
| BLAKE2b-256 |
911adb7adedb6365e14af6dfcf5e0529f0b4dec904768d14bca375b08352e0eb
|
Provenance
The following attestation bundles were made for kos_sim-0.0.14.tar.gz:
Publisher:
publish.yml on kscalelabs/kos-sim
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kos_sim-0.0.14.tar.gz -
Subject digest:
a97ca2bd1070a32c90740a6fbd8726587dfb299c6ba8e2fe4c99aa4e0eb1ffaa - Sigstore transparency entry: 207596661
- Sigstore integration time:
-
Permalink:
kscalelabs/kos-sim@dd44e1ba6a19ec4746f39c6c383b82da86d8e170 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/kscalelabs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@dd44e1ba6a19ec4746f39c6c383b82da86d8e170 -
Trigger Event:
workflow_dispatch
-
Statement type: