Dorian - Retro Style Humanoid Robot

Sebediah

Sweden
robot video thumbnail
robot video thumbnail
robot video thumbnail

Earlier this year I introduced myself and my first robot on these forums but it was a General Discussion post and so now that I've made some progress on Dorian I thought it's time to make a proper Project Showcase for him.

Dorian is a fairly small humanoid robot with a retro style design. He stands about 40 cm tall and has a build quite similar to the JD humanoid robot, with the addition of two hip servos and an ultrasonic distance sensor. The chassis is my own design, while the joints and brackets connecting servos are modified versions of EZ-Robot designs. The general goal for Dorian is to have him join me at various events and have him interact with people, but more importantly, have people interact with him. I'm hoping I'll be able to make him smart and engaging enough for people to feel inspired about social robots and realize how advanced robots we can actually make today - if using the right products and knowing the right community;)

In my previous post some of you were asking about seeing him in action and if he could walk yet. Today I uploaded the first video with Dorian's walking animation so I hope you'll give it a look and hopefully you'll enjoy! He may look like a drunk toddler but atleast he's moving forward...! Sort of.

By — Last update
Jump to end

ARC Pro

Upgrade to ARC Pro

Discover the limitless potential of robot programming with Synthiam ARC Pro – where innovation and creativity meet seamlessly.

#33  

@Patrick Certainly! I'm not at my laptop now so I don't have the code here, actually I'm not even home at the moment, hehe. Tomorrow I will be back, I can put it up here then if you want, it's very simple though, basically just a couple of GetRandom() functions in a small loop:)

PRO
Belgium
#34  

great thanks something new to learn.

Thailand
#35  

@Sebediah Thanks for your 2nd clip sharing, It's made me more understanding especially for the movement.

#36  

@bunnam Very happy you liked the video!:) With these new joints and servos, Dorian's movement is going to improve a lot in the future.

#37  

@Patrick Here's the code you were asking for. It's very simple and easy to set up. You can make lots of duplicates of this script if you want your JD to do other things randomly like this.

#This loop will make the robot look around randomly from time to time.

:idlestanding

#Change the SleepRandom if you want him to look more often, or less often.
SleepRandom(7000,15000)

#These are the ports for robot neck servos, so change these to whatever ports you are using.
#You can also change the minimum and maximum range for them if you like, I kept mine quite moderate since I don't want the microservos to make too much noise.
ServoRandom(d8,80,105)
ServoRandom(d9,80,120)

Goto(idlestanding)

Remember to make sure your robot's neck servos are set to -1 when running this script, otherwise the robot will just keep whatever degree your current AutoPosition frame is set to. Hope this helps and let me know if you run into any problems!

PRO
Belgium
#38  

sebediah

thank you very much.i will try this.

PRO
Belgium
#39  

i tested and did some testing.i added a servospeed and sayezb.its awesome. also i use a original jd,so its d0 and d1

This loop will make the robot look around randomly from time to time.

:idlestanding

Change the SleepRandom if you want him to look more often, or less often.

SleepRandom(4000,13000) sayezb(" aha ") #These are the ports for robot neck servos, so change these to whatever ports you are using. #You can also change the minimum and maximum range for them if you like, I kept mine quite moderate since I don't want the microservos to make too much noise. servospeed(d0,4) servospeed(d1,4) ServoRandom(d0,40,150) ServoRandom(d1,75,120)

Goto(idlestanding)

#40  

Very nice Patrick, I'm glad you found it useful! And yes, it's good to have the servo speed in there unless you already have it set. My servo speeds are set when Dorian is powered on so I don't need them in that script. This is a good code for you to expand on if you want, you can add some if statements, throw in some AutoPosition animations if you want. Anything to make your robots come to life:)

We are moving tomorrow morning so I won't be on the forums for a few days, goodluck and have fun coding!