Greetings

As a reminder of what this project is about, please take a moment to read my poem

<aside> 🥅 Goal: Provide students with a quick and easy way to comprehensively capture and display their robotics projects so that they can very easily convey all that they may create that day

</aside>

Today you will: build and program your own simple robot, film it from several angles, process the video, and upload it to SwipeVideo

https://usw.swipevideo.site/w/a946c87077


1. Making and programming your robot 🧘(15 minutes)

  1. First things first: make a robot.

  2. Next, download one of the SPIKE Prime code files (in blocks or Python) 👇

    Display robot - blocks.llsp

    Display robot - Python.llsp

  3. Open the file and then copy and paste your commands under the block/function that says YOUR_CODE_HERE

  4. Change the variable checkpoints to the value of your choice. If you are going to take videos by hand, 4-8 should be good. If you want to use the train, choose 16

  5. Change the variable actionLength to the time (in seconds) it takes your robot to complete its action. It's better to overshoot than undershoot with this number

What the program does ⚙️

  1. Waits until you press the right arrow button to start
  2. Beeps at a specific frequency to signal the start of an action
  3. Conducts an action (the commands you wrote)
  4. Waits a couple seconds for you to move the camera
  5. And repeats a set number of times

2. Filming your robot by hand 🎥 (15 minutes)

  1. Hold up your phone and start recording (don't stop recording until you get all angles)
  2. Press the right arrow button on your robot to start it
  3. The robot will beep and then complete the action you programmed it to
  4. Once the action completes, move your phone to another position looking at the robot
  5. The robot will again beep and then complete the action you programmed it to
  6. Continue moving your phone to different positions to capture different views
  7. Stop the recording
  8. Get the video onto your computer when finished

Notes:

Taking a screen capture of the code to overlay 👨‍💻 (optional, 5 minutes)

Using the screen capture software of your choice, take a screen capture of the SPIKE Prime's code blocks running


3. Processing with the Python parsing program 🎞️ (10 minutes)

What the program does ⚙️


4. Creating the swipe video ↔️ (10 minutes)

  1. Log in to SwipeVideo 👉
  2. Select contents from the left side of the page
  3. Select the + window to create a new swipe video
  4. Enter the name of your swipe video (make it contain your name) and click create
  5. Drag the videos from the processedVideos folder onto the webpage and wait for them to upload
  6. Click sort by file name number and click sort
  7. Now click preview in the top right to view your swipe video!
  8. To make it public
    1. Select private in the top right
    2. Click the switch from private to public
    3. Copy the link under player url
    4. Click change to finish
  9. Now you can link to the swipe video when creating your hackathon website post