Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ratfink/pendulumcontroldemo.jl
https://github.com/ratfink/pendulumcontroldemo.jl
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ratfink/pendulumcontroldemo.jl
- Owner: Ratfink
- License: mit
- Created: 2023-02-09T15:56:36.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-29T15:03:36.000Z (about 1 year ago)
- Last Synced: 2024-11-12T12:04:49.918Z (3 months ago)
- Language: Julia
- Size: 47.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PendulumControlDemo
[![Build Status](https://github.com/Ratfink/PendulumControlDemo.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/Ratfink/PendulumControlDemo.jl/actions/workflows/CI.yml?query=branch%3Amain)
An interactive demo of pendulum control in Julia.
## Installation
From the Julia REPL, run:
```julia
using Pkg; Pkg.add(url="https://github.com/Ratfink/PendulumControlDemo.jl")
```The demo currently requires a development branch of Makie, found in the
`joystick` branch of [this repository](https://github.com/Ratfink/Makie.jl).
This branch enables work-in-progress joystick support. After cloning the
repository, you can enable it in Julia with:```julia
Pkg.develop(path="path/to/Makie.jl")
Pkg.develop(path="path/to/Makie.jl/GLMakie")
```## Usage
Enter the project directory, located at `~/.julia/dev/PendulumControlDemo` on
Linux. Run the Julia REPL with `julia --project`. Then, run the following:```julia
using PendulumControlDemo
pendulum_run()
```A window should appear, running the demo.