Main Menu

Site Menu

Who's Online

We have 34 guests and 4 members online
  • i-Bot
  • Bullit
  • Icmmovers
  • vitor

Login Form






Lost Password?
No account yet? Register

Find us on Facebook

Welcome ( Log in )
Sonar Fun
Goto page 1, 2  Next
 
Post new topic   Reply to topic    RoboSavvy Forum Forum Index -> ROBONOVA-I & Hitec
View previous topic :: View next topic  
Author Message
DirtyRoboto
Savvy Roboteer
Savvy Roboteer


Joined: 19 Sep 2006
Posts: 412
Location: London

PostPosted: Thu Dec 07, 2006 10:16 pm    Post subject: Sonar Fun Reply with quote

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 9:47 pm; edited 1 time in total
Back to top
View user's profile Send private message [ Hidden ] MSN Messenger Share
bigdeal
Robot Builder
Robot Builder


Joined: 01 Dec 2006
Posts: 10
Location: netherlands

PostPosted: Fri Dec 08, 2006 7:49 am    Post subject: Reply with quote

Good work,

Looks like a happy Robonova Smile

greetings,

bigdeal
_________________
greetings,

bigdeal
Back to top
View user's profile Send private message [ Hidden ] Visit poster's website Share
tempusmaster
Site Admin
Site Admin


Joined: 27 Oct 2005
Posts: 532

PostPosted: Sat Dec 09, 2006 9:03 am    Post subject: Re: Sonar Fun Reply with quote

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
Back to top
View user's profile Send private message   Visit poster's website Share
DirtyRoboto
Savvy Roboteer
Savvy Roboteer


Joined: 19 Sep 2006
Posts: 412
Location: London

PostPosted: Sat Dec 09, 2006 9:33 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message [ Hidden ] MSN Messenger Share
beermat
Savvy Roboteer
Savvy Roboteer


Joined: 23 Jul 2006
Posts: 137

PostPosted: Sat Dec 09, 2006 9:51 pm    Post subject: Reply with quote

Still getting 'unavailable' from YouTube.....
Back to top
View user's profile Send private message   Share
DirtyRoboto
Savvy Roboteer
Savvy Roboteer


Joined: 19 Sep 2006
Posts: 412
Location: London

PostPosted: Sat Dec 09, 2006 9:55 pm    Post subject: Reply with quote

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

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

As of 22:10 it is working.
Back to top
View user's profile Send private message [ Hidden ] MSN Messenger Share
DirtyRoboto
Savvy Roboteer
Savvy Roboteer


Joined: 19 Sep 2006
Posts: 412
Location: London

PostPosted: Sat Dec 09, 2006 10:34 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message [ Hidden ] MSN Messenger Share
Bullit
Savvy Roboteer
Savvy Roboteer


Joined: 31 May 2006
Posts: 289
Location: Near robot

PostPosted: Sun Dec 10, 2006 12:40 am    Post subject: Reply with quote

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!
_________________
Back to top
View user's profile Send private message   Share
plingboot
Savvy Roboteer
Savvy Roboteer


Joined: 26 Oct 2006
Posts: 108
Location: the gutter, south west london

PostPosted: Mon Dec 11, 2006 9:56 am    Post subject: Reply with quote

top, top stuff. Very Happy

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?
Back to top
View user's profile Send private message   Visit poster's website Share
onesandzeros
Savvy Roboteer
Savvy Roboteer


Joined: 03 Apr 2006
Posts: 99

PostPosted: Mon Dec 11, 2006 1:10 pm    Post subject: Reply with quote

hey DirtyRoboto
i really like the "Robonova RN1 Sonar Combat" video
thats awesome dude.
Back to top
View user's profile Send private message   Share
Robo1
Savvy Roboteer
Savvy Roboteer


Joined: 30 Jun 2006
Posts: 501
Location: UK - Bristol

PostPosted: Mon Dec 11, 2006 5:47 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message   Share
plingboot
Savvy Roboteer
Savvy Roboteer


Joined: 26 Oct 2006
Posts: 108
Location: the gutter, south west london

PostPosted: Mon Dec 11, 2006 5:52 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message   Visit poster's website Share
DirtyRoboto
Savvy Roboteer
Savvy Roboteer


Joined: 19 Sep 2006
Posts: 412
Location: London

PostPosted: Mon Dec 11, 2006 6:20 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message [ Hidden ] MSN Messenger Share
plingboot
Savvy Roboteer
Savvy Roboteer


Joined: 26 Oct 2006
Posts: 108
Location: the gutter, south west london

PostPosted: Mon Dec 11, 2006 6:39 pm    Post subject: Reply with quote

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 Very Happy
Back to top
View user's profile Send private message   Visit poster's website Share
DirtyRoboto
Savvy Roboteer
Savvy Roboteer


Joined: 19 Sep 2006
Posts: 412
Location: London

PostPosted: Mon Dec 11, 2006 6:41 pm    Post subject: Reply with quote

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

Marcus.
Back to top
View user's profile Send private message [ Hidden ] MSN Messenger Share
Display posts from previous:   
Post new topic   Reply to topic    RoboSavvy Forum Forum Index -> ROBONOVA-I & Hitec All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 



Powered by phpBB ©

Contact us

In Our Store

 

SparkFun - Conductive Thread - 60g (Stainless Steel)
£31.10   £37.32 inc. VAT
 

GoogleSearch

Google
robosavvy.com
Web


Makerbot DARwIn-OP Robotis Sparkfun Kondo Robobuilder DfRobot Dagu
© 2013 RoboSavvy All rights reserved. Privacy Policy.