Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
ISSの軌道計算をRustで
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
noharu36
December 01, 2025
Programming
36
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
ISSの軌道計算をRustで
noharu36
December 01, 2025
More Decks by noharu36
See All by noharu36
皆さんはHaskellをご存知です_しかし皆さんはHaskellが読めません_.pdf
noharu36
0
50
検証!会津は本当に地盤が硬いのか?
noharu36
0
38
自作オブジェクトストレージをRustで
noharu36
0
82
ファミコンに思いを馳せる〜エミュレータ自作を添えて〜
noharu36
0
41
shell自作した話
noharu36
0
37
Rustを布教したい
noharu36
0
50
neofetchよ、永遠に
noharu36
0
41
Other Decks in Programming
See All in Programming
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
210
Everything will be SERVERLESS — 信じて運用した10年の経験値 / Everything Will be Serverless — Lessons Learned from 10 Years of Operational Experience
seike460
PRO
1
290
SONY CISC-NEWS NWS-1750 + NWB-225 フレームバッファの NetBSD/news68k ドライバ実装 / OSC2026Hiroshima
tsutsui
0
120
Are APIs Still Relevant in the AI Era?
soyuka
0
270
The Good Stuff, Not the Slop: Engineering High-Quality Android Apps with Modern AI Tooling
danybony
1
260
アクセシビリティから考える情報設計
high_g_engineer
0
380
FreeBSDでZabbixを動かす
kenkino
0
310
【高い買い物LT会】初任給で話題の国産フィジカルAIを買った話
akagami
PRO
0
160
GraphRAGのKnowledge Graphを 直接!見る/View-GraphRAG's-KnowledgeGraph-directly!
tyumugi1113
1
350
大喜利で理解するLLM as a Judge / Understanding LLM-as-a-Judge through Ogiri
rockname
0
150
JPUG勉強会 OSSデータベースの内部構造を理解しよう(第2回)
oga5
0
260
App Storeの外へ──日本のiOSサイドローディング入門 for iOSDC Japan 2026
yuukiw00w
0
220
Featured
See All Featured
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.8k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.6k
Believing is Seeing
oripsolob
1
220
Faster Mobile Websites
deanohume
310
32k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Producing Creativity
orderedlist
PRO
348
41k
It's Worth the Effort
3n
188
29k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.7k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
57k
Transcript
ISSの軌道計算を Rustで 学部2年 harukun
自己紹介 { name: 能島明希 handle: harukun origin: 広島->岡山->大阪->東京->会津 tech: {
front-end: React+TS backend: Rust, Go etc: Rust, Haskell Rust: Rust } favorites: Game, Tobacco, BoyScout, Rust, Neovim Twitter(x): https://twitter.com/pieceofharuki Blog: https://zenn.dev/haru_blog }
ISS(人工衛星)の軌道、知りてえよなあ!?
とりあえず完成品をどうぞ
技術スタック
[dependencies] sgp4 = version = "2.2.0" chrono = "0.4.38" plotters=
"0.3.7" plotters-bitmap = "0.3.7" minifb = "0.27.0" 使用した外部クレート
• sgp4: sgp4というアルゴリズムを使用するためのライブラリ • chrono: 時刻を扱うライブラリ • plotters: いわゆる描画ライブラリ。いろんな形式をサポートしている •
plotters-bitmap: plottersの依存ライブラリ。ビットマップ形式で出力できる • minifb: 画像を表示するウィンドウを開くためのライブラリ 説明
用語解説 TLE: 二行軌道要素形式といわれる。 人工衛星の地心座標系におけるケプラー軌道要素のテキスト形式のフォーマット。 もともとは初期のコンピュータのパンチカード用にデザインされたらしい パンチカード
ISS (ZARYA) 1 25544U 98067A 22095.91869325 .00012930 00000-0 23502-3 0
9991 2 25544 51.6452 334.5328 0004408 351.0413 99.6998 15.49890618333972 一般名 行番号 衛星カタログ番号 軍事機密種別 国際識別符号 元期 平均運動の1次微分値 平均運動の2次微分値 B STAR抗力項 軌道モデル 通番 チェックサム 軌道傾斜角 昇交点赤径 離心率 近地点離角 平均近点角 平均運動
SGP4: NASA(アメリカ航空宇宙局)とNORAD(北アメリカ航空宇宙防衛司令部 )が使用している 近地球域の衛星の軌道計算用のアルゴリズム 入力にTLEを受け取る 位置に関して約1kmほどの誤差がでる
ライブラリ叩くだけ芸人になってしまったの で... 実装部分の説明は割愛 😭
感想と今後の展望 ライブラリを叩くだけでISSやStarlinkなどの衛星の軌道を計算して描画することができた ただ、(描画部分が)本当にあってるのか確かめれてないので 他の言語でも実装して確認してみたい。ぱいちょんはすごい楽らしい 本当はSGP4というアルゴリズムを自分で実装したかったが間に合わなかった まずは微積の復讐をするところから頑張ります ...