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

Code interrupting

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

Code interrupting

Post by NVR2FST » Thu Jan 24, 2008 5:51 pm

Post by NVR2FST
Thu Jan 24, 2008 5:51 pm

Is there any way to make a code that allows a running code to be interrupted. I have the Robonova working with my RC transmitter. But I am finding no real gain by controlling him this way as compared to the remote. Now that I have removed the battery test code I can just hit the button again and again for a somewhat constant movement. Lets say I have a constant walk....is there a way to interrupt this and go to another move. What in the existing code readys the controller to run another? Can someone explain this to me? Thanks
Is there any way to make a code that allows a running code to be interrupted. I have the Robonova working with my RC transmitter. But I am finding no real gain by controlling him this way as compared to the remote. Now that I have removed the battery test code I can just hit the button again and again for a somewhat constant movement. Lets say I have a constant walk....is there a way to interrupt this and go to another move. What in the existing code readys the controller to run another? Can someone explain this to me? Thanks
I think I know everything.............at least thats what everybody tells me.
NVR2FST
Savvy Roboteer
Savvy Roboteer
Posts: 54
Joined: Sun Jan 06, 2008 10:28 pm
Location: Maryland, USA

Post by Tim » Thu Jan 24, 2008 8:25 pm

Post by Tim
Thu Jan 24, 2008 8:25 pm

without I-bot's firmware mod then you don't get interrupts on the uc. However, the forward and backward walk are broken into about ten sections.
Maybe there is some mileage in taking a decision between some of these sections, e g halfway through a walk you can stop , turn right/left or change the speed. I think you'd need to craft some transition moves. Worst case, the
there would be some delay between sub sections of the move and that might be enough to knock rn-1 over but worth a shot???

Tim
without I-bot's firmware mod then you don't get interrupts on the uc. However, the forward and backward walk are broken into about ten sections.
Maybe there is some mileage in taking a decision between some of these sections, e g halfway through a walk you can stop , turn right/left or change the speed. I think you'd need to craft some transition moves. Worst case, the
there would be some delay between sub sections of the move and that might be enough to knock rn-1 over but worth a shot???

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

Post by NVR2FST » Thu Jan 24, 2008 9:50 pm

Post by NVR2FST
Thu Jan 24, 2008 9:50 pm

The idea is to get closer to realtime. I dont want a full program of all the transitions. I would like to "cut in" and do another move at any given time. What is I-bots firmware mod?
The idea is to get closer to realtime. I dont want a full program of all the transitions. I would like to "cut in" and do another move at any given time. What is I-bots firmware mod?
I think I know everything.............at least thats what everybody tells me.
NVR2FST
Savvy Roboteer
Savvy Roboteer
Posts: 54
Joined: Sun Jan 06, 2008 10:28 pm
Location: Maryland, USA

Post by Tim » Sun Jan 27, 2008 7:20 pm

Post by Tim
Sun Jan 27, 2008 7:20 pm

See the thread called "Changing the code in the Mr 3024" for some more info on the firmware mods that have been made so far . . .
See the thread called "Changing the code in the Mr 3024" for some more info on the firmware mods that have been made so far . . .
Tim
Robot Builder
Robot Builder
Posts: 22
Joined: Sun Jan 06, 2008 8:03 am
Location: Glasgow


4 postsPage 1 of 1
4 postsPage 1 of 1