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

Make RN serial port data management faster

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

Make RN serial port data management faster

Post by RDanielOlivav » Wed Feb 06, 2008 5:54 pm

Post by RDanielOlivav
Wed Feb 06, 2008 5:54 pm

HI,

I'm trying to get my RN to walk dynamicly. I've already managed to make him walk by sending commands through the serial port. The thing is that between command and command, it takes too long to send all the data! So I tried to send an order, execute the movement, and while the movement is executing send the next order. The problem is that I have no way of knowing when the first movement has finished so that I can execute the next one, because I cant use the order wait, for reasons that are irrelevant now.

Does anyone has any idea of how it could be solved,

Thanks
HI,

I'm trying to get my RN to walk dynamicly. I've already managed to make him walk by sending commands through the serial port. The thing is that between command and command, it takes too long to send all the data! So I tried to send an order, execute the movement, and while the movement is executing send the next order. The problem is that I have no way of knowing when the first movement has finished so that I can execute the next one, because I cant use the order wait, for reasons that are irrelevant now.

Does anyone has any idea of how it could be solved,

Thanks
RDanielOlivav
Newbie
Newbie
Posts: 6
Joined: Thu Jun 28, 2007 2:42 pm

Post by Tim » Wed Feb 06, 2008 6:55 pm

Post by Tim
Wed Feb 06, 2008 6:55 pm

Heyup

Having similar thoughts myself (but haven't gone beyond Robobasic for the RN-1 myself) - you might find that you want to replace the firmware - see the thread called "Changing the code in the Mr-3024" or just look up I-bot's posts...

Cheers
Tim
Heyup

Having similar thoughts myself (but haven't gone beyond Robobasic for the RN-1 myself) - you might find that you want to replace the firmware - see the thread called "Changing the code in the Mr-3024" or just look up I-bot's posts...

Cheers
Tim
Tim
Robot Builder
Robot Builder
Posts: 22
Joined: Sun Jan 06, 2008 8:03 am
Location: Glasgow

Post by i-Bot » Thu Feb 07, 2008 2:43 pm

Post by i-Bot
Thu Feb 07, 2008 2:43 pm

This is similar to your request here:
http://www.lynxmotion.net/viewtopic.php?p=35971#35971

I will draw up a map of the variables for you.

There are 3 bytes, with bits representing the 24 servos. These bits are set when the motion for each servo is complete according to the motion engine.

It is these bytes which are checked by the WAIT instruction. There is also an implied WAIT before a MOVE instruction. They can be read with 3 PEEKs.
This is similar to your request here:
http://www.lynxmotion.net/viewtopic.php?p=35971#35971

I will draw up a map of the variables for you.

There are 3 bytes, with bits representing the 24 servos. These bits are set when the motion for each servo is complete according to the motion engine.

It is these bytes which are checked by the WAIT instruction. There is also an implied WAIT before a MOVE instruction. They can be read with 3 PEEKs.
i-Bot
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1142
Joined: Wed May 17, 2006 1:00 am

Post by RDanielOlivav » Fri Feb 08, 2008 8:53 am

Post by RDanielOlivav
Fri Feb 08, 2008 8:53 am

That would be great! Thanks.
That would be great! Thanks.
RDanielOlivav
Newbie
Newbie
Posts: 6
Joined: Thu Jun 28, 2007 2:42 pm


4 postsPage 1 of 1
4 postsPage 1 of 1