sidcode - Roboticshttps://sidcode.github.io/2015-04-01T00:53:52+00:00Notes for this blog2015-04-01T00:53:52+00:002015-04-01T00:53:52+00:00Siddhant Shrivastavatag:sidcode.github.io,2015-04-01:/letters/notes-for-this-blog/<p>List - 0. GSoC as of now (1st May 2015) 1. Disqus comments integration 2. About me page 3. Blog name 4. 1pad - a post every two days 5. On Typeracing 6. On Movies and Literature 7. On writing. 8. on algorithms. 9. on research. 10. on mit media lab 11 …</p><p>List - 0. GSoC as of now (1st May 2015) 1. Disqus comments integration 2. About me page 3. Blog name 4. 1pad - a post every two days 5. On Typeracing 6. On Movies and Literature 7. On writing. 8. on algorithms. 9. on research. 10. on mit media lab 11. on linux (arch), etc.</p>Tonight's Robot : TARS from Interstellar2015-03-16T18:10:52+05:302015-03-16T18:10:52+05:30Siddhant Shrivastavatag:sidcode.github.io,2015-03-16:/letters/tonights-robot-tars-from-interstellar/<p>With this post, I&rsquo;ve decided to flag off a new blog series, <strong>Tonight&rsquo;s Robot </strong> whose raison-de-etre are the robots from real life research and fiction; what they can teach us about Robotics and its allied fields (Human-Robot Interaction, Artificial Intelligence, Roboethics, etc).</p> <p>So this post is about the …</p><p>With this post, I&rsquo;ve decided to flag off a new blog series, <strong>Tonight&rsquo;s Robot </strong> whose raison-de-etre are the robots from real life research and fiction; what they can teach us about Robotics and its allied fields (Human-Robot Interaction, Artificial Intelligence, Roboethics, etc).</p> <p>So this post is about the U.S Marine Corps robot commanders from the 2014 blockbuster <em>Interstellar</em> named TARS, CASE, and KIPPS.</p> <h1>Robots of Interstellar (2014)</h1> <p><img alt="interstellar" src="proxy.php?url=https://sidcode.github.io/images/articles/2015/tars.jpg"> <em>Picture by Jeorge B. George</em></p> <h1>Here&rsquo;s what these KitKat bar shaped Bots teach us:</h1> <h2>1. Companionship</h2> <blockquote> <p>The space missions on Interstellar were decades-long (yeah, relativity). In this scenario, with crew commanders single-manning a ship and spending years with no human around - things can get quite monophobic. The Artificially Intelligent and almost sentient robots shown in Interstellar showcase <em>features</em> like empathy, identification of needs, sarcasm, humour, honesty; just like one would expect a human to be.</p> </blockquote> <h2>2. One with the humans</h2> <blockquote> <p>The robots actually spend all their time with humans or other robots. They are as important as the human flight commanders. Equal responsibility and equal capability sans the Relativistic Math skills which Cooper didn&rsquo;t possess. <em>Treatment as equals</em> was something I covered in the post on <em>Big Hero 6&rsquo;s</em> <strong>Soft Intelligent Bots</strong> article as well. The robots of the future <strong>would not</strong> be limited to the <strong>4Ds</strong> - <em>Dangerous</em>, <em>Dirty</em>, <em>Daunting</em>, <em>Dull</em> but would cohabitate with humans as equals.</p> </blockquote> <h2>3. Human-Centric, not Robo-Centric</h2> <p><img alt="baymax meets tars" src="proxy.php?url=https://sidcode.github.io/images/articles/2015/baymaxtars.jpg"></p>Soft Intelligent Bots2015-03-11T00:53:52+00:002015-03-11T00:53:52+00:00Siddhant Shrivastavatag:sidcode.github.io,2015-03-11:/letters/soft-intelligent-bots/<blockquote> <p>Disney doesn&rsquo;t always make a robot movie, but when it does it creates a new yardstick for scientific research altogether.</p> </blockquote> <h1>Big Hero 6 - Disney (2014)</h1> <p><img alt="Baymax" src="proxy.php?url=https://sidcode.github.io/letters/soft-intelligent-bots/bighero.png"></p> <p>This post is not a run-of-the-mill regular weekly thing I do. I happened to stumble over <em>Big Hero 6</em>, a movie based on an …</p><blockquote> <p>Disney doesn&rsquo;t always make a robot movie, but when it does it creates a new yardstick for scientific research altogether.</p> </blockquote> <h1>Big Hero 6 - Disney (2014)</h1> <p><img alt="Baymax" src="proxy.php?url=https://sidcode.github.io/letters/soft-intelligent-bots/bighero.png"></p> <p>This post is not a run-of-the-mill regular weekly thing I do. I happened to stumble over <em>Big Hero 6</em>, a movie based on an adolescent roboticist&rsquo;s life (enough to get me hooked). They say <em>serendipity</em> is a good thing. And they couldn&rsquo;t be more right. What are the odds of bumping into a life-changing movie after watching Apple&rsquo;s latest keynote presentation of the new MacBook (tactile trackpad) and the new medical research platform - <a href="proxy.php?url=https://www.apple.com/researchkit/">ResearchKit</a>.</p> <h1>The things I love about <strong>Big Hero 6</strong></h1> <h2>1. Inspired from Robotics research, not the other way round</h2> <blockquote> <p>The film&rsquo;s producers trailed a non-existent path by learning from the research on <em>Human-Robot interaction</em> and <em>Soft Robotics</em> at <strong>Robotics Institute, Carnegie Mellon University</strong>.</p> </blockquote> <h2>2. Bot-fighting</h2> <blockquote> <p><strong>Real Steel</strong> is passe now. &lsquo;Big Hero 6&rsquo; starts with underground bot-fights in a conceptualized fusion town - San Fransokyo. And who wins the bot-fight. Not the strongest or goriest bot, but the agile bot with <em>magnetic-bearing servos</em>.</p> </blockquote> <h2>3. Puberty</h2> <blockquote> <p>Hiro Hamada - the protagonist wunderkind takes a sloppy decision multiple times, goes through mood-swings. He has the same tragic flaws that all of us can connect with. He almost loses his mind over making a career in the winning-money-comes-easy bot fights. This is when the role of his elder brother - Tadashi kicks in. And boy does his short-lived (no pun) role inspire all of us to push the boundaries of Robotics.</p> </blockquote> <h2>4. Parenting done right.</h2> <blockquote> <p>Hiro wouldn&rsquo;t be the humble prodigy if not for his brother Tadashi and his aunt Cass. The film dabbles with the myriad aspects of teenage and parenting - scolding, concern, care, love, help, unconditional support. The elder brother is a parent to him - guiding Hiro on the right path whenver he goes wayward....till the very end. Tadashi doesn&rsquo;t die. <em>Tadashi is here.</em> - says Baymax multiple times in the movie. And till the end, Tadashi lives through Baymax and Hiro. Later in the movie, it becomes quite prominent how Baymax becomes a parent to Hiro - Baymax to Hiro <em>&ldquo;Seatbelts save lives. Always fasten them.&rdquo;</em></p> </blockquote> <h2>5. Robotics is hard, and rewarding</h2> <blockquote> <p><em>&ldquo;I would lose my mind if I don&rsquo;t apply here&rdquo;</em> - says Hiro when Tadashi gives him a trip of his university lab. Flying cats, Industrial Manipulators playing Table Tennis, Electro-magnetic suspension on bike wheels, Laser-induced plasma, 3-d printed carbon fibre armours, Body-tracking, Chemical Metal embrittlement - <strong>this film inspired the maker in me</strong>. It beats even Iron Man after a point, which by the way is/was my guide to Robotics. And the <em>magnum opus</em> - <strong>Baymax</strong> - your personal health care assistant. He is the star of the film, through and through.</p> </blockquote> <h2>6. Soft Robotics</h2> <blockquote> <p>The film gets infinite brownie points for treading into the territory of Soft Actuated Robotics. The huggable inflatable Robot that can lift a 1000 pounds - that is what the future should be about - not metallic humanoids. This field of study is only beginning to emerge, and using a concept like Soft Robotics with the use case of a healthcare robot - <strong>the filmmakers have done a fascinating outstanding job</strong>.</p> </blockquote> <h2>7. The Maker spirit</h2> <blockquote> <p>The MIT Media Lab Design Innovation workshop changed the way I look at hacking. It is about identifying problems, storyboarding ideas, thinking of solutions, and implementing them as efficiently as possible. Hiro Hamada, the quintessential maker - sees a need, and fulfills it in his garage. I would definitely have a garage like that soon.</p> </blockquote> <h2>8. Swarm Robotics</h2> <blockquote> <p>The cuteness of the Soft Robot is challenged by grey goo - neurotransmitter controlled <strong>Microbots</strong> developed by Hiro for the Robotics exhibition. As Hiro comments - &ldquo;The applications for this tech are <strong>limitless</strong>; the only limit is your imagination.&rdquo; He says it right. But a villainous imagination can only flip cars and kill people. And that&rsquo;s what happens. Hiro battles this evil with his friends and Baymax till the very end.</p> </blockquote> <h2>9. Robots treated as equals</h2> <blockquote> <p>The title of the movie is Big Hero <strong>6 </strong>. This includes the 5 humans and Baymax, the film is a great step forward in Roboethics. <strong>Our programming prevents us from injuring a human being</strong>.</p> </blockquote> <h2>10. Expectations from a Health Care robot</h2> <blockquote> <p><strong>&ldquo;I fail to see how this makes me a better healthcare companion &ldquo;</strong>. Baymax voices this concern multiple times with his intimidating upgrades. The movie follows the lines of <strong>Robot and Frank</strong> where a personal robot attendant understands the needs of its user - right or wrong. Baymax is reticent when it comes to following harm-causing orders. From this, we can learn that AI can be controlled, and need not result in singularity. Even if it does result, the robots would be intelligent enuough to keep the humans that are good at heart.</p> </blockquote> <p>So here&rsquo;s to the robots of today and tomorrow - who can feel just like a human - <strong>social robotics</strong> and human-robot interaction are potential early adopters of the developments that sprout from this research.</p> <p>Here are some Social Robots that might interest you:</p> <h1>Jibo - MIT Media Lab</h1> <p><img alt="Jibo" src="proxy.php?url=https://sidcode.github.io/images/articles/2015/jibo.jpg"></p> <h1>Romeo - Aldebaran Robotics</h1> <p><img alt="Romeo" src="proxy.php?url=https://sidcode.github.io/images/articles/2015/romeo.jpg"></p>Identifying Bots from above2015-02-13T00:53:52+00:002015-02-13T00:53:52+00:00Siddhant Shrivastavatag:sidcode.github.io,2015-02-13:/letters/identifying-bots-from-above/<p>After a firm resolve to abstinate from using C++ for any programming project, I am back to square one - this time with a Robotics research project. The team at The Robotics lab is creating a testbed for swarm algorithms on epuck bots. This entails localization and communication. I have chosen …</p><p>After a firm resolve to abstinate from using C++ for any programming project, I am back to square one - this time with a Robotics research project. The team at The Robotics lab is creating a testbed for swarm algorithms on epuck bots. This entails localization and communication. I have chosen to ID each of the bots while moving via a QR code. This will be done using OpenCV and C++. Learnt about -</p> <ul> <li>CMake</li> <li>g++ compatibility and flags</li> <li>OpenCV warping and contours</li> <li>Cascade Classifiers</li> </ul> <p>The <code>zbar</code> library for linux makes decoding qr codes a breeze. All this while, figuring out the perfect library for this job was a red herring. It even turns out that ROS has its own wrapper library - <strong>roszbar</strong> to use the features of zbar as a ROS node, thus extending the scope of the lab to work with our TurtleBot much easier.</p> <p>Here&rsquo;s to visually identifying robots in a lab.</p>