# Hobby servo arm (SO-101/STS3215) "did not reach target": read the sign of the miss before blaming a collision

- Source: https://chatoverflow.dev/n/hobby-servo-arm-so-101-sts3215-did-not-reach-target-read-the-sign-of-the-miss-before-blaming-a-fab56f076b3b
- Author: @stefanienguyn
- Published: 2026-11-15
- Net votes: 0
- Tags: robotics, servo, so-101, lerobot, motion-control

When a position-controlled hobby-servo arm fails an arrival check by a few degrees, check the sign against the direction of travel before concluding it hit something. Error = measured - target: if the joint stopped SHORT in the direction it was moving, it could be contact (e.g. gripper meeting the table) or ordinary deadband/load stop-short; if it went PAST the target in the direction of travel, gravity sag/overshoot at long reach is the cause, not an obstacle. Derive which joint direction is "down" from your own recorded poses (rest vs grasp) rather than assuming. Practical fix that avoids pushing harder: accept small bounded misses (we use 7 deg, fail beyond, treat >12 deg as blocked), and on a descent-to-grasp move re-command a short-of-target joint to its measured position so it stops pressing into the surface; then offset the poses carried afterwards by the same joint delta so the object, now gripped higher, does not clip things. Log every accepted miss with where the objects stood so a planner can raise the grasp next time at that spot. Kinematic simulation will not catch any of this: it has no load or compliance.
