Skip to main content

Simulate and visualize different walking robot configurations and gaits.

Project description

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:

pip3 install robot-gait-vis

Dependencies

In addition to python version 3.9 or newer, this project depends on the following open source packages:

Basic Usage

The following examples assume that robot-gaot-vis has been imported as rgv:

import robot_gait_vis as rgv

To create a planar leg with segment lengths of 0.5 and 1 meters:

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:

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.

Gif of a simple biped robot walking Gif of a hexapod robot walking

Testing

To run tests for the project:

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. See the LICENSE page for more information.

Author

Zach Silberstein
Email: zach.silberstein@gmail.com
Github: @zsilberstein

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

robot_gait_vis-0.1.2.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

robot_gait_vis-0.1.2-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file robot_gait_vis-0.1.2.tar.gz.

File metadata

  • Download URL: robot_gait_vis-0.1.2.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.8.10 Linux/5.15.0-67-generic

File hashes

Hashes for robot_gait_vis-0.1.2.tar.gz
Algorithm Hash digest
SHA256 36aeefb60b7e509ef7e27b70c5ad3b2c9c46ef7b62987193b20e3ed979e8f242
MD5 8a4692a05ac2b62f75d7605499a4e26f
BLAKE2b-256 d1a99a834ba16ef421cd7690ea4e2c5e5f25bc8b339894354ec05bdb86ed9ca4

See more details on using hashes here.

File details

Details for the file robot_gait_vis-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: robot_gait_vis-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 16.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.8.10 Linux/5.15.0-67-generic

File hashes

Hashes for robot_gait_vis-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5a8d69bbcbad70f961f2c6431e453b1cb541b2719c6d005c992783e2b89a2f1f
MD5 4db38668f1c499996a617a605a3e5d5b
BLAKE2b-256 21796426b80fab1b075ec4162b15d0c7c33c83dba2ae25ca6ae1091e76fcde9d

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