# Robotics / CV / ROS Repository Guidance This repository may contain robotics, ROS, ROS 2, computer vision, edge AI, embedded, simulation, or deployment code. Treat every project-specific detail as unknown until verified from this repository or from user-provided context. ## Project Context - Read `PROJECT_CONTEXT.md` if present before making assumptions. - Prefer verified repository facts over generic robotics assumptions. - If `ROS_TOPIC_MAP.md`, `TF_FRAME_MAP.md`, or `MODEL_DEPLOYMENT_CONTEXT.md` exists, read the relevant file before analyzing related behavior. - If a context file is missing or incomplete, use `Unknown / needs confirmation` for unverified facts. ## Discovery Rules - Discover package names, node names, launch files, parameters, topics, services, actions, TF frames, model paths, robot names, hardware, and build/test commands from the target repo at usage time. - Do not invent commands, topics, frames, model paths, hardware, calibration files, accelerators, middleware, operating systems, or deployment targets. - Generic examples are allowed only when clearly marked as examples. - Consider both ROS 1 and ROS 2 conventions where relevant. ## Robotics Engineering Checks - Check message contracts, timestamps, coordinate frames, units, calibration, synchronization, QoS or queue settings, lifecycle behavior, launch parameters, and runtime configuration. - Consider safety, watchdogs, failure modes, degraded sensor input, timing, resource limits, and hardware interaction boundaries. - For CV and AI code, check image encodings, camera models, preprocessing, postprocessing, model input/output contracts, conversion precision, accelerator support, and runtime memory pressure. ## Change Discipline - Keep edits scoped to the requested task. - Do not rewrite unrelated launch, configuration, model, or hardware files. - Preserve user changes and repository conventions. - At the end, summarize changed files and verification performed.