ARC Pro

Upgrade to ARC Pro

Experience early access to the latest features and updates. You'll have everything that is needed to unleash your robot's potential.

PRO
Synthiam
#1   — Edited

revert verb return to (a previous state, practice, topic, etc.). "he reverted to his native language" synonyms:return, go back, come back, change back, retrogress, regress, default;

  1. That word doesn't make sense in the context of this question. Can you try again?

  2. You didn't select any controls related to the question when asking. Please edit your question and add the controls so people understand what you're asking. There are dozens of movement panels. Select the Movement Panel you're asking about.

#4  

When I use the vertical or horizontal servo slider when selecting the port there is an option to invert direction this button makes the servo switch directions.

i need this button in the script for my humanoid robot. I have two servos at a joint and one is flipped so if the direction of said servo isn’t inverted then they work against each other.

thanks

PRO
Synthiam
#5  

Read how to use a servo by clicking on the word servo everywhere that it's highlighted in this page. You can read how to use a servo by clicking on the word servo.

#6  

I’ve read this article already but I still can’t figure out how to invert the direction in the script. Do you know how?

PRO
Synthiam
#7  

What do you mean invert in a script? With a script you specify the position in degrees. So just go backward from 180

#8  

@DJ Sures Excuse me for not being clear When I use the "Vertical Servo" or "Horizontal  Servo" controls, under the port settings there is a button that lets you invert the direction of your servo.

I have two servos one is facing right and the other left. I want these servos to move simultaneously, each moving to the same position at the same exact time.

In order to do that one of the servos needs to be inverted so that they move in the same direction.

I want to use either an auto  position gait to control the servos or.... just write a script that controls the servos.

However, there is not an "Invert direction" button in the Auto Position gait nor can I find an invert function in the script cheat sheet.

Is there a way to control the two servos, one inverted and one not, using either the Auto Position gait or by writing a script.

Thanks

PRO
Synthiam
#9   — Edited

There is no invert for Auto Position - you use the degrees. So if one servo is 30, the invert of that would be 150. It requires you to do a little math:). I recommend using the fantastic The Robot Program episodes in the learn section of EZ-Robot's website for their product. It is also staring yours truly! Here's an episode that demonstrates how to do the math.

PRO
Synthiam
#11  

Check out my edit to the previous post - the tutorial is super useful and fun because we teach the robot do DAB!:D

#12  

I tried it all for some reason it doesn't work. Any other suggestions? Thanks so much for all the help

PRO
Synthiam
#13  

What do you mean it doesn’t work? Select the servo position that’s the direction and angle you desire. Inverted just means the max position - the desired position. I recommend watching the tutorial from above in detail and understanding the math. It’s simple subtraction (180-30 or 180-inverted position)

150 degrees is the opposite of 30 degrees.

130 degrees is the opposite of 50 degrees

177 degrees is the opposite of 3 degrees

and so on...

#14  

@Dj sures

When ever I go to power the servos the whole EZ-B will just shut off. That’s what I mean, it’s not working. It’s not a problem of amps because I have the servos wired up directly to my power supply.

I thought it was was shutting down because the servos were working against each other. so do you think it’s a problem with the servos not moving together or could it be something else?

thanks

PRO
Synthiam
#15  

It is indeed power. Your power supply does not have enough amperage. Please follow the tutorials or use a proper power supply.