Inspiration

I have always wanted to steer a pirate ship. Ever since I watched Pirates of the Caribbean as a child, I've always thought that the coolest job was steering the wheel.

What it does

Shipworthy is an app that allows you to steer a ship in the Unity game engine using a real steering wheel. It detects the color green on a steering wheel in the center and top. Depending on how we turn the steering wheel, the ship reacts respectively.

How we built it

We used several python libraries to make Shipworthy sail. The detection is done with the python library, OpenCV, and to execute the keypresses, we used XQuartz.

Challenges we ran into

We ran into some difficulty trying to find a ship simulator that would run on Mac/IOS using the keys, wasd, so that we could demo our python detection code. We did not find anything and ended up making our own Unity game from a Youtube tutorial link, the first of a four-part tutorial.

Accomplishments that we're proud of

We are extremely proud that we were able to make our own unity game even though it wasn't our main goal. Being able to test our python code on a game we made ourselves was a very cool experience. It allowed us to learn how to use OpenCV as well as our newfound skills in Unity for future projects.

What we learned

We learned how to use OpenCV to detect colors and track them within an emulator. We also learned how to make a wave simulator in Unity as well as rigid body physics to allow our ship to properly react to waves.

What's next for Shipworthy

We hope to further improve our detection software and make a more official steering wheel. We are also interested in further developing the game we made to test our python code.

Built With

Share this project:

Updates