Skip to content

George's Submission (Part Two)#11

Open
GeorgeBerdovskiy wants to merge 3 commits intojishnusen:masterfrom
GeorgeBerdovskiy:second-submission
Open

George's Submission (Part Two)#11
GeorgeBerdovskiy wants to merge 3 commits intojishnusen:masterfrom
GeorgeBerdovskiy:second-submission

Conversation

@GeorgeBerdovskiy
Copy link

No description provided.

} else if (time >= t_accelerating && time <= (t_accelerating + t_constant_velocity)) {
v_current = v_max;
} else if (time > (t_accelerating + t_constant_velocity) && time <= t_total) {
v_current = -(v_max + (v_goal - v_max) * (time - t_accelerating - t_constant_velocity) / t_decelerating);
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe I made a mistake here - velocity should not be negative. Will fix soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant