robot-gait-vis


Namerobot-gait-vis JSON
Version 0.1.2 PyPI version JSON
download
home_pagehttps://github.com/zsilberstein/robot-gait-vis
SummarySimulate and visualize different walking robot configurations and gaits.
upload_time2024-03-17 20:11:21
maintainer
docs_urlNone
authorZach Silberstein
requires_python>=3.9,<4.0
licenseMIT
keywords robotics gait visualize
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Robot-Gait-Vis

Robot-Gait-Vis is a python package designed to help rapidly visualize the performance of different 
gaits and trajectories for various types of walking robots.

## Features
- Three different types of legs
- Three different types of gaits
- Rapid animation of walking robot
- Tracking and plotting of joint angles over time
- Tracking and plotting of end-effector positions over time

## Installation
To install the package with `pip`:
```python
pip3 install robot-gait-vis
```

## Dependencies
In addition to python version 3.9 or newer, this project depends on the following open source packages:
- [numpy](https://numpy.org/)
- [matplotlib](https://matplotlib.org/)

## Basic Usage
The following examples assume that `robot-gaot-vis` has been imported as `rgv`:
```python
import robot_gait_vis as rgv
```
To create a planar leg with segment lengths of 0.5 and 1 meters:
```python
planar_leg = rgv.PlanarLeg((0.5, 1))
```
To create a quadruped robot with body dimensions of 0.5 by 0.25 by 0.5 meters:
```python
quadruped = rgv.Robot((0.5, 0.25, 0.5), planar_leg, 4)
```

## Detailed Usage
The example.py file illustrates detailed example usage of the package. The example file generates walking motion for a simple biped robot as well as a hexapod robot and outputs the GIFs shown below.
<p float="left">
    <img src="https://github.com/zsilberstein/robot-gait-vis/blob/master/biped_ex.gif?raw=true" alt="Gif of a simple biped robot walking" width="365" height="274" />
    <img src="https://github.com/zsilberstein/robot-gait-vis/blob/master/hexapod_ex.gif?raw=true" alt="Gif of a hexapod robot walking" width="365" height="274" />
</p>

## Testing
To run tests for the project:
```python
python3 -m unittest
```

## Future Improvements
- Add new leg types
- Add new gaits
- Add new end effector trajectories
- Add more animation options  
### Have your own improvement in mind? 
Feel free to fork the project and then put in a pull request with the desired improvement. Please be sure to include relevant tests in any pull request.

## License
This project is licensed under the [MIT License](https://github.com/zsilberstein/robot-gait-vis/blob/master/LICENSE). See the LICENSE page for more information.

## Author
**Zach Silberstein**  
Email: **zach.silberstein@gmail.com**   
Github: [@zsilberstein](https://github.com/zsilberstein)
            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/zsilberstein/robot-gait-vis",
    "name": "robot-gait-vis",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9,<4.0",
    "maintainer_email": "",
    "keywords": "robotics,gait,visualize",
    "author": "Zach Silberstein",
    "author_email": "zach.silberstein@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/d1/a9/9a834ba16ef421cd7690ea4e2c5e5f25bc8b339894354ec05bdb86ed9ca4/robot_gait_vis-0.1.2.tar.gz",
    "platform": null,
    "description": "# Robot-Gait-Vis\n\nRobot-Gait-Vis is a python package designed to help rapidly visualize the performance of different \ngaits and trajectories for various types of walking robots.\n\n## Features\n- Three different types of legs\n- Three different types of gaits\n- Rapid animation of walking robot\n- Tracking and plotting of joint angles over time\n- Tracking and plotting of end-effector positions over time\n\n## Installation\nTo install the package with `pip`:\n```python\npip3 install robot-gait-vis\n```\n\n## Dependencies\nIn addition to python version 3.9 or newer, this project depends on the following open source packages:\n- [numpy](https://numpy.org/)\n- [matplotlib](https://matplotlib.org/)\n\n## Basic Usage\nThe following examples assume that `robot-gaot-vis` has been imported as `rgv`:\n```python\nimport robot_gait_vis as rgv\n```\nTo create a planar leg with segment lengths of 0.5 and 1 meters:\n```python\nplanar_leg = rgv.PlanarLeg((0.5, 1))\n```\nTo create a quadruped robot with body dimensions of 0.5 by 0.25 by 0.5 meters:\n```python\nquadruped = rgv.Robot((0.5, 0.25, 0.5), planar_leg, 4)\n```\n\n## Detailed Usage\nThe example.py file illustrates detailed example usage of the package. The example file generates walking motion for a simple biped robot as well as a hexapod robot and outputs the GIFs shown below.\n<p float=\"left\">\n    <img src=\"https://github.com/zsilberstein/robot-gait-vis/blob/master/biped_ex.gif?raw=true\" alt=\"Gif of a simple biped robot walking\" width=\"365\" height=\"274\" />\n    <img src=\"https://github.com/zsilberstein/robot-gait-vis/blob/master/hexapod_ex.gif?raw=true\" alt=\"Gif of a hexapod robot walking\" width=\"365\" height=\"274\" />\n</p>\n\n## Testing\nTo run tests for the project:\n```python\npython3 -m unittest\n```\n\n## Future Improvements\n- Add new leg types\n- Add new gaits\n- Add new end effector trajectories\n- Add more animation options  \n### Have your own improvement in mind? \nFeel free to fork the project and then put in a pull request with the desired improvement. Please be sure to include relevant tests in any pull request.\n\n## License\nThis project is licensed under the [MIT License](https://github.com/zsilberstein/robot-gait-vis/blob/master/LICENSE). See the LICENSE page for more information.\n\n## Author\n**Zach Silberstein**  \nEmail: **zach.silberstein@gmail.com**   \nGithub: [@zsilberstein](https://github.com/zsilberstein)",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Simulate and visualize different walking robot configurations and gaits.",
    "version": "0.1.2",
    "project_urls": {
        "Homepage": "https://github.com/zsilberstein/robot-gait-vis",
        "Repository": "https://github.com/zsilberstein/robot-gait-vis"
    },
    "split_keywords": [
        "robotics",
        "gait",
        "visualize"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "21796426b80fab1b075ec4162b15d0c7c33c83dba2ae25ca6ae1091e76fcde9d",
                "md5": "4db38668f1c499996a617a605a3e5d5b",
                "sha256": "5a8d69bbcbad70f961f2c6431e453b1cb541b2719c6d005c992783e2b89a2f1f"
            },
            "downloads": -1,
            "filename": "robot_gait_vis-0.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4db38668f1c499996a617a605a3e5d5b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9,<4.0",
            "size": 16044,
            "upload_time": "2024-03-17T20:11:19",
            "upload_time_iso_8601": "2024-03-17T20:11:19.619817Z",
            "url": "https://files.pythonhosted.org/packages/21/79/6426b80fab1b075ec4162b15d0c7c33c83dba2ae25ca6ae1091e76fcde9d/robot_gait_vis-0.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d1a99a834ba16ef421cd7690ea4e2c5e5f25bc8b339894354ec05bdb86ed9ca4",
                "md5": "8a4692a05ac2b62f75d7605499a4e26f",
                "sha256": "36aeefb60b7e509ef7e27b70c5ad3b2c9c46ef7b62987193b20e3ed979e8f242"
            },
            "downloads": -1,
            "filename": "robot_gait_vis-0.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "8a4692a05ac2b62f75d7605499a4e26f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9,<4.0",
            "size": 12160,
            "upload_time": "2024-03-17T20:11:21",
            "upload_time_iso_8601": "2024-03-17T20:11:21.788495Z",
            "url": "https://files.pythonhosted.org/packages/d1/a9/9a834ba16ef421cd7690ea4e2c5e5f25bc8b339894354ec05bdb86ed9ca4/robot_gait_vis-0.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-17 20:11:21",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "zsilberstein",
    "github_project": "robot-gait-vis",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "robot-gait-vis"
}
        
Elapsed time: 0.21236s