moving from scratch to python - marty the robot · 2019. 5. 3. · about what music your marty will...

14
Student Name: Marty the Robot Workbook Moving from Scratch to Python

Upload: others

Post on 29-Aug-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Moving from Scratch to Python - Marty the Robot · 2019. 5. 3. · about what music your Marty will be dancing along to! What Body Parts did you use in your Dance Routine? Lesson

Student Name:

Marty the Robot Workbook

Moving from Scratch to Python

Page 2: Moving from Scratch to Python - Marty the Robot · 2019. 5. 3. · about what music your Marty will be dancing along to! What Body Parts did you use in your Dance Routine? Lesson
Page 3: Moving from Scratch to Python - Marty the Robot · 2019. 5. 3. · about what music your Marty will be dancing along to! What Body Parts did you use in your Dance Routine? Lesson

Lesson 1 – Programming Marty with Python

Instructions to Drawing a Robot

What I Imagine Someone Drawing

Page 4: Moving from Scratch to Python - Marty the Robot · 2019. 5. 3. · about what music your Marty will be dancing along to! What Body Parts did you use in your Dance Routine? Lesson

Testing ___________________’s Robot Instructions

Testing ___________________’s Robot Instructions

Page 5: Moving from Scratch to Python - Marty the Robot · 2019. 5. 3. · about what music your Marty will be dancing along to! What Body Parts did you use in your Dance Routine? Lesson

Try writing down some things that you think Marty will be able to do – we’ve added one idea to help you out!

Walk forwards

Page 6: Moving from Scratch to Python - Marty the Robot · 2019. 5. 3. · about what music your Marty will be dancing along to! What Body Parts did you use in your Dance Routine? Lesson

Connecting to a Marty You will need to replace the IP address so that you connect to your Marty – ask your teacher for help with this if you are unsure of your robot’s IP address from martypy import Marty mymarty = Marty(‘socket://192.168.0.XXX’) #Example IP

Page 7: Moving from Scratch to Python - Marty the Robot · 2019. 5. 3. · about what music your Marty will be dancing along to! What Body Parts did you use in your Dance Routine? Lesson

Lesson 2 – Exploring MartyPy Documentation

What do you think the following commands will do?

mymarty.hello()

mymarty.walk()

mymarty.celebrate()

Page 8: Moving from Scratch to Python - Marty the Robot · 2019. 5. 3. · about what music your Marty will be dancing along to! What Body Parts did you use in your Dance Routine? Lesson

Have a look at some of the snippets from different pieces of documentation

- What’s good and useful about them? - What could be improved? What would make them better?

Positives

Things to Improve

Positives

Things to Improve

Page 9: Moving from Scratch to Python - Marty the Robot · 2019. 5. 3. · about what music your Marty will be dancing along to! What Body Parts did you use in your Dance Routine? Lesson

Feedback on My MartyPy Handbook _________________’s Feedback

_________________’s Feedback

Page 10: Moving from Scratch to Python - Marty the Robot · 2019. 5. 3. · about what music your Marty will be dancing along to! What Body Parts did you use in your Dance Routine? Lesson

Lesson 3 – Marty Python Dance-Off

Use the space below to plan out your Dance Routine

Don’t forget to think about what music your Marty will be dancing

along to!

Page 11: Moving from Scratch to Python - Marty the Robot · 2019. 5. 3. · about what music your Marty will be dancing along to! What Body Parts did you use in your Dance Routine? Lesson

What Body Parts did you use in your Dance Routine?

Page 12: Moving from Scratch to Python - Marty the Robot · 2019. 5. 3. · about what music your Marty will be dancing along to! What Body Parts did you use in your Dance Routine? Lesson

Lesson 4 – Shoot a Music Video Music Video Storyboard

Page 13: Moving from Scratch to Python - Marty the Robot · 2019. 5. 3. · about what music your Marty will be dancing along to! What Body Parts did you use in your Dance Routine? Lesson
Page 14: Moving from Scratch to Python - Marty the Robot · 2019. 5. 3. · about what music your Marty will be dancing along to! What Body Parts did you use in your Dance Routine? Lesson