Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit c80fb6f
Showing
635 changed files
with
310,078 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<MATLABProject xmlns="http://www.mathworks.com/MATLABProjectFile"/> |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
%% This script contains the parameters used in the project modules' perception, motion planning, and integration. | ||
% This script runs at the time of project initialization. Change this | ||
% parameters accordingly if you are using any different setup. | ||
|
||
% Copyright 2023 The MathWorks, Inc. | ||
|
||
%% Perception parameters | ||
|
||
% YOLOv4 parameters | ||
yoyloScoreTh = 0.8;% YOLO score threshold. if 0, all detection are accepted | ||
gridDownsample = 0.001;% Measured point downsample gridsize | ||
PlanrThickness = 0.02; | ||
normalvector = [0 0 1]; | ||
maxPlaneTilt = 5; % in degrees | ||
|
||
|
||
%% Motion planning parameters | ||
|
||
% home position | ||
homePosition = deg2rad([-15+180 -126 113 -80 -91 76]); | ||
|
||
% Bin and part dimensions | ||
binLength = 0.38; % Along X axis | ||
binWidth = 0.57; % Along Y axis | ||
binHeight = 0.11; | ||
binCenterPosition = [0.48 0 -0.09+0.11/2]; | ||
binRotation = 0; | ||
|
||
% cuboid object dimensions | ||
partheight = 0.0508; | ||
partWidth = 0.0508; | ||
|
||
|
||
% Transformation matrix: From camera to the world reference frame | ||
rotationFromRobotToCam = eul2rotm([pi/2, pi, pi],"ZYZ"); | ||
posDepthCam = [0.54 -0.018 0.63]; | ||
|
||
|
||
% Set max acceleration and velocity limits for motion planning with | ||
% hardware | ||
maxqd = pi/2; %rad / s | ||
maxqdd = deg2rad(100); % rad / s2 | ||
|
||
vellimits = repmat([-maxqd; maxqd],1,6); | ||
accellimits = repmat([-maxqdd; maxqdd],1,6); | ||
|
||
|
||
% Position threshold for IK | ||
poseThr = 1e-3; | ||
|
||
|
||
%% Open introductory script | ||
open("SmartBinPickingWithUR5eStartScript.mlx"); |
Oops, something went wrong.