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.4.1.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

pclick-0.4.1-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pclick-0.4.1.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.8.10 Linux/5.4.0-167-generic

File hashes

Hashes for pclick-0.4.1.tar.gz
Algorithm Hash digest
SHA256 b1c51291a22935a71917af53b4db8150b649c1418f6e70945846d26881681a29
MD5 389c5f7746343cfa87025e964b01f2f7
BLAKE2b-256 f80f7ce610734929767df0920753a9be14e7ff8e541c78dceef85501df38c4b2

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pclick-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3b8bd1fbad219ead2a755b862b41f7fb43d54faf84d5b23e4d7052a323329c09
MD5 2edeedb7778d93a2bfd64aa5296b1032
BLAKE2b-256 dd66971282445297f109f6d170881bb600d2842ffbc264f2f7c675d485c5de8a

See more details on using hashes here.

Supported by

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