Field guide
Robot Singularities: Why Reachable Poses Can Still Slow Motion
Run a two-link Jacobian example to see joint-speed amplification near a singularity. Separate reach, direction and controller limits before changing settings.
The short answer
A reachable position is not a promise that a robot can follow every motion from it at the requested speed. Near a kinematic singularity, a small tool velocity in one direction can require large joint velocities. A controller may slow or stop the command rather than exceed its limits.
In the hypothetical arm below, moving the tip at just 0.05 metres per second requires a peak joint speed of 5.729 radians per second when the elbow is almost straight. At the same configuration, moving in a different direction requires only 0.1 radians per second at each joint. The direction matters as much as the position.
This guide provides an executable calculation and an evidence worksheet for diagnosing that difference. We ran the offline arithmetic and numerical checks, not MoveIt, a robot controller or a physical arm. The example is a deliberately simple two-link model, not a performance claim for a commercial robot.
Reachability and velocity feasibility are different questions
Kevin Lynch and Frank Park’s Modern Robotics explanation of singularities defines the Jacobian as a map from joint velocities to end-effector velocity. A singularity occurs when its rank falls below the maximum rank it can achieve. At that configuration, the robot loses one or more instantaneous motion directions.
That definition is more useful than calling any awkward pose singular. A robot can also encounter a joint-position limit, an obstacle, an unreachable orientation or an actuator constraint without the same Jacobian rank loss.
Keep three questions separate:
- Position or pose: Does a joint configuration place the tool at the requested target, under the specified orientation and other constraints?
- Local motion: At that configuration, which instantaneous tool velocities can the joints produce?
- Executable motion: Can the actual system follow the path within its joint, timing, load and application constraints?
Our example controls only planar tip position, not an independently specified tool orientation. Its two-by-two Jacobian therefore describes two translational velocity components. It is not a six-dimensional industrial-arm model. Modern Robotics explicitly uses planar examples to distinguish task dimension, redundancy and loss of rank.
A two-link arm makes the problem visible
Assume two rigid links, each 0.5 metres long, with revolute shoulder angle q1 and relative elbow angle q2, both measured in radians. The tip coordinates in a fixed planar frame are:
x = L1*cos(q1) + L2*cos(q1 + q2)
y = L1*sin(q1) + L2*sin(q1 + q2)
Differentiating gives our model’s Jacobian:
[ -L1*sin(q1)-L2*sin(q1+q2) -L2*sin(q1+q2) ]
J(q) = [ L1*cos(q1)+L2*cos(q1+q2) L2*cos(q1+q2) ]
[vx, vy] = J(q) * [q1_dot, q2_dot]
det(J) = L1 * L2 * sin(q2)
These equations are our explicit derivation for this toy geometry, using the joint-rate relationship described by Modern Robotics. The determinant vanishes at a straight or fully folded elbow. At the straight configuration with q1=0 and q2=0, the Jacobian’s entire first row is zero. No finite choice of joint rates produces a nonzero instantaneous vx there.
Near that configuration, the inverse exists but the rate required for some directions grows sharply. The following calculation holds q1=0 and asks for vx=0.05 m/s, vy=0 at several elbow angles.
| Elbow angle | Tip distance from shoulder, m | Largest required joint speed, rad/s | Tip x speed after illustrative cap, m/s |
|---|---|---|---|
| 90 degrees | 0.707107 | 0.100000 | 0.050000 |
| 30 degrees | 0.965926 | 0.373205 | 0.050000 |
| 10 degrees | 0.996195 | 1.143005 | 0.043744 |
| 2 degrees | 0.999848 | 5.728996 | 0.008728 |
The final column applies a hypothetical 1 rad/s limit to each joint, uniformly scaling both computed rates when necessary. That preserves the instantaneous tip-velocity direction in this model. It is not a simulation of MoveIt Servo, a robot’s speed rating or a recommended operating limit.
At two degrees the required peak rate is too high for that illustrative cap. Uniform scaling reduces tip speed to approximately 0.008728 m/s. A pose can therefore lie inside the geometric reach boundary while the requested motion is too fast for the assumed joints.
These are local calculations at separate configurations, not a continuous trajectory. They do not establish how far an outward motion can continue before reaching the boundary, or whether the transition between configurations satisfies acceleration or collision constraints.
Run the calculation without a robot
This standard-library Python 3 script reproduces the table. It also checks the Jacobian against finite differences and checks that the inverse solution reconstructs the requested velocity. It does not connect to hardware or publish commands.
from math import sin, cos, radians, hypot, isclose
L1 = L2 = 0.5 # Hypothetical link lengths, metres.
CAP = 1.0 # Illustrative per-joint speed cap, rad/s.
def tip(q1, q2):
return (L1 * cos(q1) + L2 * cos(q1 + q2),
L1 * sin(q1) + L2 * sin(q1 + q2))
def jacobian(q1, q2):
return ((-L1 * sin(q1) - L2 * sin(q1 + q2),
-L2 * sin(q1 + q2)),
(L1 * cos(q1) + L2 * cos(q1 + q2),
L2 * cos(q1 + q2)))
def solve_velocity(q1, q2, vx, vy):
(a, b), (c, d) = jacobian(q1, q2)
det = a * d - b * c
if abs(det) < 1e-12:
raise ValueError("No ordinary inverse at this configuration")
return ((d * vx - b * vy) / det, (-c * vx + a * vy) / det)
print("elbow_deg radius_m peak_rad_s scale achieved_x_m_s")
for deg in [90, 30, 10, 2]:
q1, q2 = 0.0, radians(deg)
vx, vy = 0.05, 0.0
dq = solve_velocity(q1, q2, vx, vy)
peak = max(abs(v) for v in dq)
scale = min(1.0, CAP / peak)
print(f"{deg:9d} {hypot(*tip(q1, q2)):.6f} "
f"{peak:.6f} {scale:.6f} {scale * vx:.6f}")
J = jacobian(q1, q2)
for row, target in zip(J, (vx, vy)):
assert isclose(sum(x * y for x, y in zip(row, dq)),
target, abs_tol=1e-12)
sideways = solve_velocity(0.0, radians(2), 0.0, 0.05)
assert isclose(sideways[0], 0.1, abs_tol=1e-12)
assert isclose(sideways[1], -0.1, abs_tol=1e-12)
print(f"At 2 deg, +y 0.05 m/s needs {sideways} rad/s")
assert jacobian(0.0, 0.0)[0] == (0.0, 0.0)
try:
solve_velocity(0.0, 0.0, 0.05, 0.0)
except ValueError:
print("At 0 deg: +x velocity has no exact joint-rate solution")
else:
raise AssertionError("Singular inverse unexpectedly accepted")
h = 1e-6
for q1, q2 in [(0.3, 0.7), (-0.4, -0.2), (0.0, radians(2))]:
J = jacobian(q1, q2)
for k in [0, 1]:
plus, minus = [q1, q2], [q1, q2]
plus[k] += h
minus[k] -= h
numeric = [(x - y) / (2 * h)
for x, y in zip(tip(*plus), tip(*minus))]
for row in [0, 1]:
assert isclose(numeric[row], J[row][k], abs_tol=1e-8)
print("Jacobian and velocity-reconstruction checks passed")
The small determinant cutoff is an illustrative numerical guard for this fixed-size model. It is not a general singularity threshold. The script intentionally rejects an ordinary inverse at the exactly straight pose; it is not a production inverse-kinematics solver.
The final success line reports mathematical consistency checks only. It does not demonstrate controller stability, physical tracking or safety.
Direction matters, so one distance-to-singularity label is not enough
At q1=0, q2=2 degrees, change the requested velocity to vx=0, vy=0.05 m/s. The calculated joint rates become q1_dot=0.1 rad/s and q2_dot=-0.1 rad/s, comfortably below our invented cap. The pose has not changed, but the commanded direction has.
A condition number summarizes sensitivity of a specified Jacobian; it is not the exact joint-speed requirement for every command. Preserve the commanded direction alongside any singularity metric. Do not infer a universal acceptable threshold from this table or compare metrics from different task representations as if they were the same measurement.
For a real arm, use its actual kinematics, joint ordering, tool frame and task definition. A coordinate mistake can invalidate the interpretation before the numerical method is considered. Our robot coordinate-frame guide covers that separate contract.
What MoveIt Servo documents, and what it does not prove
The pinned MoveIt 2 realtime Servo tutorial documents joint-velocity, end-effector-velocity and pose command inputs. It describes singularity and collision checks that scale velocities, enforcement of joint position and velocity limits, and a status interface for higher-level decisions.
The pinned Servo parameter definitions separately identify:
lower_singularity_threshold, described as the condition-number point at which deceleration starts;hard_stop_singularity_threshold, described as the stopping threshold;leaving_singularity_threshold_multiplier, associated with motion away from the singularity;- collision-proximity settings and joint-limiting settings, which address different constraints.
These are reviewed main-branch source snapshots, not a statement that every installed ROS distribution has identical interfaces or behavior. Check the actual deployed revision, configuration and status messages. This article does not reproduce Servo’s algorithm or claim that our uniform cap predicts its output.
A slowdown alone does not identify the cause. Do not raise a singularity threshold or disable collision checking merely to remove a symptom. First correlate the software status with the joint state, requested direction and effective limits. The planning-scene guide addresses whether collision checking has the intended world model. The trajectory execution guide addresses the separate question of controller tracking and terminal results.
A diagnostic handoff worksheet
Use this proposed worksheet in an isolated, non-actuating model before considering physical trials. It is our evidence framework, not a certification procedure. Mark every unperformed check NOT TESTED.
| Question | Evidence to retain | What the evidence separates |
|---|---|---|
| Which motion was requested? | Tool frame, task constraints, command type, direction and units | A reachable position from a feasible pose and velocity |
| Which configuration was evaluated? | Joint names, positions, timestamps, model and tool revision | Kinematic geometry from a stale or mismatched state |
| What joint rates are required? | Actual-model solution, residual task error and effective rate limits | Near-singular amplification from a feasible slower command |
| Why did software slow or stop? | Timestamped status, configured checks and generated output | Singularity handling from collision or joint-limit handling |
| Was the intended motion achieved? | Measured state and separately defined task outcome | Software output from physical execution |
| What changed in the proposal? | Candidate path, configuration or task revision, plus repeated checks | A reviewed change from a threshold-only workaround |
Keep expected behavior, observed behavior, reviewer and artifact location beside each row. We executed only the toy calculation, not these application checks.
Possible engineering responses include a different arm configuration, fixture placement, approach direction or path. A lower speed can reduce finite joint-rate demand near a singularity. At an exact singularity it cannot restore a missing instantaneous velocity direction. Any proposed change still needs collision, load, joint-limit and task-level review. Check the tooling and payload budget separately; a favorable Jacobian does not establish that the robot can carry the tool or object.
Sources and limits
Reviewed November 24, 2026:
- Modern Robotics, section 5.3, Singularities, the textbook companion by Kevin M. Lynch and Frank C. Park. Source for Jacobian rank loss, instantaneous velocity mapping and planar examples. We do not assign a new publication date to this living educational page.
- MoveIt 2 realtime Servo tutorial, revision
6ea5a7425d58c4b4d36788a8d105bf7715fe77d7. Source for command types, velocity scaling, joint-limit features and status access. - MoveIt Servo parameter definitions, revision
8c99e523bc23149d24a61990c64d53c9c7d2905f. Source for the named configuration controls, not universal safe thresholds.
The two-link equations, calculated values, executable checks and worksheet are Physical AI Guide’s analysis. The model omits independent orientation control, acceleration, torque, compliance, collisions and physical sensing. No robot, MoveIt installation or real trajectory was tested. Use the example to frame an engineering question, not to approve a machine or bypass protective behavior.
Frequently asked questions
Can a robot reach a pose but struggle to move from it?
Yes. Geometric reachability does not establish local velocity feasibility. Near a singularity, a particular tip velocity can require joint speeds above the configured limits. At a singularity, the Jacobian loses rank relative to its maximum attainable rank and some instantaneous velocity directions become unavailable.
Is every slow robot movement caused by a singularity?
No. Collision proximity, joint limits, command scaling, stale state and controller behavior need separate investigation. Correlate the commanded direction, robot configuration, joint rates and software status before changing a threshold.
Can slowing the command solve a singularity?
Reducing speed can make an otherwise feasible near-singular command fit joint-speed limits. It cannot restore a missing instantaneous velocity direction at an exact singularity. A different configuration, path or task specification may be needed and must be evaluated for the actual application.