Legacy Forum: Preserving Nearly 20 Years of Community History - A Time Capsule of Discussions, Memories, and Shared Experiences.

WAIT command

Hitec robotics including ROBONOVA humanoid, HSR-8498HB servos, MR C-3024 Controllers and RoboBasic
5 postsPage 1 of 1
5 postsPage 1 of 1

WAIT command

Post by JavaRN » Wed Aug 13, 2008 11:11 am

Post by JavaRN
Wed Aug 13, 2008 11:11 am

In Robobasic does the WAIT command works well with analogue servos? I am using it with pan and tilt mechanism using analogue servos HS-422 and it seems that it has no effect, if I remember well the WAIT command should wait for the servos to stop before continuing.

Thanks
Charles
In Robobasic does the WAIT command works well with analogue servos? I am using it with pan and tilt mechanism using analogue servos HS-422 and it seems that it has no effect, if I remember well the WAIT command should wait for the servos to stop before continuing.

Thanks
Charles
F'dan il-passatemp ghandek bzonn zewg affarijiet - FLUS u HIN. Zewg affarijiet li huma skarsi hafna u li jien minnhom ghandi vera ftit!
JavaRN
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 282
Joined: Fri Mar 02, 2007 11:01 pm

Post by i-Bot » Wed Aug 13, 2008 2:58 pm

Post by i-Bot
Wed Aug 13, 2008 2:58 pm

The WAIT should work with an analog servo. WAIT only works with MOVE and not with the SERVO command. The analog servo may be a bit slower.
The WAIT should work with an analog servo. WAIT only works with MOVE and not with the SERVO command. The analog servo may be a bit slower.
i-Bot
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1142
Joined: Wed May 17, 2006 1:00 am

Post by robots42 » Wed Aug 13, 2008 3:01 pm

Post by robots42
Wed Aug 13, 2008 3:01 pm

Wait doesn't work with the SERVO command only with the group moves.
if an analog servo is on a group I/O pin then it should work just the same.
WAIT won't wait for the servo to stop, only for the pulses sent to the servo to reach the move end point.
David
Wait doesn't work with the SERVO command only with the group moves.
if an analog servo is on a group I/O pin then it should work just the same.
WAIT won't wait for the servo to stop, only for the pulses sent to the servo to reach the move end point.
David
robots42
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 38
Joined: Sat Jul 05, 2008 1:21 pm
Location: Oldham, Lancs, England

Post by JavaRN » Wed Aug 13, 2008 4:17 pm

Post by JavaRN
Wed Aug 13, 2008 4:17 pm

Thanks for your help, can I work it around with a DELAY command? because I am using WAIT following a SERVO command, ot is there something else I'm missing. A ll I need is the pan/tilt mechanism to reach certain point and then carry on with the statements.

Thanks again
Charles
Thanks for your help, can I work it around with a DELAY command? because I am using WAIT following a SERVO command, ot is there something else I'm missing. A ll I need is the pan/tilt mechanism to reach certain point and then carry on with the statements.

Thanks again
Charles
F'dan il-passatemp ghandek bzonn zewg affarijiet - FLUS u HIN. Zewg affarijiet li huma skarsi hafna u li jien minnhom ghandi vera ftit!
JavaRN
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 282
Joined: Fri Mar 02, 2007 11:01 pm

Post by robots42 » Sun Aug 17, 2008 3:41 am

Post by robots42
Sun Aug 17, 2008 3:41 am

Yes, make the DELAY long enough so the servo always has time to finish its move.
David
Yes, make the DELAY long enough so the servo always has time to finish its move.
David
robots42
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 38
Joined: Sat Jul 05, 2008 1:21 pm
Location: Oldham, Lancs, England


5 postsPage 1 of 1
5 postsPage 1 of 1