実際の構造は次の通りです。
- RX は ExpressLRS リンクから RC データを受信する
- そのデータを内部で共通のチャンネルデータとして保持する
- UART 出力時に、
CRSF、SBUS、SUMDなどのどのプロトコルで出すかを選ぶ
Prompts to recreate each piece of the OpenClaw system. Use these with any AI coding assistant.
1. Personal CRM "Build a personal CRM that automatically scans my Gmail and Google Calendar to discover contacts from the past year. Store them in a SQLite database with vector embeddings so I can query in natural language ('who do I know at NVIDIA?' or 'who haven't I talked to in a while?'). Auto-filter noise senders like marketing emails and newsletters. Build profiles for each contact with their company, role, how I know them, and our interaction history. Add relationship health scores that flag stale relationships, follow-up reminders I can create, snooze, or mark done, and duplicate contact detection with merge suggestions. Link relevant documents from Box to contacts so when I look up a person, I also see related docs."
2. Meeting Action Items (Fathom)
| # 新規リポジトリ作成 or clone | |
| unalias new 2>/dev/null | |
| new() { | |
| emulate -L zsh | |
| setopt err_return pipefail | |
| local arg="$1" | |
| [[ -z "$arg" ]] && { echo "usage: new <repo-name|owner/repo|git-url> [--public|--private]"; return 1; } |
| import torch | |
| import torch.nn.functional as F | |
| _orig_sdp = F.scaled_dot_product_attention | |
| def _safe_sdp(*args, **kwargs): | |
| # diffusers 側が query/key/value で渡してくるケースに対応 | |
| if len(args) >= 3: | |
| q, k, v = args[:3] | |
| rest_args = args[3:] |
| from transformers import AutoModel, AutoTokenizer | |
| import torch | |
| import os | |
| model_name = 'deepseek-ai/DeepSeek-OCR' | |
| tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True) | |
| model = AutoModel.from_pretrained(model_name, trust_remote_code=True, use_safetensors=True) |
| #!/usr/bin/env python | |
| import time | |
| from lerobot.teleoperators.so100_leader import SO100Leader, SO100LeaderConfig | |
| print("test start") | |
| # SO100 Leaderアームの設定 | |
| config = SO100LeaderConfig( | |
| port="/dev/tty.usbmodem59700734031", # Macの場合のポート例 |