Robotic Manipulator Kinematics & Trajectory Studio
6-DOF Puma 560 forward/inverse kinematics, App Designer GUI, Yoshikawa manipulability analysis, quintic vs. cubic trajectory benchmarks, and 2-DOF PR workshop labs.
Live Links
Direct links to the repository, GitHub Pages site, and primary application entry point.
| What | Link |
|---|---|
| Repository | https://github.com/ |
| Website (GitHub Pages) | https://rohaan2802.github.io/ |
| App Designer Entry Point | https://github.com/ |
Overview
Original university robotics scripts were audited, debugged, refactored into modular MATLAB functions, and paired with an automated NumPy verification suite.
ManipulatorApp.m
Interactive App Designer studio for 4×4 planar pose, Puma 560 FK/IK, Jacobian singularity probing, joint limits, and semicircle reach animation.
workspace_analyzer.m
Monte Carlo joint-limit sampling computing reachable envelope and Yoshikawa manipulability index w = √det(JJᵀ).
Quintic & Cubic
Solves the 6×6 rest-to-rest boundary system over t ∈ [3, 8] s and benchmarks 5th-order vs. 3rd-order smoothness.
MATLAB & Python Tests
Automated checks for quintic/cubic BCs, DH transforms, workspace gates, manipulability, and IK→FK round-trip accuracy.
Kinematics & DH Parameters
Standard Denavit–Hartenberg table for the 6-DOF Puma 560 manipulator, joint rotation limits, and workspace gate constraints.
| Joint | Theta | Offset d (m) | Link a (m) | Twist alpha (deg) | Joint Limits | Role |
|---|---|---|---|---|---|---|
| 1 | θ₁ | 0.0000 | 0.0000 | +90° | [−160°, +160°] | Waist |
| 2 | θ₂ | 0.0000 | 0.4318 | 0° | [−110°, +110°] | Shoulder |
| 3 | θ₃ | 0.15005 | 0.0203 | −90° | [−135°, +135°] | Elbow |
| 4 | θ₄ | 0.4318 | 0.0000 | +90° | [−266°, +266°] | Wrist Roll |
| 5 | θ₅ | 0.0000 | 0.0000 | −90° | [−100°, +100°] | Wrist Pitch |
| 6 | θ₆ | 0.0000 | 0.0000 | 0° | [−266°, +266°] | Wrist Yaw |
Radial & Azimuth Bounds
Targets must satisfy 0.50 m ≤ r ≤ 1.00 m, −90° ≤ θ ≤ +90°, and z ≥ 0.00 m before IK solving.
Jacobian & Manipulability
Probes |det(J)| < 10⁻⁶, computes Yoshikawa w = √det(JJᵀ) = 0.1063, and solves DLS IK with λ = 0.05 to 2.20e-07 m.
2-Link + Z SE(3)
At [30°, 45°, 10°, 0°], computes X = 1.1248 m, Y = 1.4659 m, Z = 0.1745 m with det(R) = +1.0000.
Trajectory Planning & Bug-Fix Audit
Rest-to-rest transition from q(3) = 0 to q(8) = π/2 rad comparing 3rd-order cubic and 5th-order quintic polynomials.
| Metric | Cubic (3rd-Order) | Quintic (5th-Order) | Advantage |
|---|---|---|---|
| Peak Velocity |v| | 0.4712 rad/s | 0.5890 rad/s | Smooth bell profile |
| Endpoint Acceleration | ±0.3770 rad/s² | 0.0000 rad/s² | Zero actuator shock at t₀, t_f |
| Boundary Residual | — | 9.77e-15 | Machine-precision A fit |
| Original File | Refactored Module | Fix / Engineering Upgrade |
|---|---|---|
ass1.m | quintic_trajectory.m | Fixed bug printing coefficients as q/v/a; replaced inv(A)*b with A and added polyval/polyder checks |
ws#02.m | puma560_ik_demo.m | Fixed multiline *rpy2tr syntax error and added fkine verification |
assignment_app.m | ManipulatorApp.m | Cached RigidBodyTree, native geometricJacobian singularity check, degree limits, fixed warning display |
Modules, Manuals & Coursework Explorer
Expand any group to inspect every source file, test script, workshop manual, and archived coursework file.
SourceMATLAB Source Modules & Tests
- src/
kinematics_app/ ManipulatorApp.m - src/
kinematics_app/ workspace_ analyzer.m - src/
trajectory_planning/ quintic_ trajectory.m - src/
trajectory_planning/ cubic_ vs_ quintic_ benchmark.m - src/
workshops/ nao_ seriallink_ demo.m - src/
workshops/ puma560_ ik_ demo.m - tests/
verify_ python_ sim.py - tests/
verify_ kinematics.m - tests/
run_ demo.m
ManualsWorkshop Manuals, Reports & Assignments
ArchiveArchived Original Coursework
Folder Structure
Clean repository layout with duplicates removed and original coursework preserved under archive/original_coursework/.
Robotic_Manipulator/ ├── src/ │ ├── kinematics_app/ (ManipulatorApp.m, workspace_analyzer.m, R2.jpg, Report.pdf, Pitch Deck) │ ├── trajectory_planning/ (quintic_trajectory.m, cubic_vs_quintic_benchmark.m, SEC.pdf) │ └── workshops/ (nao_seriallink_demo.m, puma560_ik_demo.m, manuals/) ├── tests/ (run_demo.m, verify_kinematics.m, verify_python_sim.py) ├── docs/ (ARCHITECTURE.md, assignments/) ├── archive/original_coursework/(unedited assignment_app.m, ass1.m, Robot_.m, ws#02.m) ├── assets/ (screenshots/ 1440x900, thumbs/ 960x600, css/, js/) ├── index.html ├── README.md └── LICENSE
Setup & Demo
Run in MATLAB with Robotics System Toolbox, or verify all mathematical models immediately using Python + NumPy.
addpath(genpath('src'));
run('tests/run_demo.m'); % Runs quintic/cubic benchmarks + verification suite
app = ManipulatorApp; % Launches interactive App Designer GUI
python tests/verify_python_sim.py
Verification Results
All 7 mathematical verification checks passed after the final refactor.
| Check | Input / Condition | Measured Result | Status |
|---|---|---|---|
| Quintic Boundary Conditions | t₀=3 s → t_f=8 s, q: 0 → π/2 rad | Max BC residual = 9.77e-15 | PASS |
| Cubic vs. Quintic Benchmark | Rest-to-rest t ∈ [3, 8] s | Cubic |v|=0.4712 vs Quintic 0.5890 rad/s (0 end accel) | PASS |
| Puma 560 Forward Kinematics | q = [20°, 30°, -15°, 10°, 0°, 0°] | XYZ = (0.3161, -0.0446, 0.6382) m | PASS |
| Workspace Gate Validation | Accept (0.7,0.2,0.3); Reject (0.2,0.1,0.3) | Radial, azimuth, Z gates enforced | PASS |
| Puma 560 IK → FK Round-Trip | Target = (0.70, 0.20, 0.30) m | Position error = 2.20e-07 m | PASS |
| Manipulability & Workspace | 400 Monte Carlo samples | w(q_ik) = 0.1063, max reach = 0.874 m | PASS |
| NAO_ROB 2-DOF PR Arm | q = [4.0 m, 0.3 rad] | XYZ = (2.8660, 0.0000, 4.8866) m | PASS |
24 Project Figures
Click any capture to inspect the 1440×900 figure. Keyboard shortcuts: ← → Z Esc
No figures match your current search or filter.