Introduction: PACMAN Augmented Reality Ski Trainer Concept
Are you already training for the next winter Olympics? Great, now make sure you have the most outrageously impractical training system. Impractical because this was meant to be a proof of concept and its big, heavy and goofy looking. Outrageous, because you will definitely get some attention going around projecting PACMAN pellets along your path. You had better be fast to avoid the queries and awkward looks you are bound to get!
The concept here is the following: you project a PACMAN path and pellets ahead of you to motivate yourself to push harder. The full application of this would be similar to the popular phone application "Zombies, Run!" where the environment (in the case of ZR the sound of zombies chasing you) changes depending on your speed and the stage of level you are playing. For the PACMAN trainer you could have the pellets whizzing by at different rates, and after swallowing a Power Pellet you would be encouraged to sprint to catch as many ghosts as possible. Again, this has not been implemented: it is merely a movie scrolling in front of you.
I am not sure that anyone will want to actually build this for themselves (I am unlikely to strap it on again), but as with all instructables, you can learn something about the concept and building process.
The concept here is the following: you project a PACMAN path and pellets ahead of you to motivate yourself to push harder. The full application of this would be similar to the popular phone application "Zombies, Run!" where the environment (in the case of ZR the sound of zombies chasing you) changes depending on your speed and the stage of level you are playing. For the PACMAN trainer you could have the pellets whizzing by at different rates, and after swallowing a Power Pellet you would be encouraged to sprint to catch as many ghosts as possible. Again, this has not been implemented: it is merely a movie scrolling in front of you.
I am not sure that anyone will want to actually build this for themselves (I am unlikely to strap it on again), but as with all instructables, you can learn something about the concept and building process.
Step 1: ITEMS
For this project you will need a pocket or pico projector. The projector I own is a pocket projector which is brighter, but it is bigger and needs an external power source. The technology for the pico-projectors is advancing rapidly and the practicality of this type of setup is going to be significantly better in a few years. Even today something like this is the size of a smartphone, and has an internal battery (85 lumens as opposed to my 300)... we're getting there.
If you wish to take on this project you will need:
If you wish to take on this project you will need:
- Pocket or Pico Projector (200-500$)
- Power source: in this case I used a 12V sealed lead acid (SLA) battery from an electric scooter (30$).
- Power converter: in this case I need to provide 110V AC to my projector (50$)
- Helmet to mount camera onto (40$)
- Mounting system: I used some Nd magnets from hard drives and a bent flat bar.
- Computer with PowerPoint or other software to make basic animations.
Step 2: Mounting the Projector
There are many ways you can accomplish this. There are likely some off the shelf mounts you can purchase (mounting cameras for extreme sports). I threw this together using some previously constructed items see this and this for the details on extraction of magnets and mounting a screw to hold the projector.
I then attached a Nd magnet to a bike helmet using stainless steel tie wraps. I bent a piece of flat steel in a vice to turn the projector onto its side to take advantage of the aspect ratio to project further out. The L-shaped bar sticks to the magnet on the helmet and the projector sticks to the same bar with its own magnet.
The battery was connected to the power converter with alligator clips and the projector is plugged into the converter. I had initially wanted to stream video from my smartphone, but ran into many issues. I ended up creating MP4 movie files, loading them on a microSD card and using the integrated player in the projector itself.
I then attached a Nd magnet to a bike helmet using stainless steel tie wraps. I bent a piece of flat steel in a vice to turn the projector onto its side to take advantage of the aspect ratio to project further out. The L-shaped bar sticks to the magnet on the helmet and the projector sticks to the same bar with its own magnet.
The battery was connected to the power converter with alligator clips and the projector is plugged into the converter. I had initially wanted to stream video from my smartphone, but ran into many issues. I ended up creating MP4 movie files, loading them on a microSD card and using the integrated player in the projector itself.
Step 3: Creating the Video
You can use the software you have at your disposition. I have enough experience with PowerPoint (2013) to make it do what I needed. There may be more powerful or straightforward software out there, please let me know. I've used Corel Rave (circa 2001) which was great, but I couldn't find a modern or cheap equivalent, please leave a comment about options.
- Draw the two blue lines representing the edge of the corridor. They widen at the edge nearest the skier because of the projector aspect ratio (extreme keystone effect because you are projecting at an oblique angle)
- Draw the pellets: I used two overlapping white rectangles. Group it for ease of manipulation.
- Copy and paste the pellets until you have 8 of them.
- Spread them apart a constant distance, this will ensure that when the animation loops, you don't get too much of a jump.
- Group the 8 pellets.
- Add custom animation (line). In the new versions of Powerpoint you can see a ghost of the starting position, try to match the ghost with the original position of other pellets (again to avoid the jump when the animation is looped). The direction should be towards the wide end of the blue lines (towards the skier).
- Change the settings of the animation: remove "smooth start" and "smooth end", set speed to "very slow" and set "Repeat till end of slide".
- In the "Transitions" ribbon menu: Change the settings of the "Advance Slide" to "After" and set 30 seconds.
- Use "Export" and "Create Video" to export the video in the format of your choice.
Step 4: Get Out There
I felt very goofy out there with this thing on and was glad to not run into any neighbors, but I had to see what it felt like. It was pretty cool, even without the actual feedback of the pellet speed being linked to my actual speed or the challenge of chasing ghosts. I can imagine this being implemented more widely once the technology catches up. However, the use of projectors in augmented reality has some other significant limitations:
I am sure that we are going to see some commercial attempts at this type of sport training video games, but more likely with the use of head's up displays such as google glass, which is less cumbersome and offers some real augmented reality action.
- Ambient light (not as much an issue in winter in northern or southern extremes due shorter days)
- Projection surface (snow is excellent surface compared to most natural surfaces),
- Smoothness of the mount (jogging is super bouncy and could cause motion sickness).
I am sure that we are going to see some commercial attempts at this type of sport training video games, but more likely with the use of head's up displays such as google glass, which is less cumbersome and offers some real augmented reality action.