Megazilla Simulation
I watched SpaceX's Megazilla video. The video was about a rocket being launched, completing its flight, and then being retrieved by Megazilla's chopsticks. I decided to try implementing this technology. Since I couldn't make a rocket, I thought of hanging a paper cup on a drone to act as a rocket, and making Megazilla out of Legos. I thought of controlling Megazilla by watching a video on my laptop, imitating the idea of multiple engineers controlling the model Megazilla in SpaceX's control center while looking at a screen.
Supplies
- Lego EV3 set (materials that middle school students can easily make a robot with)
- Toy drone (role as a rocket)
- Paper cup ((role as a body of rocket)
- MicroSD card (to boot EV3 with ev3dev2)
- Wifi dongle
Sketch
Implementing SpaceX's Megazilla
- Create a window to control Megazilla using python tkinter, openCV, and paho-mqtt.
- Create Megazilla with EV3 set.
- Hang a paper cup on a drone to act as a rocket.
- When the drone rocket approaches Megazilla, activate Megazilla to catch the rocket.
Making Megazilla
- Make a simple Megazilla with the Lego EV3 set.
- Download the ev3dev boot image to run EV3 with Python and flash the microSD card.
- Install mosquitto, paho-mqtt to run mqtt on EV3 and python-ev3dev2 to run the robot with Python.
Code to run on LEGO EV3
Making a Drone Rocket
At first, I tried to make a drone rocket body with 3D printing (photo attached). However, the rocket could not fly because of its weight. I cut the 3D model with a saw to reduce the weight, but the rocket was still too heavy to fly. So I decided to make the rocket body in the shape of two paper cups stacked on top of each other.
Downloads
Programing
I created a window panel to control Megazilla.
I sent a message to mqtt to control the speed, direction, and rotation angle so that I could catch Megazilla while watching the screen transmitted from Iriun Webcam in Windows.
Megazilla Stimulation
After completing the above process, I simulated the robot I made catching a safely returned rocket like SpaceX's Megazilla. It wasn't perfect, but I was able to successfully catch the drone rocket. This project was very fun for me.