pub fn robot_arm(joints: &[(&str, f64, f64, f64)]) -> RobotArmBuilderExpand description
Quick builder for a serial robot arm from DH parameters.
Each tuple is (theta_name, d, a, alpha).
ยงExamples
// build.rs
symplex_build::robot_arm(&[
("theta1", 0.0, 0.3, 0.0),
("theta2", 0.0, 0.25, 0.0),
])
.generate_all()
.write_to_out_dir("arm.rs")
.unwrap();