🎥Lesson 4: Robot Cinema
Last updated
Last updated
The aim of this lesson is to explore how to turn your Misty into a robot cinema. By the end of this lesson, you'll be able to record your own videos and play them on Misty's display. If you have any questions about the video blocks, you can check out Vision.
In the last lesson we learned how to upload custom images on Misty, but did you know that you can turn Misty into a mini cinema too? Every movie needs an introduction screen or image, let's try making one by uploading an image or expression and combine it together with a LED light.
To upload your video you can follow exactly the same steps as for the upload audio and upload image blocks. Once you made or found the video you want Misty to show, you can play it by using the play video asset block from the 'Vision' tab in your Misty Blocks. You can also add some special effects by selecting a different LED color.
Misty loves to take pictures together with her friends and you are no exception. If you would like Misty to take a picture of you, an object or landscape, you can go the Vision tab under Explore in Misty Studio and press 'Display Photo'
Success! You can now download the photo by pressing the 'Download photo' button. Once you've downloaded it you can give the file a unique name. Go back to your Blockly program and upload the image using the upload image block.
Now let's imagine you are Misty's personal director and want to record a short movie with her. You can go to the Record Video section in the 'Vision' tab in under Explore. You can also choose the resolution of the video.
If you are here it means you are already familiar with most of Misty's capabilities! Compliments!
But you're only at the beginning of your journey. Before moving on, try recording a short movie and use what you've learned so far to create your very own movie introduction with Misty. Be creative and use all her functionalities. She'll be a perfect actor because she will listen to your every command.
Feel free to share it with the rest of the Misty community!
If you are using the take picture or video recording in Blockly, you can access the files directly from the browser console ("Cmd + Option + J" (on a Mac) or "Ctrl +Shift +J" (on Windows). As an alternative, you can right-click on the webpage and click "Inspect" to open the developer console.).
Open it before running the code, it will look like this:
Here you can see all what Misty is doing. To access the files you will need to find this area in your console:
When she takes a picture or records a video she creates a link to that content. Click on the 7th line and expand it. The first link is your picture or video.