Skip to content

The Project is the part of assignemnt under SES 598 Autonomous Exploration Systems at Arizona State University (ASU).

Notifications You must be signed in to change notification settings

skp-1997/LQR-Controller-Inverted_Pendulum_on_Cart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LQR_inverted_pendulum_on_cart_controller

The goal of the application is to control the inverted pendulum on moving cart using Linear Quadratic Regulator (LQR). This application is a part of Assignment for SES 598 : Autonomous Exploration Systems at Arizona State University.

Code uses ROS Noetic on Ubuntu 20.04

Demonstration

Studio_Project

Installation

This package relies on a Gazebo simulation of an inverted pendulum. Please visit the follow repository and follow their instructions for setting up the simulation components: https://github.com/linZHank/invpend_experiment.

pip install control
mkdir -p ~/ros_ws
git clone https://github.com/Mannat-Rana/LQR-Control-For-Inverted_Pendulum.git
catkin_make

To Run

source ~/ros_ws/devel/setup.bash
roslaunch lqr_invpend_control lqr_invpend_control.launch
rosrun invpend_control lqr_control.py

Tweak Parameters

Once simulation opens and lqr_control.py is running, right click on pole link and apply torque or force to test the model. Tweak the Q and R values in the script, to make the model performance more robust.

About

The Project is the part of assignemnt under SES 598 Autonomous Exploration Systems at Arizona State University (ASU).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published