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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
39
ファミコンに思いを馳せる〜エミュレータ自作を添えて〜
noharu36
0
15
shell自作した話
noharu36
0
21
Rustを布教したい
noharu36
0
17
neofetchよ、永遠に
noharu36
0
20
Other Decks in Programming
See All in Programming
2026/02/04 AIキャラクター人格の実装論 口 調の模倣から、コンテキスト制御による 『思想』と『行動』の創発へ
sr2mg4
0
720
20260228_JAWS_Beginner_Kansai
takuyay0ne
5
460
「やめとこ」がなくなった — 1月にZennを始めて22本書いた AI共創開発のリアル
atani14
0
360
DSPy入門 Pythonで実現する自動プロンプト最適化 〜人手によるプロンプト調整からの卒業〜
seaturt1e
1
600
Agentic AI: Evolution oder Revolution
mobilelarson
PRO
0
120
CopilotKit + AG-UIを学ぶ
nearme_tech
PRO
2
150
atmaCup #23でAIコーディングを活用した話
ml_bear
4
750
AI駆動開発の本音 〜Claude Code並列開発で見えたエンジニアの新しい役割〜
hisuzuya
4
490
nilとは何か 〜interfaceの構造とnil!=nilから理解する〜
kuro_kurorrr
3
1.8k
ベクトル検索のフィルタを用いた機械学習モデルとの統合 / python-meetup-fukuoka-06-vector-attr
monochromegane
2
340
Codex の「自走力」を高める
yorifuji
0
1k
Railsの気持ちを考えながらコントローラとビューを整頓する/tidying-rails-controllers-and-views-as-rails-think
moro
4
380
Featured
See All Featured
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.3k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
jQuery: Nuts, Bolts and Bling
dougneiner
65
8.4k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
130
Automating Front-end Workflow
addyosmani
1370
200k
Accessibility Awareness
sabderemane
0
74
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.3k
The Spectacular Lies of Maps
axbom
PRO
1
600
Code Review Best Practice
trishagee
74
20k
The Invisible Side of Design
smashingmag
302
51k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
320
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というアルゴリズムを自分で実装したかったが間に合わなかった まずは微積の復讐をするところから頑張ります ...