Skip to content

Commit 1100b5e

Browse files
authored
Merge pull request #67 from wmkouw/main
Interactive (GUI) demos of drone flight and pendulum control
2 parents 12c70ff + acb0cf9 commit 1100b5e

File tree

5 files changed

+1832
-0
lines changed

5 files changed

+1832
-0
lines changed

interactive/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Reactive inference with RxInfer.jl
2+
3+
The `interactive` folder contains programs where a system is controlled and a user can change operating conditions through sliders. They demonstrate that RxInfer adapts online to the resulting prediction errors.
4+
5+
## Installation instructions
6+
7+
To start the interactive demo, follow these steps:
8+
9+
0. Go to the [RxInfer.jl](https://github.com/biaslab/RxInfer.jl) and click the `Star` button, otherwise the demo will not work.
10+
1. You need the Julia programming language preinstalled. We recommend using the [`juliaup`](https://github.com/JuliaLang/juliaup) Julia version manager to easliy install multiple versions of Julia.
11+
2. Start `julia` and run `] add IJulia`. Note the `]` symbol, its important, it changes the julia mode from execution to package manager mode. After that you may need to run `build` in the package manager mode. Alternatively it is possible to do the same in the execution mode by running `using Pkg; Pkg.add("IJulia"); Pkg.build()`. These commands install Julia jupyter kernel. After you can use either standard `jupyter notebook` command or simply run `using IJulia; notebook(dir = pwd())` in the project's directory.
12+
3. The repository comes with the preconfigured environment written in the `Project.toml` and `Manifest.toml`.
13+
The notebook instantiates and installs all required packages automatically. Note, however, that initial installation and precompilation may take a significant amount of time.
14+
4. Simply click `Cells` -> `Run all` and wait for the instantion of the example. Julia may take several minutes to precompile the code.

interactive/drone/Project.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[deps]
2+
BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"
3+
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
4+
GLMakie = "e9467ef8-e4e7-5192-8a1a-b1aee30e663a"
5+
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
6+
Makie = "ee78f7c6-11fb-53f2-987a-cfe4a2b5a57a"
7+
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
8+
RxInfer = "86711068-29c9-4ff7-b620-ae75d7495b3d"
9+
StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3"
10+
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"

0 commit comments

Comments
 (0)