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

Update comparison from '!=' to 'is not' within MotorDriverROS2 block #279

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

BkPankaj
Copy link
Collaborator

Changes Made

Changed comparison from '!=' to 'is not' for velocities in MotorDriverROS2 block. Additionally, confirmed that the issue with '!=' only occurs in MotorDriverROS2 block, not in other blocks.

Related Issues

Fixes: #278

Screenshots

Updated internal MotorDriverROS2 block in Canvas to use 'is not' comparison screenshot

Screenshot of build output (with modified array print for visualization purposes)

@toshan-luktuke
Copy link
Collaborator

I was not able to reproduce this, but its better to use is not for None checks anyways so merging

@toshan-luktuke toshan-luktuke merged commit b4b9733 into JdeRobot:master Feb 22, 2024
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.

Issue with '!=' when compared with None
2 participants