From: moo Date: Tue, 20 Oct 2026 16:49:26 +0000 (-0700) Subject: presnetation X-Git-Url: https://git.taranathan.com/?a=commitdiff_plain;p=vantage-presentation.git presnetation --- 7dbb60a3a1e0ad404256d7312f96f83939ab446a diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f0de8a3 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +main.pdf diff --git a/images/advantagekit.png b/images/advantagekit.png new file mode 100644 index 0000000..0c30dc7 Binary files /dev/null and b/images/advantagekit.png differ diff --git a/images/arm.png b/images/arm.png new file mode 100644 index 0000000..4b5120a Binary files /dev/null and b/images/arm.png differ diff --git a/images/climb.png b/images/climb.png new file mode 100644 index 0000000..cad3a2b Binary files /dev/null and b/images/climb.png differ diff --git a/images/elevator.png b/images/elevator.png new file mode 100644 index 0000000..79ac5b7 Binary files /dev/null and b/images/elevator.png differ diff --git a/images/indexer.png b/images/indexer.png new file mode 100644 index 0000000..5eacdf4 Binary files /dev/null and b/images/indexer.png differ diff --git a/images/intake.png b/images/intake.png new file mode 100644 index 0000000..239f38f Binary files /dev/null and b/images/intake.png differ diff --git a/images/outtake.png b/images/outtake.png new file mode 100644 index 0000000..d511b34 Binary files /dev/null and b/images/outtake.png differ diff --git a/images/swerve-module.png b/images/swerve-module.png new file mode 100644 index 0000000..514ec9b Binary files /dev/null and b/images/swerve-module.png differ diff --git a/images/vision.png b/images/vision.png new file mode 100644 index 0000000..7392e83 Binary files /dev/null and b/images/vision.png differ diff --git a/images/whole-robot.png b/images/whole-robot.png new file mode 100644 index 0000000..42f376b Binary files /dev/null and b/images/whole-robot.png differ diff --git a/ironclaw.png b/ironclaw.png new file mode 100644 index 0000000..8f1833e Binary files /dev/null and b/ironclaw.png differ diff --git a/justfile b/justfile new file mode 100644 index 0000000..09b495e --- /dev/null +++ b/justfile @@ -0,0 +1,16 @@ +default: build + +build: + typst compile main.typ + zathura main.pdf & + +watch: noview-build + zathura main.pdf & + typst watch main.typ + +clean: + rm -rf *.pdf + +[private] +noview-build: + typst compile main.typ diff --git a/main.typ b/main.typ new file mode 100644 index 0000000..013b34e --- /dev/null +++ b/main.typ @@ -0,0 +1,110 @@ +#import "@local/robotics:0.1.0": ting +#show: ting + +#set document(title: "Vantage Rewrite Intro") + +#import "@local/touying:0.7.3": * +#import themes.ironclaw: * + +#show link: set text(blue) +#show link: underline + +#import "@local/codly:1.3.1": * +#import "@preview/codly-languages:0.1.10": * +#show: codly-init.with() +#show raw: set text(size: 14pt) + +#import "@preview/fletcher:0.5.8" as fletcher: diagram, edge, node +#import fletcher.shapes: circle, diamond, ellipse, parallelogram, pill, rect + +#let logo = image("./ironclaw.png") + + +#title-slide()[ + #heading(level: 3)[#title()] + #linebreak() + #datetime.today().display("[month repr:long] [day] [year]") + #linebreak() + #box(height: 20%)[#logo] +] + + +== What this is for +- More things to do (less boredom) +- Best practice you can get in subsystem code before build season + - I will have time to properly go through your code and give you direct feedback + +== Reefscape Game Intro + +#link("https://www.youtube.com/watch?v=YWbxcjlY9JY")[ + game video +] + + += Vantage: The Robot +#place(center)[#image("images/whole-robot.png", height: 120%)] + +== Subsystems(in code) +#link("https://drive.google.com/file/d/1eGLlCqQb2JYVSEDOGOtdVhU9X5fsgjOp/view")[pit display] +- outtake +- elevator +- climb +- arm +- indexer +- intake +- drivetrain +- vision + +== Intake +#place(center)[#image("images/intake.png")] + +== Indexer +#place(center)[#image("images/indexer.png")] + +== Elevator +#place(center)[#image("images/elevator.png")] + +== Arm +#place(center)[#image("images/arm.png")] + +== Outtake +#place(center)[#image("images/outtake.png")] + +== Climb +#place(center)[#image("images/climb.png")] + +== Drivetrain +#place(center)[#image("images/swerve-module.png")] + +== Vision +#place(center, dy: 30pt)[#image("images/vision.png")] + + += AdvantageKit + +== Intro +#link("https://docs.advantagekit.org/getting-started/what-is-advantagekit/")[Intro Docs, good to read!] +#place(center, dy: 10pt)[#image("images/advantagekit.png", height: 70%)] + + +== Subsystem Structure +#link("https://gist.github.com/moogoesmeow0/3f2ea23759977b940755b9edc204a0a7")[Example Subsystem with AdvantageKit Implementation] + +== Graph ig +#let small(toxt) = text(15pt)[#toxt] +#diagram({ + let (subsystem, io, iotalon, iosim, container) = ((1,4), (1,1), (0,0), (3,0), (1,7)) + node(subsystem, [Subsystem]) + node(io, [SubsystemIO]) + node(iotalon, [SubsystemIOTalonFX]) + node(iosim, [SubsystemIOSim]) + node(container, [RobotContainer]) + + edge(container, subsystem, "-|>", small[constructs]) + edge(subsystem, io, "-|>", small[interfaces with]) + edge(io, iotalon, "-|>", small[implements], label-anchor: "south-west") + edge(io, iosim, "-|>", small[implements], label-anchor: "south-east") + +}, node-shape: pill, node-fill: gray, spacing: (6mm, 8mm)) + +