Skip to content

Commit

Permalink
Обновить motions.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
THEb0nny committed Dec 2, 2024
1 parent 7ba82d7 commit 256ae70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion motions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace motions {
if (actionAfterMotion == AfterMotion.Rolling) { // Прокатка после определния перекрёстка
chassis.LinearDistMove(motions.distRollingAfterIntersection, speed, Braking.Hold);
} else if (actionAfterMotion == AfterMotion.DecelRolling) { // Прокатка с мягким торможением после определния перекрёстка
chassis.RampLinearDistMove(5, speed, motions.distRollingAfterIntersection, 0, motions.distRollingAfterIntersection);
chassis.RampLinearDistMove(10, speed, motions.distRollingAfterIntersection, 0, motions.distRollingAfterIntersection);
} else if (actionAfterMotion == AfterMotion.RollingNoStop) { // Команда прокатка на расстояние, но без торможения, нужна для съезда с перекрёстка
motions.RollingMoveOut(motions.distRollingAfterIntersectionMoveOut, speed);
} else if (actionAfterMotion == AfterMotion.BreakStop) { // Тормоз с жёстким торможением (удержанием)
Expand Down

0 comments on commit 256ae70

Please sign in to comment.