Main Menu

Site Menu

Who's Online

We have 22 guests and 2 members online
  • prallplatte
  • chapman10

Login Form






Lost Password?
No account yet? Register

Find us on Facebook

Welcome ( Log in )
Compliance programming
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
Bullit
Savvy Roboteer
Savvy Roboteer


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

PostPosted: Sun Nov 19, 2006 1:29 am    Post subject: Compliance programming Reply with quote

I decided after looking at DirtyRoboto's handshake I'd give some compliance programming a try. I was kind of impressed by the ability of the RN-1 to measure position and hence compliance. I did find one important item that was missed in DirtyRoboto's handshake. Occasionally when reading the motor position with the MotorIn command the returned reading will be 0 indicating that the servo position was not read. This needs to be handled in the code somewhere to ensure the position gets re-read. In my example I measure 2 servos to initiate walking forward, back and sideways just by pulling or pushing his right arm. A leg servo is used to sense pressing on his shoulders to make him squat.

Compliance video
SourceCode
I put the source up for download instead of posting it since its rather large.
_________________
Back to top
View user's profile Send private message   Share
Bullit
Savvy Roboteer
Savvy Roboteer


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

PostPosted: Sun Nov 19, 2006 2:00 am    Post subject: Reply with quote

If you've watched the video then you have also seen my RN-1's awesome chest beat (the code is inlcuded above)

click on the small image below to see a larger version.

Back to top
View user's profile Send private message   Share
Ray
Savvy Roboteer
Savvy Roboteer


Joined: 23 Apr 2006
Posts: 230
Location: HK

PostPosted: Sun Nov 19, 2006 4:16 am    Post subject: Reply with quote

Its great Very Happy !

Thanks Bullit.
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: Sun Nov 19, 2006 7:00 am    Post subject: Reply with quote

I am just about to have a look at your code but thought I would add first, that I had another routine that used the arm as a joystick but it was limited to controlling the other arm.

Marcus.
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: Sun Nov 19, 2006 12:31 pm    Post subject: Reply with quote

Wow, I love that.
Congrats on a nice bit of code. I found it worked really well and gave a nice paternal feel to the control of the robot.

Marcus.
Back to top
View user's profile Send private message [ Hidden ] MSN Messenger Share
Ric
Savvy Roboteer
Savvy Roboteer


Joined: 02 Aug 2006
Posts: 57
Location: Sunny Algarve, Portugal

PostPosted: Sun Nov 19, 2006 12:52 pm    Post subject: Reply with quote

Paternal !
I think you may be spending too much time with your RN-1 Dirty Confused

Ric
Back to top
View user's profile Send private message   Visit poster's website Share
limor
Savvy Roboteer
Savvy Roboteer


Joined: 11 Oct 2004
Posts: 1791
Location: London, UK

PostPosted: Sun Nov 19, 2006 1:40 pm    Post subject: Reply with quote

amazing Exclamation
Back to top
View user's profile Send private message   MSN Messenger Share
hivemind
Savvy Roboteer
Savvy Roboteer


Joined: 01 Jul 2006
Posts: 211
Location: between my computer and robot.

PostPosted: Sun Nov 19, 2006 5:44 pm    Post subject: Reply with quote

So why does he seem to get angry when you push him down?-Doesnt like being repressed?

I'd watch your fingers... with those sharp grippers, if he got too angry, he could do a lot of damage.

cool.
Back to top
View user's profile Send private message   Visit poster's website Share
i-Bot
Savvy Roboteer
Savvy Roboteer


Joined: 17 May 2006
Posts: 1138

PostPosted: Sun Nov 19, 2006 5:49 pm    Post subject: Reply with quote

Truly innovative concept and programming Rolling Eyes
Back to top
View user's profile Send private message   Share
beermat
Savvy Roboteer
Savvy Roboteer


Joined: 23 Jul 2006
Posts: 137

PostPosted: Sun Nov 19, 2006 11:50 pm    Post subject: Reply with quote

Excellent stuff!

Where did you get your RNs head from?
Back to top
View user's profile Send private message   Share
Bullit
Savvy Roboteer
Savvy Roboteer


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

PostPosted: Mon Nov 20, 2006 12:30 am    Post subject: Reply with quote

It's a modified Lego Bionicle head. My LED eyes and mount.
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 Nov 20, 2006 10:24 am    Post subject: Reply with quote

Could you post a bit more detail about the head modifications?

ie - pics and parts required etc?

I'd been 'experimenting' with sculpting a head and trying to cast it in a rigid latex which could be streached over a servo etc. etc.

...but your solution seems to be much more effective for far less effort. Wink

Thanks, david
Back to top
View user's profile Send private message   Visit poster's website Share
tempusmaster
Site Admin
Site Admin


Joined: 27 Oct 2005
Posts: 532

PostPosted: Mon Nov 20, 2006 4:01 pm    Post subject: Re: Compliance programming Reply with quote

Bullit wrote:
I decided after looking at DirtyRoboto's handshake I'd give some compliance programming a try. I was kind of impressed by the ability of the RN-1 to measure position and hence compliance.


Very impressive. I like it a lot-

http://www.robots-dreams.com/2006/11/taking_your_rob.html

Now, if I can only figure out how to emulate the same behavoir with my humanoids.
8O
_________________
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: Mon Nov 20, 2006 6:35 pm    Post subject: Reply with quote

Bullit, do you mind if I piggy back your compliance code?

I have just come up with a neat interactive game that can be played with our robots using the principals we have tried so far. It would save me a great deal of trouble of writing the code from scratch.

Thanks.

Marcus.

PS. This technique can also be used in Robo battles to invoke moves in response to outside stress.
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: Tue Nov 21, 2006 12:08 am    Post subject: Reply with quote

plingboot - I use 3 PWM ports to control 3 different color LED colors, see Hive's post here
And couple images of my robot head.




I use a standard HSR-8498HB mounted in the chest. Its a tight fit but it works. I've considered using a smaller servo just to be lighter. Don't really need catch and play for head rotation so a standard analog servo would do. I also considered installing a very small cirrus servo inside the head to add tilt. Just haven't gotten around to it yet. Head motion doesn't need much toque.

DirtyRoboto - Its all good as long as nobody gets hurt and as always use at your own risk.
Back to top
View user's profile Send private message   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 - RFID Reader ID-20LA (125 kHz)
£23.50   £28.20 inc. VAT
 

GoogleSearch

Google
robosavvy.com
Web


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