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

Behavior Control. Internals.

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

Post by billyzelsnack » Wed Jan 10, 2007 9:48 pm

Post by billyzelsnack
Wed Jan 10, 2007 9:48 pm

So do you mean to write a little program in the behavior editor that'll basically make up a little command set that it'll listen for. Is there a behavior editor command that can read and write from serial? hmm.
So do you mean to write a little program in the behavior editor that'll basically make up a little command set that it'll listen for. Is there a behavior editor command that can read and write from serial? hmm.
billyzelsnack
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 618
Joined: Sat Dec 30, 2006 1:00 am

Post by Pev » Wed Jan 10, 2007 10:47 pm

Post by Pev
Wed Jan 10, 2007 10:47 pm

The BCP has functions to recieve data via a wireless communications port in a packeted format. Details of the packet format are in the bluetooth hack doc:

http://robosavvy.com/Builders/Pev/Bioloid%20BlueTooth%20Hack.pdf

I use this with a bluetooth module to control my 'loid

Pev
The BCP has functions to recieve data via a wireless communications port in a packeted format. Details of the packet format are in the bluetooth hack doc:

http://robosavvy.com/Builders/Pev/Bioloid%20BlueTooth%20Hack.pdf

I use this with a bluetooth module to control my 'loid

Pev
Carl
-------------------------
www.alt-view.co.uk
Pev
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 547
Joined: Sun Feb 26, 2006 1:00 am
Location: UK

Post by billyzelsnack » Wed Jan 10, 2007 11:21 pm

Post by billyzelsnack
Wed Jan 10, 2007 11:21 pm

Cool thanks. I hope that..

RX REMOCON DATA ARRIVE

works from the normal serial cable. With that I should be able to do what I want.
Cool thanks. I hope that..

RX REMOCON DATA ARRIVE

works from the normal serial cable. With that I should be able to do what I want.
billyzelsnack
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 618
Joined: Sat Dec 30, 2006 1:00 am

Post by billyzelsnack » Thu Jan 11, 2007 4:49 am

Post by billyzelsnack
Thu Jan 11, 2007 4:49 am

Not looking good at this point. I can see data from the cm-5 in my terminal, but I'm not having any luck with the cm-5 seeing data from the terminal while I am playing a program. My program just turns on the aux light when some data is ready. I can use the up/down buttons to toggle it so I know the program is actually running.

I tried sending some numbers encoded like in your doc and that didn't do any good either.

The funny thing is that the RXD will light up when I am not playing a program, so data is being received at the cm-5. It seems that the play program just ignores it.

I am thinking that I might have to send some sort of packet header or something or it just might not be possible without tapping it at those pins.

I think it is time to do some more snooping on their programs!

btw. One of my goals is to make something that anyone can use without having to mod the hardware or do any non-usual bootloader uploading. Just upload a special behavior program and run a fancy new app to talk to it live.
Not looking good at this point. I can see data from the cm-5 in my terminal, but I'm not having any luck with the cm-5 seeing data from the terminal while I am playing a program. My program just turns on the aux light when some data is ready. I can use the up/down buttons to toggle it so I know the program is actually running.

I tried sending some numbers encoded like in your doc and that didn't do any good either.

The funny thing is that the RXD will light up when I am not playing a program, so data is being received at the cm-5. It seems that the play program just ignores it.

I am thinking that I might have to send some sort of packet header or something or it just might not be possible without tapping it at those pins.

I think it is time to do some more snooping on their programs!

btw. One of my goals is to make something that anyone can use without having to mod the hardware or do any non-usual bootloader uploading. Just upload a special behavior program and run a fancy new app to talk to it live.
billyzelsnack
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 618
Joined: Sat Dec 30, 2006 1:00 am

Post by inaki » Thu Jan 11, 2007 8:34 am

Post by inaki
Thu Jan 11, 2007 8:34 am

You don't need any encoding to communicate through the serial cable. Just use plain ASCII commands, for example:

ID 13
WR 30 0 2
etc
etc

For a full listing of commands see the Robot Terminal Prgram, and use the HELP command.

Please note that using terminal commands you cannot communicate with a BCP program that is running inside the CM5. You communicate with the firmware program itself.
You don't need any encoding to communicate through the serial cable. Just use plain ASCII commands, for example:

ID 13
WR 30 0 2
etc
etc

For a full listing of commands see the Robot Terminal Prgram, and use the HELP command.

Please note that using terminal commands you cannot communicate with a BCP program that is running inside the CM5. You communicate with the firmware program itself.
inaki
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 233
Joined: Sun Mar 06, 2005 1:00 am
Location: EH

Post by billyzelsnack » Thu Jan 11, 2007 3:07 pm

Post by billyzelsnack
Thu Jan 11, 2007 3:07 pm

yeah. Talking with the manage mode interpreter is possible, but is incredibly inefficient because you can't turn off the echo (as far as I know).
yeah. Talking with the manage mode interpreter is possible, but is incredibly inefficient because you can't turn off the echo (as far as I know).
billyzelsnack
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 618
Joined: Sat Dec 30, 2006 1:00 am

Previous
21 postsPage 2 of 21, 2
21 postsPage 2 of 21, 2