1 / 60

NCWIT Social Robotics Workshop

http :// www.albany.edu /robotics. NCWIT Social Robotics Workshop. What is a robot?. Machine Built to do job(s ) Programmed Maybe autonomous If we want robots to do things for us, we have to program them How do we program a robot? What does the robot need to KNOW to do useful things?.

lavender
Download Presentation

NCWIT Social Robotics Workshop

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. http://www.albany.edu/robotics NCWIT Social Robotics Workshop

  2. What is a robot? • Machine • Built to do job(s) • Programmed • Maybe autonomous • If we want robots to do things for us, we have to program them • How do we program a robot? • What does the robot need to KNOW to do useful things?

  3. How do robots work? • What do they need to do to perform tasks? • Imagine picking up some trash from the floor and taking it to the nearest garbage bin • Need to get an understanding of what’s around them, like where the trash is (SENSE) • Need to work out what they are going to do, and how they are going to do it (PLAN) • Then they need to actually do it (ACT)

  4. What does this have to do with computer science? • Designing new robots • New sensors • New ways of combining sensor information • New effectors • Making robots think • How to get them to talk • How to make their eyes work • All of this involves writing programs

  5. So, what is computer science? • Computer programming • Create the behavior you want the robot or computer to do • Think ‘algorithmically’ • Write down that algorithm in a way that a machine understands • Test it, improve it

  6. Acting: How do I do it? • How do we do things? • We move around • We pick things up • We drop things • Robots need to use the same • Called ACTING

  7. Effectors (for Action) Speech Wheels Motor Gripper Display Tracks Legs Face

  8. NXT-g

  9. New program

  10. Start block

  11. Programming blocks

  12. MOVE

  13. Making the robot move

  14. Making the robot move

  15. Making the robot move

  16. Making the robot move

  17. Making the robot move

  18. Making the robot move

  19. Making the robot move

  20. Making the robot move

  21. Making the robot move

  22. Making the robot move

  23. Download program to robot

  24. Tasks (three different challenges) • Move forward 3 seconds, then backward 3 seconds • Move forward 3 seconds, and turn left or right (try to get close to a 90o turn) • Drive around a square • Is there a better way to do this? • Let’s create a new program

  25. Loops

  26. Loops

  27. Loops

  28. Loops

  29. Tasks(two different challenges) • Use the loop structure to make your robot drive around in a rough square • Can you make it so that the robot drives EXACTLY once around the square, and then stops? • Can you make it drive once around a square, and then rotate roughly 360 degrees on the spot?

  30. Sensing: What’s going on? • What do we use to find out about the world around us? • Eyes • Ears • Touch • Taste • Smell • Robots need to use the same • Called SENSING

  31. Sensors Camera Sound Infra Red Color Ultra Sonic Touch

  32. Sensing and Switching

  33. Sensing

  34. Sensor control

  35. Sensor control

  36. Sensor control

  37. Sensor control

  38. Sensor control

  39. Sensor control

  40. Switch control

  41. Switch control

  42. Switch control

  43. Sensing • Create a new program (called avoidObjects): • Drive forward • IF there’s an object ‘close’ to the robot • THEN turn 90 degrees left or right (your choice) • Do this forever

  44. Avoid objects

  45. Sensing • Create a new program (called avoidRedObjects): • Make the robot drive around • IF it detects something RED • THEN stop

  46. What have you been doing? • You’ve been programming your robot • Giving the PLANS or INSTRUCTIONS to do tasks • Using SENSORS to help make decisions • Using EFFECTORS to carry out those plans

  47. Planning: What should I do? • How do we decide what to do? • Make decisions of what to do… • …and when • Put things together in sequence • Make a plan (for the day, or week, or…) • Have to be able to deal with things that occur as we do our stuff • Robots need to use the same • Called PLANNING

  48. Plan • Think of IF-THEN rules • IF <see garbage> THEN <pick-up> • IF <holding garbage> AND <at trash can> THEN <drop garbage> • IF <10PM> OR <battery low> THEN <sleep> • IFNOT <holding garbage> THEN <search room>

  49. Definition of a social robot • Social robots will interact with us in our world • Need to cooperate, communicate and collaborate with humans • Have to understand our goals, our actions, and our behaviors • What do robots need to achieve this?

  50. Example: Roomba

More Related