Skip to content

Fast, parallel method for estimating the region of attraction for a controlled inverted pendulum using CUDA

License

Notifications You must be signed in to change notification settings

EthanJamesLew/cuda-roa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CUDA ROA

Region of Attraction 3M Simulations Completed in 0.60s on a RTX 3090

This project implements a fast, parallel method for estimating the region of attraction for a controlled inverted pendulum using CUDA. It utilizes millions of individual pendulum simulations to identify the initial states that lead to stable behavior. Results from these simulations are used to plot the region of attraction.

Usage

To build the pendulum simulation and run it, use the following commands:

make run

This will compile the CUDA code, run the simulation, and generate the region of attraction plot.

Customization

You can customize the architecture by setting the ARCH variable in the Makefile. By default, it is set to sm_86 (on a RTX 3090, in this case).

About

Fast, parallel method for estimating the region of attraction for a controlled inverted pendulum using CUDA

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published