Skip to main content

Controller to AGX Dynamics messaging

Project description

Click

The main idea behind click is to enable a non-Brick controller talking to a Brick enabled AGX Dynamics Simulation in a way configurable by Brick. The name comes from the sound two Bricks makes when connected.

There are three main considerations

  1. How the controller can send controls and receive sensor values in a similar fashion regardless of environment, ie real or sim.
  2. How Brick adds sensors or topology on top of urdf, and how this is communicated to the controller.
  3. How to communicate controls and sensors in an effective way.

The current solution is to introduce a Handshake, which enables the simulation to tell the controller what to expect in terms of how to control and what sensor data is being sent.

A typical flow is

  1. Client controller connects and sends HandshakeInit
  2. Server responds with Handshake
  3. Client receives Handshake and validates the setup.
  4. Client sends Controls
  5. Server responds with Sensors
  6. The loop 4-5 is repeated.

Run demo

python3.9 -m pclick.demo.server --trace
python3 -m pclick.demo.client

Use

import pclick

Usage Examples

Visit the GitHub repo for more info and usage examples.

License

Apache License 2.0

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

pclick-0.2.4.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

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

pclick-0.2.4-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file pclick-0.2.4.tar.gz.

File metadata

  • Download URL: pclick-0.2.4.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.8.10 Linux/5.4.0-146-generic

File hashes

Hashes for pclick-0.2.4.tar.gz
Algorithm Hash digest
SHA256 ae97b17b073a565657b7f9092355c57629056108c089bf36a9a3b9aac2c94e89
MD5 4a370268161a11d5c9daefa3a80ce8a5
BLAKE2b-256 b7c69d9680b96f31001424ec086cd469259ad97e025adf8516d1bbf6e38c815f

See more details on using hashes here.

File details

Details for the file pclick-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: pclick-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.8.10 Linux/5.4.0-146-generic

File hashes

Hashes for pclick-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d70ce98ecaa97dfae759d12fe089edb4835d5f0aab70d0d0c6ceaaf18ebcb63c
MD5 5f56fd014b83af9f55cc0856dfab9358
BLAKE2b-256 4e0ac8431677f1fab8fc356da70388d3887759057bc1c1dff4596606645c2176

See more details on using hashes here.

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