RobotGuide
Deliberate practice/Daily Micro Drills

Practice 1 / 4

Daily Micro Drills

32 questions, two a day, 20 minutes

Each question demands one thing: explain it in three sentences without looking at the answer. If you cannot, you have seen it but cannot use it. The numbers in the answers are not for memorizing; they exist to show that knowing the order of magnitude matters in itself.

32 questions in total. Say it yourself before opening any answer.

Math and Geometry 3

Why integrate attitude with quaternions instead of Euler angles?

Euler angles have gimbal lock, and the derivatives of the three angles are not linear in body angular rates; quaternions have no singularity, only the normalization constraint.

What do the diagonal and off-diagonal of a covariance matrix represent?

The diagonal holds each component's variance (uncertainty); the off-diagonal holds correlation — it decides whether getting one direction accurate lets the other follow.

What does a 30° phase margin mean?

The closed-loop step response overshoots noticeably (thirty to forty percentage points) and oscillates two or three times before settling; engineering practice keeps 45°–60°.

Control 6

Why does the integral term remove steady-state error, and what does it cost?

It keeps accumulating as long as error remains, until the error is zero; the cost is phase lag — the stronger the integral, the more likely oscillation.

When is PID not enough and state space required?

When the system is multi-input multi-output with strong coupling between loops (humanoids, quadrupeds, drones); for a single SISO loop, PID is enough.

What does a larger Kalman gain mean?

Trust the measurement more, the prediction less. The noise ratio R/Q decides it: small R → large K → tight tracking but jittery.

Difference between impedance control and force control?

Force control commands force directly; impedance control specifies the displacement-force relationship (how stiff), yielding naturally to obstacles.

In WBC, how do you order hard constraints and soft tasks?

Hard constraints (joint limits, friction cones, torque bounds) cannot be violated; soft tasks are weighted by priority, and lower priorities are sacrificed on conflict.

Why is the trot gait more common than walk?

Diagonal pairs are in phase, fewer support phases, lower energy cost, simpler control; walk is more stable but slow. Quadrupeds mostly trot; walk only for heavy loads.

Perception and Learning 5

Camera calibration error is 5 mm — how much does it magnify at 2 m?

Pose error grows with distance and can reach 2–3 cm at 2 m — grasping fails outright. Calibration is not a one-off; temperature and collisions both make it drift.

The detection box is right but grasping fails — what do you check first?

First the orientation of the 6D pose (symmetric objects have multiple equivalent solutions), then depth-map scale error. The box says where; the pose says how to grasp.

What happens to SLAM without loop closure?

Error accumulates monotonically; after a full loop the map does not line up. One loop closure can pull the whole trajectory back.

Why does imitation learning say data quality matters more than quantity?

The policy learns what a person does in that state; jittery, hesitant, inconsistent demonstrations get learned too.

What is the biggest obstacle to deploying RL?

Not the algorithm — reward design and the sim2real gap: an action learned in simulation can fail on the real robot over a 5 ms delay.

Software and Systems 6

Why is 'average latency 1 ms' worthless?

Robots need worst-case predictability. 50 µs of jitter is far more valuable than 'average 0.1 ms, occasionally 20 ms'.

What happens if you pick Best effort QoS in ROS 2?

Drops are not retransmitted; a busy network loses data. Mismatched with a Reliable publisher, you may receive nothing at all.

Why can't you allocate memory freely in a real-time thread?

Allocation can trigger page faults and page reclaim, with unpredictable (millisecond) latency that directly destroys determinism. Use a memory pool or preallocation.

The same 'latency got worse' — how do you isolate it layer by layer?

Timestamp each of six layers — app → framework → communication → kernel → driver → hardware — and use differences to localize. Do not guess.

Is ROS 2 a real-time framework?

No. It does not guarantee real time by itself; real-time behavior comes from PREEMPT_RT, CPU isolation, memory preallocation, and lock-free communication.

What is hardest to automate in CI for robot projects?

'Whether the robot can move.' So automate what you can first: builds, unit tests, simulation regression.

Electronics and Interfaces 8

Why must I2C have pull-up resistors?

Devices can only pull low (open drain); the high level comes from the pull-ups. Without them, the line stays low forever.

Why does CAN have a 120Ω terminator at each end?

To match the twisted pair's characteristic impedance (60Ω in parallel) and suppress reflections. Terminating only one end causes sporadic error frames that multiply under load.

Why is differential signaling immune to interference?

Both wires pick up the same common-mode noise, which cancels when the receiver subtracts; differential swings are also smaller and switch faster.

Of FOC's three loops, which is fastest?

The current loop (10–20 kHz) is fastest; outward, the velocity and position loops drop bandwidth by 5–10x per layer.

Why does communication start dropping frames the moment the motor starts?

Typically EMC / ground return: common-mode current flows back through the comm line, or the shield is wired wrong. Check ground and shielding first, then termination.

Why do serial buses need encoding (e.g., 8b10b)?

To guarantee DC balance and enough transitions so the receiver can recover the clock and AC coupling keeps working.

Why can't USB do 1 kHz hard real time?

The host schedules exclusively, one frame per 1 ms, and isochronous transfers guarantee bandwidth not timing; jitter is in the milliseconds.

How much clock error between two UART ends starts dropping bytes?

A frame is about 10 bits; cumulative error past ±2%–3% starts causing sporadic framing errors; 16x oversampling tolerates part of it.

Engineering and Validation 4

What problem does HIL testing solve?

It lets you test control logic and fault handling without the full machine, and inject faults (broken wires, timeouts, bad sensor values) safely.

A fault 'stopped appearing for now' — does that count as fixed?

No. It counts only when you can reproduce it reliably, explain the mechanism, and verify it will not recur — all three.

Why do robot projects need bench testing first?

Full-machine testing is expensive and dangerous; the bench answers first whether it will crash, burn, or whether protection comes in time.

How do field and lab differ across five dimensions?

Ground, lighting, network, temperature, human interference. Integration capability means testing each of the five, one by one.