quat3d


Namequat3d JSON
Version 1.0.0 PyPI version JSON
download
home_pagehttps://github.com/planxstudio/xkit
SummaryThis is an IMU quaternion data visualization tool for xkit.
upload_time2024-04-02 14:10:53
maintainerNone
docs_urlNone
authorchanmin.park
requires_python>=3.11
licenseNone
keywords xkit genlib
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            This is an IMU quaternion data visualization tool for xkit.

### History
- V1.0.0
  - Implementing 3D visualization with OpenGL
  - STL file included(jet.stl)
  - UDPServer or MulticastReceiver

### Install
```sh
pip install quat
```

### Dependencies
- PyQt6
- PyOpenGL
- pyqtgraph
- numpy-stl
- genlib


### Running
**UDP Server (default port 7321)**
```sh
quat
```
**MulticastReceiver (default group 239.8.7.6, default port 7321)**
```sh
quat --mcast
```
**options**  
--mcast
--group=\<group\>  
--iport=\<port\>  
--log=\<stream | file>

### Client Implementations
- UDPClient or MulticastSender

**quaternion data format**
  ```sh
  w, x, y, z
  ```

**Example**
  ```python
  import time
  from genlib.upd import UDPClient
  from pop.ext import IMU

  imu = IMU()
  udp = UDPClient()
  
  QUAT_IP = '192.168.0.100'
  QUAT_PORT = 7321

  while True:
      w, x, y, z = imu.read(IMU.QUATERNION)
      udp.sendTo(f"{w}, {x}, {y}, {z}".encode(), (QUAT_IP, QUAT_PORT))
      time.sleep(20/1000)  
  ```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/planxstudio/xkit",
    "name": "quat3d",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.11",
    "maintainer_email": null,
    "keywords": "xkit, genlib",
    "author": "chanmin.park",
    "author_email": "devcamp@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/94/e7/3aa77bb2cf285de7795d597741de32e957751efe087f29f368bae64cef07/quat3d-1.0.0.tar.gz",
    "platform": null,
    "description": "This is an IMU quaternion data visualization tool for xkit.\r\n\r\n### History\r\n- V1.0.0\r\n  - Implementing 3D visualization with OpenGL\r\n  - STL file included(jet.stl)\r\n  - UDPServer or MulticastReceiver\r\n\r\n### Install\r\n```sh\r\npip install quat\r\n```\r\n\r\n### Dependencies\r\n- PyQt6\r\n- PyOpenGL\r\n- pyqtgraph\r\n- numpy-stl\r\n- genlib\r\n\r\n\r\n### Running\r\n**UDP Server (default port 7321)**\r\n```sh\r\nquat\r\n```\r\n**MulticastReceiver (default group 239.8.7.6, default port 7321)**\r\n```sh\r\nquat --mcast\r\n```\r\n**options**  \r\n--mcast\r\n--group=\\<group\\>  \r\n--iport=\\<port\\>  \r\n--log=\\<stream | file>\r\n\r\n### Client Implementations\r\n- UDPClient or MulticastSender\r\n\r\n**quaternion data format**\r\n  ```sh\r\n  w, x, y, z\r\n  ```\r\n\r\n**Example**\r\n  ```python\r\n  import time\r\n  from genlib.upd import UDPClient\r\n  from pop.ext import IMU\r\n\r\n  imu = IMU()\r\n  udp = UDPClient()\r\n  \r\n  QUAT_IP = '192.168.0.100'\r\n  QUAT_PORT = 7321\r\n\r\n  while True:\r\n      w, x, y, z = imu.read(IMU.QUATERNION)\r\n      udp.sendTo(f\"{w}, {x}, {y}, {z}\".encode(), (QUAT_IP, QUAT_PORT))\r\n      time.sleep(20/1000)  \r\n  ```\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "This is an IMU quaternion data visualization tool for xkit.",
    "version": "1.0.0",
    "project_urls": {
        "Homepage": "https://github.com/planxstudio/xkit"
    },
    "split_keywords": [
        "xkit",
        " genlib"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4e3081efabf685651f87482bbe95a245fc4088e6d50b3ce01fb240604339acc2",
                "md5": "955ec02b54aee0f77f019c3fbc0be91a",
                "sha256": "5578a81a38f7a1ecb188c3ae02697f5a9b8a01ad775011382c402e6b27292a99"
            },
            "downloads": -1,
            "filename": "quat3d-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "955ec02b54aee0f77f019c3fbc0be91a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11",
            "size": 16680834,
            "upload_time": "2024-04-02T14:10:36",
            "upload_time_iso_8601": "2024-04-02T14:10:36.888042Z",
            "url": "https://files.pythonhosted.org/packages/4e/30/81efabf685651f87482bbe95a245fc4088e6d50b3ce01fb240604339acc2/quat3d-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "94e73aa77bb2cf285de7795d597741de32e957751efe087f29f368bae64cef07",
                "md5": "fb923ed7ffc92be7ffe654f89288c398",
                "sha256": "2f6c49e28329d6cceb25789ef239a0c404775042a5fce421e5747cc16fdc5d2c"
            },
            "downloads": -1,
            "filename": "quat3d-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "fb923ed7ffc92be7ffe654f89288c398",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11",
            "size": 16683673,
            "upload_time": "2024-04-02T14:10:53",
            "upload_time_iso_8601": "2024-04-02T14:10:53.454652Z",
            "url": "https://files.pythonhosted.org/packages/94/e7/3aa77bb2cf285de7795d597741de32e957751efe087f29f368bae64cef07/quat3d-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-02 14:10:53",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "planxstudio",
    "github_project": "xkit",
    "github_not_found": true,
    "lcname": "quat3d"
}
        
Elapsed time: 0.48511s