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

king spider does not what it is supposed to do

Bioloid robot kit from Korean company Robotis; CM5 controller block, AX12 servos..
13 postsPage 1 of 1
13 postsPage 1 of 1

king spider does not what it is supposed to do

Post by ID_Stephan » Sun Mar 30, 2008 9:17 pm

Post by ID_Stephan
Sun Mar 30, 2008 9:17 pm

Hy to the community,

since this is my first post, I want to introduce myself shortly.

Identification: Stephan
Occupation: student of industrial design ,right before graduation
Age: 27

Last year I took part in an internship for a japanese company. Which was my entry in robotics. Well, the internship was not, but my time in Japan.
First I got infected by all the mecha and anime stuff they have, and now my graduation project has become a robot design aswell.

I got myself the bioloid comp kit.
I have no clue about programming and C.

For my project I needed a hexapod frame to style some housing for.
So I thought the advcanced spider of the bioloid kt would be perfect.

I hoped just to build the kit. ...feed the cmd5 with the example data and thats it.

Assembly check of my spider is positive and I uploaded the example behavior file aswell as the motion file to the cmd.

When I clap hands it "awakens" as shown in the expample vid, then it goes on walking, and after some time changes direction. ...strangly it feels like the direction change move is not initiated by any sensor feedback, since it changes direction even if nothing is in the way...sometimes it walks against an obstacle and doesnt change direction.

First I thought my sensor dynamixel was damaged, so I tried building a minor complex robot like the flower and tested all the sensor funtions with it.
ALL POSITIVE!

I have no clue what might be the problem.

Really hope somebody here can help me out, or give me a hint.

Maybe somebody can send me "spider files" which are sure to work.


BTW. I builded the humanoid, too. ...everything was working, except the walk-mode.

Are those example files somehow "unready" ?


really hope my english is understandable, I*m a little bit out of practice.
greetz, Stephan
Hy to the community,

since this is my first post, I want to introduce myself shortly.

Identification: Stephan
Occupation: student of industrial design ,right before graduation
Age: 27

Last year I took part in an internship for a japanese company. Which was my entry in robotics. Well, the internship was not, but my time in Japan.
First I got infected by all the mecha and anime stuff they have, and now my graduation project has become a robot design aswell.

I got myself the bioloid comp kit.
I have no clue about programming and C.

For my project I needed a hexapod frame to style some housing for.
So I thought the advcanced spider of the bioloid kt would be perfect.

I hoped just to build the kit. ...feed the cmd5 with the example data and thats it.

Assembly check of my spider is positive and I uploaded the example behavior file aswell as the motion file to the cmd.

When I clap hands it "awakens" as shown in the expample vid, then it goes on walking, and after some time changes direction. ...strangly it feels like the direction change move is not initiated by any sensor feedback, since it changes direction even if nothing is in the way...sometimes it walks against an obstacle and doesnt change direction.

First I thought my sensor dynamixel was damaged, so I tried building a minor complex robot like the flower and tested all the sensor funtions with it.
ALL POSITIVE!

I have no clue what might be the problem.

Really hope somebody here can help me out, or give me a hint.

Maybe somebody can send me "spider files" which are sure to work.


BTW. I builded the humanoid, too. ...everything was working, except the walk-mode.

Are those example files somehow "unready" ?


really hope my english is understandable, I*m a little bit out of practice.
greetz, Stephan
ID_Stephan
Robot Builder
Robot Builder
User avatar
Posts: 7
Joined: Sun Mar 30, 2008 8:55 pm
Location: Darmstadt. Germany

Post by ID_Stephan » Sun Mar 30, 2008 11:13 pm

Post by ID_Stephan
Sun Mar 30, 2008 11:13 pm

I just downloaded the new software from robotis.

Reinstalled it. and then

1st changed robot file in behaviour control programm

2nd uploaded example motion data

3rd opened and uploaded example behaviour file.

Still the same.

I also watched the vid again and my spider just starts walking when I clap.

In the vid the spider gets up on the first clap and starts walking on the second sound input. .


I do not get where the problem might be.

checked the behavior file in the program... it seems logic and alright to me so I did not change anything.
I just downloaded the new software from robotis.

Reinstalled it. and then

1st changed robot file in behaviour control programm

2nd uploaded example motion data

3rd opened and uploaded example behaviour file.

Still the same.

I also watched the vid again and my spider just starts walking when I clap.

In the vid the spider gets up on the first clap and starts walking on the second sound input. .


I do not get where the problem might be.

checked the behavior file in the program... it seems logic and alright to me so I did not change anything.
ID_Stephan
Robot Builder
Robot Builder
User avatar
Posts: 7
Joined: Sun Mar 30, 2008 8:55 pm
Location: Darmstadt. Germany

Post by siempre.aprendiendo » Mon Mar 31, 2008 10:19 am

Post by siempre.aprendiendo
Mon Mar 31, 2008 10:19 am

It works, Stephan.

Have you checked that all your AX12+ are properly mounted and centered at the middle point, position 512?

Sometime I have suffered some strange problems when an AX12+ has been wrongly mounted or their initial position isn't at the middle point.

Hope it helps :)
It works, Stephan.

Have you checked that all your AX12+ are properly mounted and centered at the middle point, position 512?

Sometime I have suffered some strange problems when an AX12+ has been wrongly mounted or their initial position isn't at the middle point.

Hope it helps :)
siempre.aprendiendo
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 559
Joined: Wed Aug 08, 2007 9:13 pm
Location: Barcelona

Post by ID_Stephan » Mon Mar 31, 2008 2:54 pm

Post by ID_Stephan
Mon Mar 31, 2008 2:54 pm

Many thancks for replying,

but I assembled everything correctly.

I checked the positioning lines on the servos when building the legs and made sure the direction is right.


When I try to execute the motion pages in the motion editor program by entering the page number and execute play, they all work like discribed in the text file.

This is proof to me the assembly of the robot has no mistakes.
If I made mistake in building and/or the initial position is not right the motion pages would not execute correctly in the motion editor and my robot would do weird movements or even damage itself, right?
Assembly check is positive, too.

I guess the problem might be the sensor.

The spider gets up when I clap and executes motion Nr.
50 Behavior1 Demo scenario(for normal state)
like it is supposed to be in the Behavior Control file.

But thats it ... it walks some time, and after a while it turns.

No matter what I put in its way, hand/book/wall, it never executes another
motion.

I tried to modify the numbers of the sensor input in BCP but no effect.

I tried different robots (less advance) and checked if sensor might be damaged, but it seems to work for the other bots.

For the spider config, I even tried changing execution of the obstacle motion by clapping twice. No result either.

Somehow it seems to me that it gets stuck in the motion.


I have no clue. I am totally confused.
Many thancks for replying,

but I assembled everything correctly.

I checked the positioning lines on the servos when building the legs and made sure the direction is right.


When I try to execute the motion pages in the motion editor program by entering the page number and execute play, they all work like discribed in the text file.

This is proof to me the assembly of the robot has no mistakes.
If I made mistake in building and/or the initial position is not right the motion pages would not execute correctly in the motion editor and my robot would do weird movements or even damage itself, right?
Assembly check is positive, too.

I guess the problem might be the sensor.

The spider gets up when I clap and executes motion Nr.
50 Behavior1 Demo scenario(for normal state)
like it is supposed to be in the Behavior Control file.

But thats it ... it walks some time, and after a while it turns.

No matter what I put in its way, hand/book/wall, it never executes another
motion.

I tried to modify the numbers of the sensor input in BCP but no effect.

I tried different robots (less advance) and checked if sensor might be damaged, but it seems to work for the other bots.

For the spider config, I even tried changing execution of the obstacle motion by clapping twice. No result either.

Somehow it seems to me that it gets stuck in the motion.


I have no clue. I am totally confused.
ID_Stephan
Robot Builder
Robot Builder
User avatar
Posts: 7
Joined: Sun Mar 30, 2008 8:55 pm
Location: Darmstadt. Germany

Post by AlphA » Mon Mar 31, 2008 3:47 pm

Post by AlphA
Mon Mar 31, 2008 3:47 pm

Have you looked at the behavior control program or the motion data?

While in the "normal state loop", the spider is programmed to perform motion 50 (demo scenario). This is not to simply walk forward until it detects an object. If you look at the motion data, you'll see that motion 50 loops a walk cycle a few times, then turns right. I don't have my CM-5 with me, so I can't confirm exactly what motion 50 is doing. But, I'm pretty sure that's how it works.

So, if your bot stops walking forward, BACKS UP then turns, it is performing its "obstacle response". On the other hand, if your bot simply goes from walking forward to turning right (without backing up), it is carrying out the demo scenario, which is normal.

If it fails to detect obstacles, check your lighting. Bright lights can sometimes confuse the sensors. If I was you, I would throw together a simple program telling the CM-5 to print AX-S1 sensor data. Then, move your hand near each sensor and make sure the data output corresponds.

In behavioral control programmer, replace motion 50 (demo scenario) with motion 2 or motion 3 (forward walks) and you should should have the behavior you want.
Have you looked at the behavior control program or the motion data?

While in the "normal state loop", the spider is programmed to perform motion 50 (demo scenario). This is not to simply walk forward until it detects an object. If you look at the motion data, you'll see that motion 50 loops a walk cycle a few times, then turns right. I don't have my CM-5 with me, so I can't confirm exactly what motion 50 is doing. But, I'm pretty sure that's how it works.

So, if your bot stops walking forward, BACKS UP then turns, it is performing its "obstacle response". On the other hand, if your bot simply goes from walking forward to turning right (without backing up), it is carrying out the demo scenario, which is normal.

If it fails to detect obstacles, check your lighting. Bright lights can sometimes confuse the sensors. If I was you, I would throw together a simple program telling the CM-5 to print AX-S1 sensor data. Then, move your hand near each sensor and make sure the data output corresponds.

In behavioral control programmer, replace motion 50 (demo scenario) with motion 2 or motion 3 (forward walks) and you should should have the behavior you want.
AlphA
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 48
Joined: Mon Jan 07, 2008 6:12 am
Location: Ohio

Post by siempre.aprendiendo » Mon Mar 31, 2008 4:08 pm

Post by siempre.aprendiendo
Mon Mar 31, 2008 4:08 pm

Ummm, I remember now that there are some interferences between the sun light and infrared. IR detects as if there were an obstacle and "avoid" it. I had this problem when the spider was near a big window :)
Ummm, I remember now that there are some interferences between the sun light and infrared. IR detects as if there were an obstacle and "avoid" it. I had this problem when the spider was near a big window :)
siempre.aprendiendo
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 559
Joined: Wed Aug 08, 2007 9:13 pm
Location: Barcelona

Post by ID_Stephan » Mon Mar 31, 2008 6:54 pm

Post by ID_Stephan
Mon Mar 31, 2008 6:54 pm

First I want to say a big THANCK YOU for your support.

But my problem still is not solved.

The Problem could be located in the Behavior control file.


The motions are executed correctly when using the motion editor.


I tried to change the initiation for the obstacle response to a sound input (2claps)...still not working.

It seems like the bot is stuck in the first loop it executes and does not have any interests in further input.



Different approach:
When I change the first motion from motion 50 to motion 2 ist makes 1 step and then stands still ... then I can give it further input like IR making it sit down.

but then when the attack move is initiated it get stuck in the loop again.

I apologize, I do not have any knowledge about programming at all.
So I can not "read out any data"
I checked the functions of the sensor with an "easy" bot (the flower) every sensor function seemed to work.
First I want to say a big THANCK YOU for your support.

But my problem still is not solved.

The Problem could be located in the Behavior control file.


The motions are executed correctly when using the motion editor.


I tried to change the initiation for the obstacle response to a sound input (2claps)...still not working.

It seems like the bot is stuck in the first loop it executes and does not have any interests in further input.



Different approach:
When I change the first motion from motion 50 to motion 2 ist makes 1 step and then stands still ... then I can give it further input like IR making it sit down.

but then when the attack move is initiated it get stuck in the loop again.

I apologize, I do not have any knowledge about programming at all.
So I can not "read out any data"
I checked the functions of the sensor with an "easy" bot (the flower) every sensor function seemed to work.
ID_Stephan
Robot Builder
Robot Builder
User avatar
Posts: 7
Joined: Sun Mar 30, 2008 8:55 pm
Location: Darmstadt. Germany

Post by trey3670 » Tue Apr 01, 2008 3:12 am

Post by trey3670
Tue Apr 01, 2008 3:12 am

did you d-load just the mtn file or both the mtn and bpg?
did you d-load just the mtn file or both the mtn and bpg?
trey3670
Savvy Roboteer
Savvy Roboteer
Posts: 115
Joined: Mon Dec 24, 2007 1:03 am

Post by ID_Stephan » Tue Apr 01, 2008 5:17 pm

Post by ID_Stephan
Tue Apr 01, 2008 5:17 pm

I downloaded both.

First the motion file then the behavior file.

I can assure that my problem is not covered by mistakes that can be solved with the instruction book.
I downloaded both.

First the motion file then the behavior file.

I can assure that my problem is not covered by mistakes that can be solved with the instruction book.
ID_Stephan
Robot Builder
Robot Builder
User avatar
Posts: 7
Joined: Sun Mar 30, 2008 8:55 pm
Location: Darmstadt. Germany

Post by JonHylands » Tue Apr 01, 2008 5:54 pm

Post by JonHylands
Tue Apr 01, 2008 5:54 pm

You might have a bad AX-S1... I would write a little program that tests it on its own - connect just the AX-S1 to the CM5, and test each of the three IR sensors to see that they are working correctly.

- Jon
You might have a bad AX-S1... I would write a little program that tests it on its own - connect just the AX-S1 to the CM5, and test each of the three IR sensors to see that they are working correctly.

- Jon
JonHylands
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 512
Joined: Thu Nov 09, 2006 1:00 am
Location: Ontario, Canada

Post by ID_Stephan » Tue Apr 01, 2008 6:36 pm

Post by ID_Stephan
Tue Apr 01, 2008 6:36 pm

Yes, my guess is, too, that the Sensor module is damaged somehow.

Unfortunatly I am not able to write a program like the one you advised. I have absolutly no knowledge in programming.

My approach to robotics came from the field of design.

I am a designer, not an engineer or a programmer, ...too bad for me.

I just wanted to have the spider do what it is supposed to by its example programm. ...didn't expect any problems like this.

Guess robots are NOT less complicated then any woman :)
Yes, my guess is, too, that the Sensor module is damaged somehow.

Unfortunatly I am not able to write a program like the one you advised. I have absolutly no knowledge in programming.

My approach to robotics came from the field of design.

I am a designer, not an engineer or a programmer, ...too bad for me.

I just wanted to have the spider do what it is supposed to by its example programm. ...didn't expect any problems like this.

Guess robots are NOT less complicated then any woman :)
ID_Stephan
Robot Builder
Robot Builder
User avatar
Posts: 7
Joined: Sun Mar 30, 2008 8:55 pm
Location: Darmstadt. Germany

Post by SK » Tue Apr 01, 2008 7:20 pm

Post by SK
Tue Apr 01, 2008 7:20 pm

Well seeing you´re from Darmstadt like me (the world is small ;) ) I can check if you can pay a short visit to a certain robotics lab I know where there are unused AX-S1 sitting around that you could use to test your spider. PM me if you´re interested. :)
Well seeing you´re from Darmstadt like me (the world is small ;) ) I can check if you can pay a short visit to a certain robotics lab I know where there are unused AX-S1 sitting around that you could use to test your spider. PM me if you´re interested. :)
SK
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 105
Joined: Mon Jun 26, 2006 1:00 am
Location: near Frankfurt/Main, Germany

Post by AlphA » Tue Apr 01, 2008 7:40 pm

Post by AlphA
Tue Apr 01, 2008 7:40 pm

You can use mine.
Bioloid IR Sensor monitor.
You may want to start tinkering around in the behavior control programmer. It's designed for non-programmers to use. It is a valuable skill for troubleshooting and tweaking. Otherwise, you will probably get stuck on little issues over and over again.
You can use mine.
Bioloid IR Sensor monitor.
You may want to start tinkering around in the behavior control programmer. It's designed for non-programmers to use. It is a valuable skill for troubleshooting and tweaking. Otherwise, you will probably get stuck on little issues over and over again.
AlphA
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 48
Joined: Mon Jan 07, 2008 6:12 am
Location: Ohio


13 postsPage 1 of 1
13 postsPage 1 of 1