GithubHelp home page GithubHelp logo

nikhilreddy2002 / robotics_tutorial Goto Github PK

View Code? Open in Web Editor NEW

This project forked from adityasagi/robotics_tutorial

0.0 0.0 0.0 377 KB

Introductory tutorial on use of PyBullet for robotics.

Jupyter Notebook 100.00%

robotics_tutorial's Introduction

Setup

To install Anaconda follow the instructions in the following webpage:
https://www.digitalocean.com/community/tutorials/how-to-install-anaconda-on-ubuntu-18-04-quickstart

Create a conda environment for the PyBullet tutorial:

$ conda create --name pyb_env  

Switch to the newly create environment (you will notice the name of the environment on the command line in the extreme left):

$ conda activate pyb_env  

Once in the desired environment install the following packages:

$ conda install nb_conda_kernels  

Install PyBullet (while in the environment):

$ pip install pybullet  

Install Matplotlib (while in the environment):

$ conda install matplotlib

To check the installation launch:

$ python  

Inside the python environment import the pybullet and matplotlib libraries:

>> import pybullet
>> import matplotlib

If this command executes without any error then the installation is successful.

Check the Jupyter notebook by running the following command in the bash shell:

$ jupyter notebook  

This command will provide a URL. Run the URL in a browser (Firefox). If a web page opens up, then the Jupyter software is successfully installed.

Agenda

  • Kinematics of a serial-2R manipulator (notebook: kinematics.ipynb)

    • Forward kinematics
    • Inverse kinematics
    • Verification of the FK and IK modules against each other
  • Introduction to PyBullet (notebook: sim_env_setup.ipynb)

    • How to start a PyBullet session
    • Settings the simulation parameters in PyBullet
    • Loading URDF files in PyBullet
  • Torque control of robot state in PyBullet (notebook: torque_control.ipynb)

    • Obtaining joint information
    • Setting the control mode (and enabling the motors)
    • Control of joint torque
  • PID control of robot (notebook: torque_control.ipynb)

    • Reading the joint state
    • Determining the control action
    • Setting the required control torque
  • Point-to-point tracking of end-effector (notebook: torque_control.ipynb)

    • Obtaining the required joint angles to reach the desired end-effector position
    • Simulating a PID position control loop to reach the desired end-effector position

References

Additional References

robotics_tutorial's People

Contributors

adityasagi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.