Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ConveyorBeltComponent: fix for negative value of speed #501

Conversation

pawelbudziszewski
Copy link
Member

If the speed of the ConveyorBeltComponent was set to a negative value, belt segments were massively spawned in an infinite loop, causing a crash eventually. The belt was not moving correctly.
Setting a negative speed is the simplest way of changing movement direction.

Moved from RobotecAI#35

Co-authored-by: Michał Pełka <michal.pelka@robotec.ai>
Signed-off-by: Paweł Budziszewski <pawel.budziszewski@robotec.ai>
@adamdbrw adamdbrw merged commit c3439ac into o3de:development Sep 7, 2023
2 checks passed
@michalpelka michalpelka deleted the pb/automationgem_conveyorbeltcomponent_fix branch September 8, 2023 08:19
michalpelka added a commit to RobotecAI/o3de-extras that referenced this pull request Sep 25, 2023
Signed-off-by: Paweł Budziszewski <pawel.budziszewski@robotec.ai>
Co-authored-by: Michał Pełka <michal.pelka@robotec.ai>
michalpelka added a commit to RobotecAI/o3de-extras that referenced this pull request Sep 25, 2023
Signed-off-by: Paweł Budziszewski <pawel.budziszewski@robotec.ai>
Co-authored-by: Michał Pełka <michal.pelka@robotec.ai>
Signed-off-by: Michał Pełka <michal.pelka@robotec.ai>
michalpelka added a commit to RobotecAI/o3de-extras that referenced this pull request Oct 2, 2023
Signed-off-by: Paweł Budziszewski <pawel.budziszewski@robotec.ai>
Co-authored-by: Michał Pełka <michal.pelka@robotec.ai>
Signed-off-by: Michał Pełka <michal.pelka@robotec.ai>
michalpelka added a commit that referenced this pull request Oct 3, 2023
Signed-off-by: Paweł Budziszewski <pawel.budziszewski@robotec.ai>
Co-authored-by: Michał Pełka <michal.pelka@robotec.ai>
Signed-off-by: Michał Pełka <michal.pelka@robotec.ai>
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.

ConveyorBeltComponent is not working if speed is set to negative value
3 participants