Hey guys! It's Abby from 8931B. So my team is trying to code IME on our base for the first time and we're having problems. We one on each side of the base. One side of the base is reading positive and the other side is reading negative. The motor with the negative value is connected to a Y cable so we can't reverse the motor in the the motor sensor setup. Can anybody help?
top of page
To test this feature, visit your live site.
3 Comments
bottom of page
You are more than welcome. Did that work?
Thanks Aiden!
This is an unavoidable scenario, where you can't reverse the motor, so to make the Integrated Motor Encoder (IME) read a positive value, you will need to place an absolute value bracket in your conditional statement that looks for that specific IME value. This will make the value positive even if the IME reads a negative value. The conditional statement will look something like this: