I have been searching trough the web to find my answer, but you can guess I didn't find anything due to the fact I'm posting this right now.
It's all about setting the Maximum and Minimum positions for an Advanced Servo Controller to a specific motor. For instance :
CPhidgetAdvancedServo_setPositionMax() and CPhidgetAdvancedServo_setPositionMin().
For testing purpose, I set the max position to 50, then I genuinely tell it to go to a higher position (180), and it goes to 180 no problem
That's weird, I thought 180 was higher than 50. (
)EDIT : When I use CPhidgetAdvancedServo_getPositionMax(), it returns 50, which is good.
What's the purpose of setting the Min/Max if it ignores it? Well, it seems to ignore it since it goes to 180 without any warning, error or exception. Weird!
Do I have to deal with the Min/Max validation myself?
Many thanks, you geek!
Language used : C++