You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The is_installed motor method should return true whenever it is reversed by constructing it with a negative port value.
Actual Behavior:
It returns false.
Steps to reproduce:
System information:
Platform: V5
PROS Kernel Version: 4.1.1
Additional Information
I think it has to do with the constructor called for the Device parent class taking an unsigned integer for its port whereas the Motor class takes a signed integer. I say this because whenever the motor is reversed by set_reversed it works as expected.
The text was updated successfully, but these errors were encountered:
theguy20phi
changed the title
Negative port reversed motors do not work with is_installed.
🐛[BUG] - Negative port reversed motors do not work with is_installed.
Dec 30, 2024
Expected Behavior:
The is_installed motor method should return true whenever it is reversed by constructing it with a negative port value.
Actual Behavior:
It returns false.
Steps to reproduce:
System information:
Platform: V5
PROS Kernel Version: 4.1.1
Additional Information
I think it has to do with the constructor called for the Device parent class taking an unsigned integer for its port whereas the Motor class takes a signed integer. I say this because whenever the motor is reversed by set_reversed it works as expected.
The text was updated successfully, but these errors were encountered: