Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
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
0
17
ISSの軌道計算をRustで
noharu36
December 01, 2025
Tweet
Share
More Decks by noharu36
See All by noharu36
検証!会津は本当に地盤が硬いのか?
noharu36
0
13
自作オブジェクトストレージをRustで
noharu36
0
33
ファミコンに思いを馳せる〜エミュレータ自作を添えて〜
noharu36
0
15
shell自作した話
noharu36
0
21
Rustを布教したい
noharu36
0
16
neofetchよ、永遠に
noharu36
0
19
Other Decks in Programming
See All in Programming
360° Signals in Angular: Signal Forms with SignalStore & Resources @ngLondon 01/2026
manfredsteyer
PRO
0
110
開発者から情シスまで - 多様なユーザー層に届けるAPI提供戦略 / Postman API Night Okinawa 2026 Winter
tasshi
0
190
CSC307 Lecture 01
javiergs
PRO
0
680
CSC307 Lecture 02
javiergs
PRO
1
770
Oxlintはいいぞ
yug1224
5
1.3k
Vibe Coding - AI 驅動的軟體開發
mickyp100
0
170
AI Agent の開発と運用を支える Durable Execution #AgentsInProd
izumin5210
7
2.3k
CSC307 Lecture 04
javiergs
PRO
0
650
Basic Architectures
denyspoltorak
0
660
AI Schema Enrichment for your Oracle AI Database
thatjeffsmith
0
250
SourceGeneratorのススメ
htkym
0
190
疑似コードによるプロンプト記述、どのくらい正確に実行される?
kokuyouwind
0
380
Featured
See All Featured
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
7.9k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Writing Fast Ruby
sferik
630
62k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
130
For a Future-Friendly Web
brad_frost
182
10k
The agentic SEO stack - context over prompts
schlessera
0
630
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
420
Agile that works and the tools we love
rasmusluckow
331
21k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
Abbi's Birthday
coloredviolet
1
4.7k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
110
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というアルゴリズムを自分で実装したかったが間に合わなかった まずは微積の復讐をするところから頑張ります ...