% RUN_DEMO End-to-end console demonstration of the Robotic Manipulator modules.
addpath(genpath(fullfile(fileparts(mfilename('fullpath')), '..', 'src')));

fprintf('--- 1. Quintic Trajectory Planning (t0=3s, tf=8s, q=0->pi/2) ---\n');
quintic_trajectory();

fprintf('\n--- 2. Cubic vs Quintic Trajectory Benchmark ---\n');
cubic_vs_quintic_benchmark();

if exist('loadrobot', 'file') == 2
    fprintf('\n--- 3. Puma 560 Monte Carlo Workspace & Manipulability ---\n');
    workspace_analyzer(1000, false);
end

fprintf('\n--- 4. Running Automated Verification Suite ---\n');
verify_kinematics();
