How do I set the board id for servo commands in a script if there is more than one EZ-B in a robot?
In the manual for the following commands, I don't see a way to specify board 0 or board 1. I have searched the website expecting to see something about how to do this but haven't found anything on it yet. I also searched the FAQ and tutorials but haven't found how to specify board 1's ports for these commands.
SetServoMax (servoPort, position)
SetServoMin (servoPort, position)
Servo (servoPort, position)
ServoSpeed (servoPort, speed)
I am baffled at the moment that the board ID doesn't exist in these commands, but maybe I am just missing something. If someone would be so kind as to provide help on this, I would appreciate it, and will write up a tutorial on how to do this.
Upgrade to ARC Pro
Harnessing the power of ARC Pro, your robot can be more than just a simple automated machine.
servo(1.D0,90) # move servo on ezb4 board 1
servo(2.D0,90) # move servo on ezb4 board 2
This is from the manual.
I went through the tutorials and didnt see anything about this.
I then searched the community forum using "Multiple EZBs set servo position" I think and didnt find anything.
I then went to the learn section and didnt find anything.
I then went to the online manual thinking that maybe the online manual is more current. Couldnt find anything.
I then started the Request assistance thinking that I cant believe that it has come down to requesting assistance on something that I knew existed, but couldnt remember how to do it. I then went back through all of the different options again before posting the Request Assistance request.
I then searched for InMoov Init Script and found a post that Richard had posted. I hadn't thought of searching for InMoov Init Script to find the answer to Multiple EZB's set servo position but it worked. I updated the request and set it to resolved by AI.
I always look for answers prior to posting questions. I think I went pretty far in trying to find the answer, but I guess not far enough.
I don't think the answer is in the manual. It may need to be updated.
Found it. It is in there, just didnt keep going after I found the servo command. I guess I should have clicked next a few more times.