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

Sonar Fun

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

Sonar Fun

Post by DirtyRoboto » Thu Dec 07, 2006 11:16 pm

Post by DirtyRoboto
Thu Dec 07, 2006 11:16 pm

Just been having some fun with the sonar and some moves.
Take a look.

edit. new link.
http://www.youtube.com/watch?v=02DOKqaEiTA

Marcus.
Just been having some fun with the sonar and some moves.
Take a look.

edit. new link.
http://www.youtube.com/watch?v=02DOKqaEiTA

Marcus.
Last edited by DirtyRoboto on Sat Dec 09, 2006 10:47 pm, edited 1 time in total.
DirtyRoboto
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 412
Joined: Tue Sep 19, 2006 1:00 am
Location: London

Post by bigdeal » Fri Dec 08, 2006 8:49 am

Post by bigdeal
Fri Dec 08, 2006 8:49 am

Good work,

Looks like a happy Robonova :-)

greetings,

bigdeal
Good work,

Looks like a happy Robonova :-)

greetings,

bigdeal
greetings,

bigdeal
bigdeal
Robot Builder
Robot Builder
User avatar
Posts: 10
Joined: Fri Dec 01, 2006 1:00 am
Location: netherlands

Re: Sonar Fun

Post by tempusmaster » Sat Dec 09, 2006 10:03 am

Post by tempusmaster
Sat Dec 09, 2006 10:03 am

DirtyRoboto wrote:Just been having some fun with the sonar and some moves.
Take a look.

http://www.youtube.com/watch?v=GNkjVr_vou0

Marcus.

The video seems to have disappeared. Did you take it down for some reason?
DirtyRoboto wrote:Just been having some fun with the sonar and some moves.
Take a look.

http://www.youtube.com/watch?v=GNkjVr_vou0

Marcus.

The video seems to have disappeared. Did you take it down for some reason?
Latest robot news, information, reviews, hacks, photos, and videos - with special on-site coverage from Japan
http://www.robots-dreams.com
tempusmaster
Site Admin
Site Admin
User avatar
Posts: 532
Joined: Thu Oct 27, 2005 1:00 am

Post by DirtyRoboto » Sat Dec 09, 2006 10:33 pm

Post by DirtyRoboto
Sat Dec 09, 2006 10:33 pm

Sorry, here you go.

http://www.youtube.com/watch?v=02DOKqaEiTA

I took it down as the routine I was using took out one of my foot servos!!!
I have now got two duff servos and am looking forward to seeing if I can make one good one from the two bad.

The foot servo just went limp during re-recording of the cilp. all of the gears are intact so I am guessing the motor has gone although there was no smoke or bad smell.

I have yet to investigate properly as I just swapped the servo out, but it seemed to fail to respond to the controller yet sounded fine on independant movement.

Marcus.

Ps. Took me about 45 minutes to swap out the foot servo including reconfiguring the stock servo case.
Sorry, here you go.

http://www.youtube.com/watch?v=02DOKqaEiTA

I took it down as the routine I was using took out one of my foot servos!!!
I have now got two duff servos and am looking forward to seeing if I can make one good one from the two bad.

The foot servo just went limp during re-recording of the cilp. all of the gears are intact so I am guessing the motor has gone although there was no smoke or bad smell.

I have yet to investigate properly as I just swapped the servo out, but it seemed to fail to respond to the controller yet sounded fine on independant movement.

Marcus.

Ps. Took me about 45 minutes to swap out the foot servo including reconfiguring the stock servo case.
DirtyRoboto
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 412
Joined: Tue Sep 19, 2006 1:00 am
Location: London

Post by beermat » Sat Dec 09, 2006 10:51 pm

Post by beermat
Sat Dec 09, 2006 10:51 pm

Still getting 'unavailable' from YouTube.....
Still getting 'unavailable' from YouTube.....
beermat
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 137
Joined: Sun Jul 23, 2006 1:00 am

Post by DirtyRoboto » Sat Dec 09, 2006 10:55 pm

Post by DirtyRoboto
Sat Dec 09, 2006 10:55 pm

Just re-uploaded as of 21:50, give it a few minutes.

=================================

As of 22:10 it is working.
Just re-uploaded as of 21:50, give it a few minutes.

=================================

As of 22:10 it is working.
DirtyRoboto
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 412
Joined: Tue Sep 19, 2006 1:00 am
Location: London

Post by DirtyRoboto » Sat Dec 09, 2006 11:34 pm

Post by DirtyRoboto
Sat Dec 09, 2006 11:34 pm

Just uploaded part II.
This is an experiment in sonar and combat.
At differing distances the RN1 goes into more or less agressive stances culminating in an attack if within range.

uploaded as of 22:30 gmt 09/12/06
http://www.youtube.com/watch?v=x-TYb6xIBIs
Just uploaded part II.
This is an experiment in sonar and combat.
At differing distances the RN1 goes into more or less agressive stances culminating in an attack if within range.

uploaded as of 22:30 gmt 09/12/06
http://www.youtube.com/watch?v=x-TYb6xIBIs
DirtyRoboto
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 412
Joined: Tue Sep 19, 2006 1:00 am
Location: London

Post by Bullit » Sun Dec 10, 2006 1:40 am

Post by Bullit
Sun Dec 10, 2006 1:40 am

Nice work Dirty. I especially like the the arms waving in the first video!
The second video looks like he responds very much in real time.
Excellent, keep'em coming!
Nice work Dirty. I especially like the the arms waving in the first video!
The second video looks like he responds very much in real time.
Excellent, keep'em coming!
Image
Bullit
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 291
Joined: Wed May 31, 2006 1:00 am
Location: Near robot

Post by plingboot » Mon Dec 11, 2006 10:56 am

Post by plingboot
Mon Dec 11, 2006 10:56 am

top, top stuff. :D

i managed to get my sonar working but have absolutely no idea how to interpret the signal and turn it into meaningful code (like this).

any chance of some code, or a mini tutorial?
top, top stuff. :D

i managed to get my sonar working but have absolutely no idea how to interpret the signal and turn it into meaningful code (like this).

any chance of some code, or a mini tutorial?
plingboot
Savvy Roboteer
Savvy Roboteer
Posts: 108
Joined: Thu Oct 26, 2006 1:00 am
Location: the gutter, south west london

Post by onesandzeros » Mon Dec 11, 2006 2:10 pm

Post by onesandzeros
Mon Dec 11, 2006 2:10 pm

hey DirtyRoboto
i really like the "Robonova RN1 Sonar Combat" video
thats awesome dude.
hey DirtyRoboto
i really like the "Robonova RN1 Sonar Combat" video
thats awesome dude.
onesandzeros
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 99
Joined: Mon Apr 03, 2006 1:00 am

Post by Robo1 » Mon Dec 11, 2006 6:47 pm

Post by Robo1
Mon Dec 11, 2006 6:47 pm

plingboot - if you can read the signal then you need something along the lines of,

it(signal > x)[
do this
}

you can have a couple of these loops so that for different reading you RN1 exacutes diffent code.

hope this helps bren
plingboot - if you can read the signal then you need something along the lines of,

it(signal > x)[
do this
}

you can have a couple of these loops so that for different reading you RN1 exacutes diffent code.

hope this helps bren
Robo1
Savvy Roboteer
Savvy Roboteer
Posts: 501
Joined: Fri Jun 30, 2006 1:00 am
Location: UK - Bristol

Post by plingboot » Mon Dec 11, 2006 6:52 pm

Post by plingboot
Mon Dec 11, 2006 6:52 pm

hi robo1,
thanks, i'd figured that far, but am not sure what values to assign to "x" and therefore what the upper and lower limits are.

if i get time over christmas i'll probably try the trial and error method but was hoping for a "lazyman's solution" from dirty :wink:
hi robo1,
thanks, i'd figured that far, but am not sure what values to assign to "x" and therefore what the upper and lower limits are.

if i get time over christmas i'll probably try the trial and error method but was hoping for a "lazyman's solution" from dirty :wink:
plingboot
Savvy Roboteer
Savvy Roboteer
Posts: 108
Joined: Thu Oct 26, 2006 1:00 am
Location: the gutter, south west london

Post by DirtyRoboto » Mon Dec 11, 2006 7:20 pm

Post by DirtyRoboto
Mon Dec 11, 2006 7:20 pm

My sonar is the MaxSonar EZ-1. It uses analogue so will not respond to the SONAR command.

I have it on AD(5) so do this.

DIM son AS INTEGER (could do this as byte really)
for every time I need to read the sonar value I do the following.

son = AD(5)

Then you might try this.

sonar:
son = AD(5)
IF son > 50 THEN GOTO sonar
IF son < 50 AND son > 30 THEN GOTO move_one
IF son < 30 AND son > 20 THEN GOTO move_two
. and
. so
. on
GOTO sonar

I hope this is of help.

Marcus.
My sonar is the MaxSonar EZ-1. It uses analogue so will not respond to the SONAR command.

I have it on AD(5) so do this.

DIM son AS INTEGER (could do this as byte really)
for every time I need to read the sonar value I do the following.

son = AD(5)

Then you might try this.

sonar:
son = AD(5)
IF son > 50 THEN GOTO sonar
IF son < 50 AND son > 30 THEN GOTO move_one
IF son < 30 AND son > 20 THEN GOTO move_two
. and
. so
. on
GOTO sonar

I hope this is of help.

Marcus.
DirtyRoboto
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 412
Joined: Tue Sep 19, 2006 1:00 am
Location: London

Post by plingboot » Mon Dec 11, 2006 7:39 pm

Post by plingboot
Mon Dec 11, 2006 7:39 pm

top man (again), thanks.

I have the same sonar module, so i guess your code should work fine.
If i get time i'll have a crack at it tonight :D
top man (again), thanks.

I have the same sonar module, so i guess your code should work fine.
If i get time i'll have a crack at it tonight :D
plingboot
Savvy Roboteer
Savvy Roboteer
Posts: 108
Joined: Thu Oct 26, 2006 1:00 am
Location: the gutter, south west london

Post by DirtyRoboto » Mon Dec 11, 2006 7:41 pm

Post by DirtyRoboto
Mon Dec 11, 2006 7:41 pm

I will PM you with my "Sonar Combat" test routine. Giz about 10 Min.

Marcus.
I will PM you with my "Sonar Combat" test routine. Giz about 10 Min.

Marcus.
DirtyRoboto
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 412
Joined: Tue Sep 19, 2006 1:00 am
Location: London

Next
21 postsPage 1 of 21, 2
21 postsPage 1 of 21, 2