Commit adfa2158 authored by Alexander Ryndin's avatar Alexander Ryndin
Browse files

adjust model

parent eba89e67
......@@ -31,7 +31,7 @@ component DriveToFirstPosition {
Q sqr_dist = desiredDirectionX * desiredDirectionX + desiredDirectionY * desiredDirectionY;
distance = sqrt( sqr_dist );
if (trimmedTrajectoryLength >= 2)
minVelocity = 1.0;
minVelocity = 2.0;
end
end
}
......
......@@ -71,7 +71,7 @@ component FollowTrajectory {
// DISTANCE
Q dist = sqrt( (p2x-p1x)*(p2x-p1x) + (p2y-p1y)*(p2y-p1y) );
if (trimmedTrajectoryLength >= 3)
minVelocity = 1.0;
minVelocity = 2.0;
Q is_go_on = 1;
Q lastIndex = trimmedTrajectoryLength - 2;
for i = 1:lastIndex
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment