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
noharu36
December 01, 2025
Programming
0
16
ISSの軌道計算をRustで
noharu36
December 01, 2025
Tweet
Share
More Decks by noharu36
See All by noharu36
検証!会津は本当に地盤が硬いのか?
noharu36
0
10
自作オブジェクトストレージをRustで
noharu36
0
28
ファミコンに思いを馳せる〜エミュレータ自作を添えて〜
noharu36
0
10
shell自作した話
noharu36
0
15
Rustを布教したい
noharu36
0
15
neofetchよ、永遠に
noharu36
0
13
Other Decks in Programming
See All in Programming
The Art of Re-Architecture - Droidcon India 2025
siddroid
0
160
Basic Architectures
denyspoltorak
0
180
Combinatorial Interview Problems with Backtracking Solutions - From Imperative Procedural Programming to Declarative Functional Programming - Part 2
philipschwarz
PRO
0
140
從冷知識到漏洞,你不懂的 Web,駭客懂 - Huli @ WebConf Taiwan 2025
aszx87410
2
3.3k
re:Invent 2025 トレンドからみる製品開発への AI Agent 活用
yoskoh
0
610
TestingOsaka6_Ozono
o3
0
270
ZJIT: The Ruby 4 JIT Compiler / Ruby Release 30th Anniversary Party
k0kubun
1
310
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
620
LLMで複雑な検索条件アセットから脱却する!! 生成的検索インタフェースの設計論
po3rin
4
1.1k
CSC307 Lecture 04
javiergs
PRO
0
630
PostgreSQLで手軽にDuckDBを使う!DuckDB&pg_duckdb入門/osc25hi-duckdb
takahashiikki
0
240
組み合わせ爆発にのまれない - 責務分割 x テスト
halhorn
1
180
Featured
See All Featured
Believing is Seeing
oripsolob
1
26
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
96
A Modern Web Designer's Workflow
chriscoyier
698
190k
Evolving SEO for Evolving Search Engines
ryanjones
0
96
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
130
Claude Code のすすめ
schroneko
67
210k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.3k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
Utilizing Notion as your number one productivity tool
mfonobong
2
200
Code Reviewing Like a Champion
maltzj
527
40k
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というアルゴリズムを自分で実装したかったが間に合わなかった まずは微積の復讐をするところから頑張ります ...