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

reduced velocity, increased sim. time

parent 71a839f8
......@@ -25,7 +25,7 @@ component DriveToFirstPosition {
maxVelocity = 0.0;
distance = 0.0;
if (isDriveToFirstPosition) && (trimmedTrajectoryLength >= 1)
maxVelocity = 13.0;
maxVelocity = 5.0;
desiredDirectionX = trimmedTrajectoryX(1,1) - currentPositionX;
desiredDirectionY = trimmedTrajectoryY(1,1) - currentPositionY;
Q sqr_dist = desiredDirectionX * desiredDirectionX + desiredDirectionY * desiredDirectionY;
......
......@@ -30,7 +30,7 @@ component FollowTrajectory {
if (isDriveToFirstPosition)
Q doNothing;
elseif (trimmedTrajectoryLength >= 2)
maxVelocity = 13.0;
maxVelocity = 5.0;
// SIGNED DISTANCE
Q p1x = trimmedTrajectoryX(1,1);
Q p1y = trimmedTrajectoryY(1,1);
......
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