Ghana
Asked — Edited
Resolved Resolved by Rich!

Technical Specs

Hi Folks, I am currently working on a thesis which i will need to demonstrate to my lecturers. I am currently using the previous version of the EZ kits. I need the technical specification of the kits which i will need to state but i cannot find it here. Can someone help by giving me the technical specs of the previous version of the EZ-robot kits? Thank you


ARC Pro

Upgrade to ARC Pro

ARC Pro is your gateway to a community of like-minded robot enthusiasts and professionals, all united by a passion for advanced robot programming.

#9  

I did that but it couldn't respond.# Distances $very_far = 28 $far = 19 $near = 8 $very_near = 0

Looping label

:loop

Get the distance

$distance = GetPing(D0,D1)

Check the distance

IF($distance <= $very_far) Servo(D2, 28)

ELSEIF($distance <= $far) Servo(D2, 19)

ELSEIF($distance <= $near) Servo(D2, 8)

Code for near

ELSEIF($distance <= $very_near) ServoSpeed (D2, 4)

Code for very near

ELSE Servo(D2, 100)

Code for no detection (if required)

ENDIF

Sleep to reduce load on EZ-B and PC (adjust to suit, lower = more accurate, higher = less demand)

SLEEP(100)

Loop back to the begining

GOTO(loop)

United Kingdom
#10  

Which port is the servo connected to? What position do you need it to move to?

The Servo() command should work, if it doesn't check the servo actually works and is connected correctly to the correct port. Also check your script to make sure it is processing the command. If you post your project I'll gladly check over the script.

#11  

If you are using constant rotation serves you would use the command Move (servoPort, forward/stop/reverse)... so Move (D1, forward) is one example on driving a constant rotation servo on D1 forward..... Otherwise use Rich's example to move a regular servo...