Skip to main content

The simulator backend for the K-Scale Operating System (KOS)

Project description

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,
)

Project details


Download files

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

Source Distribution

kos_sim-0.0.9.tar.gz (13.2 kB view details)

Uploaded Source

File details

Details for the file kos_sim-0.0.9.tar.gz.

File metadata

  • Download URL: kos_sim-0.0.9.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for kos_sim-0.0.9.tar.gz
Algorithm Hash digest
SHA256 3a8c5d7f0c1536e9be8e036921f914a2b62eae4fdf07d1f6830d770841d6320f
MD5 e268901a21a4c7838d1bc7ec195e9ebd
BLAKE2b-256 93e66d0d53b0ed7bb721e5287555e9cdd1b4efd0781b23f5340a7db0f53bd801

See more details on using hashes here.

Provenance

The following attestation bundles were made for kos_sim-0.0.9.tar.gz:

Publisher: publish.yml on kscalelabs/kos-sim

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page