Step 7: Software

Now comes the fun part, making your robot do stuff. This can be accomplished using ROS. One of the great things about ROS is it's flexibility. You can use and add to software designed for other robotic platforms, such as (TurtleBot, Pi Robot or Trike). TurtleBot, developed by Willow Garage is similar to POLYRO, minus the AX-12 servos and USB cameras. I suggest installing and running TurtleBot on this platform initially.

Video of TurtleBot can be seen here:

You can always add drivers for the servos and webcams later (once you begin developing your own nodes, packages, repositories, etc.).

Instead of installing TurtleBot, you can also search the available software on ROS.org and install each driver manually.

<p>Great, thanks a lot! As if my project list wasn't long enough!! Seriously though, nice instructable! it's got some great ideas that I can pull from for my builds!</p>
I have recently completely redesigned a server robot i have been working on for some time (and will be writing up an instructable soon) and i would like to add xbox kinect to the irobot create. Would it be effective to add a pan and tilt type feature to the kinect or does it work better when it is stationary?
I have not experimented with using a pan/tilt feature with the Kinect... yet. Polyro v2 has the Kinect mounted directly on top of it's head, so I will be testing soon. Check out Healthcare Robotics Lab approach: <br> <br>http://hsi.gatech.edu/hrl-wiki/index.php/Kinect_Sensor_Mount <br> <br>They used pan/tilt with the kinect on a couple of platforms. They also have their STL files available for download. I hope this helps.
can polyro be used without the iRobot Create? I am wanting to make a similar robot but funds are limited and can not get one right now. We just lost my father and my mom would really love something like polyro to keep her company. Can give him a full AI if just a computer can be used.
I am very sorry to hear that you lost your father. You have my deepest condolences. Polyro can certainly be used without the icreate. I am actually preparing to release a new upgrade from Polyro named Maki. This new robot will be totally 3D printable (excluding electronics, servos, etc.). It will be available on Kickstarter in the next week or so and the STL files will be available to contributors sometime in February. Message me you email address and I will be sure to send you a copy of the STL files next month. Take care
How much did this end up costing you in the end?
Roughly $1200, but it depends on what supplies you already have at your disposal.
which webcams did u use to make the eyes <br>and can i use roller sakets and make 2 curcit for the legs to move and which software should i download for my ideas to work help ubuddha
we are trying to modify and make polyros (our version) i want 2 know about the movement and the charge of the mainframe
dear u buddha <br>i wanted to know where have u got the parts from and r they avalable online? <br>hope for a quick response
I have attached to this instructable the parts in PDF format for download. You can have the parts cut from sheets of expanded pvc with a CNC router or by hand with a jig saw and Dremel. The servos, dynamixel2usb, etc. can be purchased from Trossen Robotics or directly from Robotis. On a side note, I am working on 2 new open source robots which use standard servos and more user friendly software. I will release them later this year.
dear ubuddha <br>i wanted to know where can we get the required material and is it AVALABLE ONLINE
What was the final cost for POLYRO?
The final cost for me was roughly $1300, but that could vary depending on what parts and tools you already have available (i.e., netbook, Dremel, etc.).
The main expense that is killing me are the 11 actuators. phew!<br><br>Do you think that this would work with a Roomba 530 instead of a create?<br><br>And just go through the serial RIO
Robot servos can be quite costly. In the future, I would like to explore a couple of alternate configurations (perhaps building POLYRO without the arms or substituting POLYRO's head with the Kinect)... <br><br>ROS does support the Roomba 500 series:<br><br>http://www.ros.org/wiki/Robots/Roomba<br><br>It would just be a matter of mounting...
UBuddha,<br><br> Thanks for the reply. I have since burnt up my roomba 530. I got a factory cable from irobot. It was made overseas. It had a big glob of solder on the inside shorting out the whole thing. I plugged it in to the 530 and it fried the motherboard of the 530. IT would cost me around a hundred dollars that I do not have to get it going again. :-(<br><br> But, I have worked with other units and I am having fun. But, none looks as cool as your design.<br><br> When you get some code, please post it.<br>
Thanks! Now another question: Is this robot able to do stuff like navigate through homes and interact with people? And how would you program it? Is that what the netbook is for, your programming console?
Yes and yes. POLYRO uses ROS (Robot Operating System) which runs on the netbook. I always suggest first going through the basic tutorial which can be found here:<br>http://www.ros.org/wiki/ROS/Tutorials<br>Next when you are ready to make your robot &quot;do stuff,&quot; you can try more advanced tutorials.<br>Head tracking:<br>http://www.pirobot.org/blog/0016/<br>Face tracking:<br>http://www.ros.org/wiki/pi_face_tracker<br>Navigation:<br>http://www.ros.org/wiki/turtlebot_navigation/Tutorials/Autonomously%20navigate%20in%20a%20known%20map
Thank you for explaining! This is a great project, and looks like it has a bunch of potential!
If you're not too busy, would you mind posting a video of POLYRO, so I can see what POLYRO can do and how he behaves? You don't have to if you don't want to... and can POLYRO &quot;speak&quot; and does he have voice recognition and stuff like that? <br> From, <br> Your personal skeeter lol
I will have videos up soon... I am still working on the website and trying to improve upon the original design. Currently POLRO does not speak, but when I get a chance I will explore incorporating pocket sphynx (speech recognition) and sound_play (text to speech).<br><br>http://www.ros.org/wiki/pocketsphinx<br>http://www.ros.org/wiki/sound_play
Thank you for answering all of my questions!
Great project! I've been wanting to build a robot using similar hardware (Create/Kinect/Webcam/Laptop.) Thanks for pointing to the WillowGarage turtlebot. I've gotten that code all installed on 2 machines and have been able to start it up (just waiting on the battery for the Create to charge up.)<br><br>Any idea what Gyro unit they're using for the Turtlebot? They list one in the specs, but it isn't listed on the preorder page. <br><br>Can't wait to see more about how you mounted the body to the base and what the support structure looks like.<br><br>My only concern with the Turtlebot code is that it seems like it's using the onboard netbook simply as a control interface and it's just passing all the data off to a workstation to do all the computational tasks. For my needs, I want the robot's computer to do 99% of everything, and just expose an API or web interface to do the controlling. <br><br>Also, how does one go about installing the uvc webcam package
Thanks mkopack, In reference to the gyro, the TurtleBot uses a separate 150 degrees/second Single Axis Gyro. At this time I am not sure what specific Gyro they are using.<br><br>Polyro's structure is comprised of Gusseted Plastic Angle Brackets and Expanded PVC (.120&quot; and .240&quot; Thick); which is mounted directly on the iRobot Create with 4 bolts. <br><br>The link below discusses installing individual packages in detail.<br><br>http://ros-users.122217.n3.nabble.com/Installing-individual-packages-turtle-teleop-td425128.html<br><br>If you have any further questions feel free to let me know. I will do my best to answer your questions or point you in the right direction.<br><br>
Great! Thanks!<br><br>I managed to get ROS talking to the roomba last night, and was able to use their Teleop Keyboard control interface to drive the roomba around. I have to say though, it's going to need some adjusting because it was VERY jerky (seems like there's no speed control, it's just 0% or 100% which will make for a very wobbly robot prone to fall overs since the speed doesn't gradually build up or reduce. It's either stopped, or driving full speed!)<br><br>Tonight I'm going to try to test the Kinect to make sure it's talking to that properly.<br><br>I'm going to be using this setup mostly for telepresence experimentation between 2 offices, so I really want to make the control interface something that doesn't require software installation, and keep most of the robot's brains and ROS specific stuff on the robot itself. (Just maybe make the robot act as a web server to provide the API/interface to whatever machine/client hooks to it.)<br><br>Also, I asked on the Turtlebot user's mailing list about the Gyro they're using and found out that it's one of these:<br><br>http://www.sparkfun.com/products/9059<br><br>Unfortunately, they didn't tell me how it's hooked up to the system, and I don't have the EE background to know how to wire it up.<br><br>Since you're using the Turtlebot code for your bot, did you use their Calibration routine? And if so, how did it behave without having the Gyro in there?
Yes, I used their Calibration routine and it seemed to work fine without the gyro. I have not had a chance to use their Teleop, but please keep me updated as you work more with the controls. <br><br>I would like to know more about your telepresence experimentation. If you intend to use your platform primarily for telepresence, perhaps you should check out this tutorial:<br><br>http://procrastineering.blogspot.com/2011/02/low-cost-video-chat-robot.html<br><br>I am interested in implementing a memory prediction system (inspired by Jeff Hawkin's Memory-Prediction Framework) in a social robot. Eventually, I would also like to have Polyro completely self-contained. One of the main reasons I chose ROS was because it can run across multiple machines. I am considering using a series of RoBoard RB-110's for Polyro v2...<br><br>
Yup, saw that blog before. Partially what got me thinking down this path. Where I work, we have one main site in NJ where most of the people work, and then 3 small satellite offices around the country that were part of an acquisition several years ago. I work in one of those outlying offices, and we regularly experience the &quot;out of sight, out of mind&quot; situation because we aren't able to easily socialize with the people at the main office. We also have problems with interacting in meetings because we can't see each other, see what the others are writing on whiteboards, get left out of discussions that take place after meetings break up, etc. <br><br>So, trying to build something like a combination between the procrastineering robot, yours, and the TurtleBot.. Ideally I'd like it to be something that could be manually controlled, but also have capabilities where you could allow the operator to say &quot;drive to this conference room and beep me when you get there, that way I can go do something else in the mean time&quot; and the user doesn't have to manually drive it there. Additionally, capabilities like &quot;follow this person&quot; would e automated so you can focus on the conversation rather than the driving. <br><br>My coworkers and I have some other ideas as well about how to incorporate other functionality, and use this platform for some HRI research that we do here...<br><br>I like the idea of using ROS because they have such a rich library of components to build upon. I'm just a bit of a newb with it so I'm still learning a lot and just getting my feet wet.<br><br>The body you are using for yours is interesting, but not necessary for my needs right now, although we have talked about scenarios where having some sort of arm on the robot would be good for allowing actions like pointing at objects and such.<br><br>Anyhow, right now I'm just trying to get the basic system up and running with mapping and such and then temp mount it all onto the create to demonstrate a basic capability to management so we have something to use to convince them to fund us to get better hardware and some time to build a more robust setup for actual use. They need to be convinced that a setup like this would be useful first. At a minimum I'm going to need a better computer on the robot than I have right now.
Your project sounds very interesting... Be sure to let me know once you get to the design phase. I went through several configurations before settling on the one in this tutorial. Perhaps one my earlier Polyro designs will better suit your project...
Ok, I'm back... I promised I'd report on progress and such...<br><br>First off, here's some pictures of what we ended up with:<br><br>http://i185.photobucket.com/albums/x200/crazybiker_ga/7da54e04.jpg<br>http://i185.photobucket.com/albums/x200/crazybiker_ga/f53ffc3e.jpg<br>http://i185.photobucket.com/albums/x200/crazybiker_ga/133c439a.jpg<br>http://i185.photobucket.com/albums/x200/crazybiker_ga/496d7540.jpg<br>http://i185.photobucket.com/albums/x200/crazybiker_ga/c90ae6c1.jpg<br><br>We're calling it TED - Telepresence Experimentation Device<br><br>We have switched out the webcam in those pictures for a better Logitech HD model, and the mast in those photos was U-shaped Aluminum, which has been replaced with box aluminum (I would have prefered to use 80/20 T-slot but couldn't find any place local that I could just go in and pick it up.) We had to replace the U-bar with box to eliminate serious torsional twisting that would take place whenever we had the robot turn (the monitor would just wobble back and forth like crazy.)<br><br>Anyhow, it works pretty well. We're able to do SLAM right on the robot itself, we have 2-way video working, the monitor is a DoubleSight DS-90U 9&quot; USB powered + signal monitor and it's very light weight, as is the speaker. Since most of the weight of the whole unit is down low, and we were able to use lightweight materials up top, it's still relatively stable.
MKOpack, could you share some code with us?
That is awesome! I am just curious, do you know how much it weights? Also, the usb monitor is a really cool feature, I was thinking about incorporating one in POLYRO v2...
Your robot is probably the most refined and &quot;complete&quot; of the approachably priced robot projects I've seen. It matches a typical persons concept of a robot. It looks like it can actually &quot;do&quot; something. It looks well built and commercial quality. I'm impressed.
Thank you, I really appreciate it.
Love It! Just a thought for the second prototype, you could use <a href="http://www.sparkfun.com/products/10540">Maker Beam</a>&nbsp; &nbsp;for the frame
The MakerBeam looks pretty awesome... The design reminds me of the beams included with the ER1 robot from Evolution Robotics.
I think that is the point of the design, because there are all of these compatible parts out there so people can mix an match the makerbeam with other products and hardware
I don't see how this was beaten by &quot;Bookshelf.&quot; This just LOOKS cool! And it probably works great!
Thank you pnangle!
I don't see what this got 2nd place instead of 1st place! This project rocks! Who got first place? They must've been remarkable.
Thanks MovieMaker! The first place winners were pretty awesome.
Great project! Do you actually use the feedback that the servos are capable of returning? Or would I be able to get away with a more basic servo? Thanks for your help. I would really like to give this a try.
Thanks Scottieboy0630. The design files which are included with this tutorial were made specifically around the AX-12 servo. At this point, Polyro's arms are primarily for communication purposes (no feedback required). Some minor changes to parts in the arms and head would allow you to use standard hobby servos instead of the Dynamixel AX-12's. <br><br>The Dynamixel servo was chosen because of it's many features (including feedback). Instead of USB2Dynamixel, I initially wanted to use an ArbotiX robocontroller with PyPose. Using PyPose would allow you to easily create motion sequences simply by posing and capturing...
Thanks. I will figure something out. Would you happen to have any sample code so that I can get an idea of what the code should look like when I am done, or is the Turtlebot code enough to get Polyro running after the build is finished?<br><br>Thanks for all your help
With Turtlebot, you will be able to do teleoperation, SLAM map building and autonomous navigation of a known map. There are examples of code found in the ROS tutorials (I would highly recommend going over them).<br>http://www.ros.org/wiki/ROS/Tutorials<br><br>I am using Dynamixel servos, so I have also installed nodes and drivers from the ROS package 'robotis' from Georgia Tech Healthcare Robotics Lab. This allows me to operate, query and control Dynamixel servos.<br>http://www.ros.org/wiki/robotis<br><br>Once you complete the ROS Tutorials I would also like to recommend a great Head Tracking tutorial.<br>http://www.pirobot.org/blog/0016/
hey bro i need your help on the garden photo contest congrats on making second place!
Thanks! I voted for your project yesterday. Good luck!
Pretty darn good!
Thanks Computothought!
Hey UglyBuddha, <br><br>I got your solution for charging. (I built a telepresence robot off of a Roomba, which charging method can be adapted to the Create) First, take the barrel jack directly to the docking pads, while still having it connected to the PCB inside. (But don't let the pcb be connected to the docking pads) Then, purchase a 22v to 12v converter. You can then use a Inverter for the Laptop. (But get a universal laptop power adapter, 4 amps, and hook it up to the dock) <br><br>Hope it helped,<br><br>Ben

About This Instructable


177 favorites


More by TimPayne: Heated Build Chamber for Rapman 3D Printer POLYRO (oPen sOurce friendLY RObot)
Add instructable to: