Joined: 31 May 2006 Posts: 289 Location: Near robot
Posted: Sun Nov 19, 2006 1:29 am Post subject: Compliance programming
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. _________________
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.
Posted: Mon Nov 20, 2006 4:01 pm Post subject: Re: Compliance programming
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.
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
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.
Joined: 31 May 2006 Posts: 289 Location: Near robot
Posted: Tue Nov 21, 2006 12:08 am Post subject:
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.
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