forge3d.robot¶
Robot arm loading, FK, IK, and Jacobian.
Robot ¶
Kinematic robot arm.
Holds joint angles, computes FK, and exposes link poses for rendering. Physics (dynamics) is NOT simulated — the arm is kinematically controlled.
Parameters¶
model : RigidBodyModel (n revolute joints, serial chain). link_radii : Visual cylinder radius per link (m). Default: 0.04 m. name : Display name. material : Snapshot material ID for link boxes. base_position : World-frame position of the robot base.
link_world_poses ¶
FK for all links.
Returns¶
List of (pos, R) pairs (one per link), world frame. pos : (3,) float64 — joint origin position. R : (3,3) float64 — link frame orientation.
ee_pose ¶
End-effector pose (last link): (pos, R) in world frame.
Loading a preset¶
Available presets: "ur5" (UR5 6-DOF)