Suppose $A, B, X$ are all $4\times4$ transform matrices, like
$$\begin{bmatrix} R & T\\ 0 & 1 \end{bmatrix}$$
where $R$ is a rotation matrix, i.e., orthogonal and $\det(\cdot)=1$, $T$ is a 3D translation vector.
Can the equation $AX-XB=0$ be solved for $X$ and is the solution unique?
Furthermore, I find that my problem is very similar to the Hand/Eye Calibration in machine vision. So, I think I've found the solution. Thanks, guys. Hand_eye_calibration_problem