import json U = "https://pixelstomotors.com/manga/"; UE = "https://pixelstomotors.com/english-4-koma/" D = { "ep08": dict(n=8, title="第8話 最新鋭と最年長", te="A Familiar Shape Invites a Familiar Use", yt="リモコンでロボットのチャンネルを変えようとした #病院 #ロボット", short="第8話 最新鋭と最年長", x="病室のおばあちゃんが、ロボットにリモコンを向けてカチカチ。\n\n「あらやだ、全然チャンネル変わらないわねぇ」\n4コマ『ハコブくん』第8話\n", li="病室のベッドで、森田久美子さんがリモコンを手に黙り込んでいる。そこへハコブくんがスッと来る。久美子さんはハコブくんにリモコンを向けて、カチカチ。「あらやだ、全然チャンネル変わらないわねぇ」。病院で物を運ぶロボット、ハコブくんの4コママンガ(フィクション)の第8話だよ。\n\n高齢者45人へのインタビュー調査(ペンシルベニア州立大学)では、ロボットについての思い描き方は、最近使った通信機器や、メディアで見たロボットの姿から作られていた。人は、新しい物を知っている物に当てはめて見る。画面と台がそろっていれば、それはテレビに見える。\n\nロボットの形を決めるとき、何に見えるか、どう使えそうに見えるかまで確かめていますか?\n\n", fb="ロボットにリモコンを向けて「チャンネル変わらないわねぇ」。画面があれば、テレビに見えるよね。\n\n見慣れた形は、見慣れた使い方を呼ぶ、という話を描いたよ。\n\n", xen="She points the remote at the robot. Click, click.\n\"Oh my, the channel won't change at all.\"\n\nHakobukun · Ep. 8\n#webcomic #robotics", alts=["Mrs. Morita sits silently in bed holding a remote.", "Hakobukun glides up beside her.", "Mrs. Morita points the remote at Hakobukun and clicks.", "Hakobukun is puzzled as Nurse Oshiro laughs at the door."], xs="ロボットにリモコンを向けて、カチカチ。\n\n画面があればテレビに見える 4コマ『ハコブくん』のショート\n\n{url}\n#病院 #ロボット"), "ep36": dict(n=36, title="第36話 なぜスマホから始まるのか", te="Build a Practice Room With a Phone Camera", yt="ロボットアームはどこで練習した? #ロボット #デジタルツイン", short="第36話 スマホで撮った部屋", x="ロボットアームはどこで練習した?\n\n答えは、スマホで撮って画面の中に写した、同じ部屋。\n4コマ『ハコブくん』第36話\n", li="「ツカムクンッテ、ドコデ練習シタノ?」。ハコブくんが聞くと、ロボットアームのツカムくんはノートパソコンを指す。画面の中には、スマホで撮って写した、この部屋とそっくりの部屋。そこで積み木を何度も落として、現実では一度でつかむ。ハコブくんの4コママンガ(フィクション)の第36話だよ。\n\n元にしたのは Real2Render2Real(カリフォルニア大学バークレー校ほか、2025年)。スマホで撮った物の3Dスキャンと、人が1回やって見せた動画から、ロボットの練習データを何千通りも作る。ロボットの実機も、物理の計算も使わない。私が続けている R2R2R も、ここから始まっている。\n\n練習の部屋は、スマホで撮るところから作れる。あなたなら、最初に何を撮りますか?\n\n", fb="ロボットアームの練習場所は、スマホで撮って写した画面の中の部屋。そこなら何度落としても壊れない。\n\n練習の部屋は、撮るところから作れる、という話を描いたよ。\n\n", xen="\"Where did you practice?\"\nIn a copy of this room, made from phone photos.\nInside the screen, nothing breaks.\n\nHakobukun · Ep. 36\n#webcomic #robotics", alts=["Hakobukun asks Tsukamukun on its work table where it practiced.", "The laptop screen shows the same room and the same table.", "On screen, the digital Tsukamukun drops blocks again and again.", "The real Tsukamukun grabs the block on the first try."], xs="ロボットアームの練習場所は、スマホで撮った画面の中の部屋。\n\n何度落としても壊れない 4コマ『ハコブくん』のショート\n\n{url}\n#ロボット #デジタルツイン"), "ep158": dict(n=158, title="第158話 線の上", te="Following a Line Means Keeping the Line Clear", yt="床の線の上しか走れないロボット #病院 #ロボット", short="第158話 線の上", x="迷わないように、床の線の上だけを走るロボット。\n\n線の上にワゴンが一台。横は空いているのに「線ノ外ハ、走レマセン」。\n4コマ『ハコブくん』第158話\n", li="槙原さんが床に線を貼る。「この線の上だけ走らせれば、迷いません」。次の日、寺島さんが電話の間、線の上に空のワゴンを置いた。横は空いている。「よければいいじゃない」。ハコブくん「線ノ外ハ、走レマセン」。病院で物を運ぶロボット、ハコブくんの4コママンガ(フィクション)の第158話だよ。\n\n床の磁気テープで導く無人搬送車は、レイアウトの変更や障害物への対応が難しい、と東京電機大学の研究室の資料は説明している。決まった道を走らせれば迷わない。その代わり、道を空けておく手間が現場に増える。\n\n寺島さん「迷わない代わりに、線を空けておく仕事が私たちに来たのね」。槙原さん「その仕事も、数に入れて選びます」。\n\nロボットを選ぶとき、現場に増える手間まで数えていますか?\n\n", fb="線の上しか走れないロボット。ワゴン一台で、もう進めない。\n\n迷わない代わりに、線を空けておく手間が増える、という話を描いたよ。\n\n", xen="It runs only on the line, so it never gets lost.\nThen someone leaves a wagon on the line.\n\"I can't run off the line.\"\n\nHakobukun · Ep. 158\n#webcomic #robotics", alts=["Makihara tapes a black line on the floor.", "Hakobukun stops before a wagon left on the line while Terashima is on the phone.", "Hakobukun cannot go around even with space beside it; Terashima is exasperated.", "Makihara puts up a notice to keep the line clear as Terashima smiles wryly."], xs="線の上にワゴンが一台。横は空いているのに、進めない。\n\n線の上しか走れないロボットの 4コマ『ハコブくん』のショート\n\n{url}\n#病院 #ロボット"), "ep159": dict(n=159, title="第159話 画面ばかり見てしまう", te="Free the Operator's Hands With an Alert When Someone Comes", yt="遠隔操作ロボットの中の人は、画面から目が離せない #アバター #ロボット", short="第159話 画面の番", x="遠隔操作で受付に立つロボット。中の人は、案内しながら書類も片付けるつもりだった。\n\n夕方、書類は白紙のまま。「一日、画面の番をしてただけ…」\n4コマ『ハコブくん』第159話\n", li="外来の受付に立つ遠隔操作ロボットのピカリくん。操作する人は「案内しながら、書類も片付けちゃおう」と思っていた。でも、いつ人が来るか分からない。ペンが止まる。「…今、誰か来た?」。夕方、書類は白紙のまま。「一日、画面の番をしてただけ…」。ハコブくんの4コママンガ(フィクション)の第159話だよ。\n\nサイバーエージェントの AI Lab の実証(2026年)では、大型商業施設に15体の接客アバターを置き、ふだんは自律で動かして、1人のオペレーターがまとめて遠隔で受け持った。来るかもしれない人を待ち続けると、操作する人の手は止まる。\n\nマンガでは次の週から、人が近づくと操作する人に音が届き、回線が切れたら窓口のランプが光るようにした。\n\n遠隔操作のロボットの待ち時間、あなたの現場では誰が見ていますか?\n\n", fb="遠隔操作ロボットの中の人、来るかもしれない人を待って、一日じゅう画面の番。\n\n近づいたら知らせる仕組みで、手を空ける、という話を描いたよ。\n\n", xen="She planned to do paperwork while guiding remotely.\nBy evening, the forms were still blank.\n\"I just watched the screen all day…\"\n\nHakobukun · Ep. 159\n#webcomic #robotics", alts=["Pikarikun waits at reception beside Nurse Terashima; in the inset, the operator faces a stack of papers.", "Pikarikun watches the lobby; in the inset, the pen stays frozen above the paper.", "Terashima and Pikarikun in the evening lobby; in the inset, the operator slumps over blank papers.", "Pikarikun says it will be right back when called; in the inset, a hand writes quickly."], xs="遠隔操作ロボットの中の人は、画面から目が離せない。\n\n来るかもしれない人を待ち続ける 4コマ『ハコブくん』のショート\n\n{url}\n#アバター #ロボット"), "ep160": dict(n=160, title="第160話 取りに出る", te="Count Going Out to Collect as Part of the Delivery", yt="ロボットが届けても、取りに出るのは人 #病院 #ロボット", short="第160話 取りに出る", x="検体を届けるロボット。\n\nでも受け取る人は、そのたびに手袋を外して廊下へ。本番なら1日に何十回。\n4コマ『ハコブくん』第160話\n", li="廊下でハコブくんが止まる。「検体ヲ、オ届ケシマシタ」。検査室の槙原さんは手袋を外して廊下に出て、引き出しから容器を取る。「本番だと、これが1日に何十回…」。次の到着の知らせと、機械の呼び出し音が重なる。病院で物を運ぶロボット、ハコブくんの4コママンガ(フィクション)の第160話だよ。\n\nパナソニックの搬送ロボット HOSPI Trail は、導入した病院の要望から、搬送先でカートを切り離して置いていく形を作った。運ぶ仕事は、届いた先で受け取るところまで続いている。\n\nマンガでは、壁に指を守るふた付きの受け渡し口を付けて、中のロボットアームが受け取る。槙原さん「出なくていいって、いいな」。\n\nロボットの効果を数えるとき、受け取りの手間まで入れていますか?\n\n", fb="ロボットが届けても、取りに出るのは人。それが1日に何十回。\n\n受け取りに出る手間まで、運ぶ仕事に数える、という話を描いたよ。\n\n", xen="The robot delivers the samples.\nThen he takes off his gloves and goes out to get them.\nDozens of times a day.\n\nHakobukun · Ep. 160\n#webcomic #robotics", alts=["Hakobukun announces the delivery in the corridor; Makihara works inside.", "Makihara takes off his gloves and takes the sample from Hakobukun's drawer.", "Makihara runs between a beeping analyzer and the corridor while Tsukamukun waits.", "Tsukamukun takes the sample through a wall hatch as Makihara stretches on a stool."], xs="ロボットが届けても、取りに出るのは人。\n\n受け取りの手間を描く 4コマ『ハコブくん』のショート\n\n{url}\n#病院 #ロボット"), } S = json.load(open('sns/schedule.json')) days = {"ep158": "2027-01-22", "ep159": "2027-01-23", "ep160": "2027-01-24", "ep08": "2027-01-25", "ep36": "2027-01-26"} for slug, d in D.items(): n = d["n"]; url = U + slug m = {"meta": {"episode": n, "date": "2026-11-23", "title": d["title"], "url": url, "title_en": f"Episode {n} {d['te']}", "url_en": UE + slug}, "posts": {"x": d["x"] + url, "linkedin": d["li"] + url, "facebook": d["fb"] + url, "x_en": d["xen"], "x_en_images": [f"/media/manga_ep{n}en_p{k}_enw.webp" for k in range(1, 5)], "x_en_alts": d["alts"], "x_en_reply": f"Read it with the design note behind the gag: {UE + slug}"}} json.dump(m, open(f"sns/MANGA_{slug}_sns_posts.json", "w"), ensure_ascii=False, indent=1) s = {"meta": {"kind": "youtube_short", "episode": n, "title": "ショート " + d["short"], "youtube_title": d["yt"], "manga_url": url}, "posts": {"x_template": d["xs"]}, "note": "YouTube のショートの X 投稿。url と posts.x は tools/sync_youtube_shorts.py が YouTube の公開予約を見て入れる。縦長4コマ(2026-11-23)"} json.dump(s, open(f"sns/SHORT_{slug}_sns_posts.json", "w"), ensure_ascii=False, indent=2) if not any(p["id"] == f"MANGA_{slug}-x" for p in S["posts"]): S["posts"].append({"id": f"MANGA_{slug}-x", "source": f"sns/MANGA_{slug}_sns_posts.json", "platform": "x", "post_at": days[slug] + "T19:30:00+09:00"}) open('sns/schedule.json', 'w').write(json.dumps(S, ensure_ascii=False, indent=2) + "\n") print("ok")