Skip to main content

Controller to AGX Dynamics communication using pclick messaging

Project description

agxclick

agxclick uses pclick, AGX Dynamics and agxBrick to a implement a simulation application that implements Click out of the box for a provided Brick model.

  • You can use click_application.py (see below) to load any Brick model and it will find the robots and connect their signals to Click. See Brick Model Requirements below for more info.
  • You can Inherit agxclick.ClickApplication and override it's methods to customize your own application.
  • You can connect with any Click client to the simulation.

The flow is the same as for Click

  1. Client controller connects and sends HandshakeInit
  2. Server responds with Handshake
  3. Client receives Handshake and validates the setup.
  4. Client sends ControlMessage
  5. Server steps Simulation, and responds with SensorMessage
  6. The loop 4-5 is repeated.

NOTE: The Controller step and the simulation step is in full sync, meaning that the simulation will only progress on ControlMessages.

Install

Prerequisites: AGX and agxBrick

# Latest version
pip install agxclick -U
# Specific version
pip install agxclick==0.1.40

Usage Examples

Visit the GitHub repo for 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

agxclick-0.1.40.tar.gz (14.6 kB view details)

Uploaded Source

Built Distribution

agxclick-0.1.40-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

Details for the file agxclick-0.1.40.tar.gz.

File metadata

  • Download URL: agxclick-0.1.40.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.8.10 Linux/5.4.0-146-generic

File hashes

Hashes for agxclick-0.1.40.tar.gz
Algorithm Hash digest
SHA256 09f0c4dacdbcc26f33b0b810c9f87b1fe815b2dd90c5d26824cbdc5b1a137f4b
MD5 fd38e69e4494b9e26dace2c88e14030e
BLAKE2b-256 370c8f6a2181ff1229ec534496642b99ac92072bc3e80e14417a74a5c3e2a35c

See more details on using hashes here.

Provenance

File details

Details for the file agxclick-0.1.40-py3-none-any.whl.

File metadata

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

File hashes

Hashes for agxclick-0.1.40-py3-none-any.whl
Algorithm Hash digest
SHA256 d9c8e6d3aa0f1e048efd4533b414e0e210fdc2ef411f42ba42f99830bea332fd
MD5 472cdd8d18867cc7f0d1ba57818a155c
BLAKE2b-256 248969c9a3a2859bd111c4f8f9804077eebb29449ebb020efe2281438c37b6d6

See more details on using hashes here.

Provenance

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