2
There are 2 main rules in assigning frames following DH convention: source: Robot Modeling and Control, Spong et. al
$x_i \perp z_{i-1}$
$x_i$ intersects $z_{i-1}$
In your attempts,
Your first attempt is incorrect as your $z_2$ axis is not in the direction of actuation of the prismatic joint.
I'm not clear on your second attempt as $x_1$ appears to be ...
1
Kinematics is based on geometry and joint constraints, so no change there at all.
Dynamic motion results from the sum of forces, so the only change to a dynamic analysis is that you don't include gravity, but all other forces would remain.
1
Seems that the book has an error. You are right, they should correct that.
In the drawing it can be seen that those two z-axis are indeed parallel. I recommend that you considered them parallel and try to draw them to see that it fits with the image.
Only top voted, non community-wiki answers of a minimum length are eligible
Related Tags
manipulator × 76robotic-arm × 39
inverse-kinematics × 21
kinematics × 17
forward-kinematics × 11
control × 10
dynamics × 9
jacobian × 9
dh-parameters × 8
matlab × 7
industrial-robot × 4
torque × 3
actuator × 3
theory × 3
ros × 2
computer-vision × 2
mechanism × 2
simulation × 2
algorithm × 2
rotation × 2
product-of-exponentials × 2
mobile-robot × 1
arduino × 1
pid × 1
wheeled-robot × 1