Skip to main content

Controller to AGX Dynamics messaging

Project description

Click

The main idea behind click is to enable a non-OpenPLX controller talking to an OpenPLX enabled AGX Dynamics Simulation in a way configurable by OpenPLX.

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 OpenPLX 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.5.14.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.5.14-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pclick-0.5.14.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.10.12 Linux/6.8.0-71-generic

File hashes

Hashes for pclick-0.5.14.tar.gz
Algorithm Hash digest
SHA256 b04047005256aad9c8f1e93a5636c6c7712ad47fc67183892dd1a1f98b4eb921
MD5 a1256c01bef6134c9f77984c0f629430
BLAKE2b-256 53b0b043044417d6fbd7efcb8b00accba04d2f88887c02e5a635fc7def91cfe9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pclick-0.5.14-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.10.12 Linux/6.8.0-71-generic

File hashes

Hashes for pclick-0.5.14-py3-none-any.whl
Algorithm Hash digest
SHA256 c54efba4a9fe03fd425994a51c3a2ca5336184cbb9cfe2190ea26112497f46f7
MD5 f9189cfba4d0d43e4091b951dd54be46
BLAKE2b-256 cd5b62128ef9bce580abd01cbcede41b2d1fc3acc7204fa84ebeb13b45e93f64

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