Course overview
Lesson 6 of 9 · 3 promptsAI for Robotics Engineers
LESSON 06 OF 9

Troubleshoot Robot Behavior

3 prompts for Robotics Engineers

Prompts for Robotics Engineers: copy one, fill it in, paste it into your AI.

Track progress as a member

In this lesson

  1. 01Rank Likely Causes in Robot LogsUse this when you have a ROS log or stack trace from a misbehaving robot and need likely causes ranked and testable.
  2. 02Diagnose Robot Wiring From PhotoUse this when you have a photo of a robot harness or control board and need likely connection faults flagged before you power it up.
  3. 03Explain Unexpected Robot MotionUse this when you observe a robot moving in an unexpected way and need a structured list of possible causes to investigate.
1Copy the promptClick Copy on the prompt you need.
2Paste it into your AIChatGPT, Claude, Gemini or Copilot.
3Fill in the {{brackets}}Your own details, or let the AI ask you.
4Follow up and checkUse the follow-ups, then check the facts.
01

Rank Likely Causes in Robot Logs

Use this when you have a ROS log or stack trace from a misbehaving robot and need likely causes ranked and testable.

Prompt

Role You are a robotics support engineer who triages control-system logs, optimising for a short ranked list of causes the user can test today.

Context you provide

  • {{log_excerpt}} : pasted ROS or stack trace
  • {{symptom}} : what went wrong, one line
  • {{first_seen}} : start time and repeatability
  • {{recent_changes}} : code, config, firmware, hardware
  • {{stack_summary}} : controllers, sensors, drivers, middleware versions
  • {{environment}} : simulation, bench or production cell
  • {{constraints}} : uptime, safety or change windows

Instructions

  1. Ask for any missing inputs, then restate the symptom and time window in one line.
  2. Find the last healthy message, the first error, and warnings in between.
  3. Group messages sharing a node or timestamp into one failure sequence.
  4. Rank likely causes, most probable first, citing the supporting lines.
  5. Give one discriminating test per cause, the check that separates it from the rest.
  6. List what the log cannot answer and the input needed to close each gap.
  7. Do not propose code or parameter edits until a cause is confirmed.

Output format Ranked table (rank, cause, confidence high/medium/low, supporting lines, next test), then a short timeline, then open questions. Under 600 words, terse engineering tone, no preamble, no generic troubleshooting advice, no restating the log.

Guardrails

  • Quote only what appears in the log. Do not invent error codes, node names, driver or firmware versions.
  • Flag assumptions, and say when the vendor manual, a licensed engineer or a safety review must be consulted before changing hardware or safety parameters.
  • Never suggest disabling safety interlocks, watchdogs or limit checks.

Example {{log_excerpt}}: controller_manager failed to switch controller; {{symptom}}: arm stalls mid-trajectory; {{environment}}: production cell; {{recent_changes}}: joint driver update last week.

Open as its own page

02

Diagnose Robot Wiring From Photo

Use this when you have a photo of a robot harness or control board and need likely connection faults flagged before you power it up.

Prompt

Role: You are a robotics wiring and integration troubleshooter. You optimise for flagging likely connection faults from a single photo while being explicit about what the image cannot show.

Context you provide

  • {{photo_of_harness_or_board}}: clear, well-lit image, whole board plus any close-ups
  • {{robot_model_or_controller}}: make and model of robot or controller
  • {{symptom_observed}}: what the robot does or fails to do
  • {{harness_or_board_id}}: label, part number, or slot name if known
  • {{known_wiring_diagram_or_pinout}}: paste or attach if available, otherwise say none
  • {{power_state_during_photo}}: powered off, isolated, or live
  • {{recent_changes}}: rewiring, replacement, or repair since last known good

Instructions

  1. Ask for any missing inputs, then wait.
  2. Describe what is visible: connector seating, strain relief, pin alignment, wire routing, chafing, corrosion, loose strands, unconnected grounds.
  3. Rank suspected faults by likelihood and by safety risk.
  4. For each, give a specific check the engineer can run with a multimeter or continuity test.
  5. Note where the photo is too blurry, occluded, or angled to judge.
  6. State which checks require the manufacturer manual or a qualified person.

Output format: Short sections: Image limits, Ranked suspected faults (table: fault, evidence in photo, check), Checks to run, Escalate. Under 500 words. Plain technical tone. No filler.

Guardrails

  • Do not invent pin numbers, wire colours, connector names, or voltage values. Say "unknown from image" instead.
  • Flag every assumption and mark anything that needs the manufacturer wiring diagram or a licensed electrician.
  • Never tell the user to probe a live circuit; state isolation requirements first.

Example: {{robot_model_or_controller}}: 6-axis arm controller; {{symptom_observed}}: intermittent e-stop fault after harness replacement; {{power_state_during_photo}}: isolated and locked out.

Open as its own page

03

Explain Unexpected Robot Motion

Use this when you observe a robot moving in an unexpected way and need a structured list of possible causes to investigate.

Prompt

Role You are a robotics troubleshooting assistant. Your goal is to help the engineer generate plausible causes for unexpected robot motion, ranked by likelihood, based on the described symptoms and system context.

Context you provide

  • {{robot_type}} - e.g., 6-axis arm, mobile robot, cobot
  • {{observed_behavior}} - what the robot did that was unexpected
  • {{expected_behavior}} - what it should have done
  • {{when_it_happens}} - e.g., during startup, after certain command, intermittently
  • {{recent_changes}} - any software, hardware, or environment changes
  • {{control_system}} - controller, firmware, programming language
  • {{sensors_used}} - e.g., encoders, IMU, vision, force torque
  • {{error_logs}} - any error messages or codes
  • {{environment}} - physical setting, payload, speed

Instructions

  1. Ask for any missing inputs, then review the provided details.
  2. Identify possible causes across categories: mechanical, electrical, software, sensor, environmental, human error.
  3. For each cause, explain the mechanism briefly and suggest a quick check or test.
  4. Rank causes by likelihood given the symptoms and context.
  5. Note any assumptions you make due to missing information.
  6. Recommend next diagnostic steps.

Output format A ranked list of possible causes. For each: cause, category, brief explanation, and a specific check. Use plain language, no jargon without explanation. Limit to 5-7 causes. Include a short summary of top priorities. Tone: practical, calm, engineer-to-engineer.

Guardrails

  • Do not invent specific error codes, part numbers, or manufacturer procedures. If a manual or licensed professional is needed, say so.
  • Flag any assumption clearly.
  • If the behavior suggests a safety risk, advise stopping operation and consulting a qualified robotics safety engineer.

Example {{robot_type}}: 6-axis industrial arm; {{observed_behavior}}: drifts 5 cm past target on X axis; {{expected_behavior}}: stop at target; {{when_it_happens}}: after 30 minutes of continuous operation; {{recent_changes}}: updated motion planning library; {{control_system}}: ROS 2 with custom controller; {{sensors_used}}: joint encoders, no external vision; {{error_logs}}: none; {{environment}}: factory floor, 5 kg payload.

Open as its own page

Skills for these tasks

Give your AI these skills and it does these tasks the expert way. Connect your AI once and it picks them up by itself.