Asked — Edited

Servospeed

Hello, When I take a servo and test the speed control by it's self it works just fine however when I put it into a script with other servos it seems to just skip over the speed comands. Can I get a sample of how the command should be used in a script to move multipul servos slowly one at a time.


ARC Pro

Upgrade to ARC Pro

ARC Pro will give you immediate updates and new features needed to unleash your robot's potential!

PRO
Synthiam
#1  

first you set the speed, then you set the servo position. you only need to set the speed once. it will remember that speed until a new speed is set. the speed is per servo.

so for example



# Move the servo to position 10
servo(d2, 10)

# Set the servo speed to slow
servoSpeed(d2, 40)

# Move the servo slowly to position 60
servo(d2, 60)

sleep(5000)

# Set the servo speed to fastest
servoSpeed(d2, 0)

# move hte servo back to position 10 quickly
servo(d2, 10)


#2  

Thanks a bunch. That explains alot. I thought I read somewhere that the speed control was 0 to 50. It seems to be missing from the manual (getting really thick, I really love that). What is the min and max and is the fastest always 0?

PRO
Synthiam
#3  

Yeah, i think that's going to change for firmware 14... I have something i've been working on.

I've also determined the servo accuracy was kind of glitchy in v13. So there's a v14 next week lol:)

#4  

Hello, I can't adjust the speed of servo. I just tested the example code, but the speed is always the same. Have you got a idea ? I use Futaba S3003 servo. Thanks

#5  

is servo speed only availablefor digital servos? or can analog play too?

wofty your avatar is creaping me out man....looking right at me bro.

#6  

Good question. I don't know what creaping means, but I changed my avatar.:P What servos can be used to manage the speed ? Thanks

#7  

lol, good burn.....and im not sure....i just figured digital servos hae that ability....

anyone? anyone?

#8  

Servospeed does not work yet. DJ had it running for a few days but then dicovered some problems and inabled it. He said recently that it may be fixed soon along with 140 positions. Patients my bot makers!!!