I'm struggling to understand the relation between the angles used to compose a rotation matrix and the angular velocity vector of the body expressed in the body frame.
Assume there is no translation between the body frame and the world frame. If I have a 3D vector specified in the body coordinate system, $v_b$, and I want to express it in the world coordinate system, $v_w$, I use a rotation matrix like this: $$ v_w=R\cdot v_b $$
where $R$ is formed by multiplying simpler rotation matrices, like this: $$ R = R_x(\theta_r).R_y(\theta_p).R_z(\theta_y) $$
where $R_i(\theta)$ is the rotation matrix that rotates a vector around the coordinate $i$, by $\theta$ radians.
Now, I would like to calculate the angular velocity vector (i.e. the vector, $\omega$, specified in the body coordinate system, which is aligned with the axis of rotation and has the magnitude equal to the angular speed which the frame is rotating). At first I thought this should simply be:
$$ \omega = [\dot{\theta}_r, \dot{\theta}_p, \dot{\theta}_y]^T $$
but now I'm really starting to doubt that. Can someone provide some insight into how I can compute this vector?