I've ran into a design issue with my current project, and I was hoping to pick a few brains here to come up with a solution. I'll try my best to explain the issue;
I'm trying to have one cylinder move in a linear motion, back and forth inside another cylinder, by means of a shaft being rotated on the outside of the larger cylinder. The shaft that is doing the rotating would be connected to the center of the flat side of the cylinder. Keep in mind the only thing I want to move back and forth is the one cylinder that is inside the other, the shaft can not move in a linear fashion as well.
The shaft could be removed, if it simplified the design, to magnetic coupling.
For every 360 degree rotation of the shaft, I want the inside cylinder to make one cycle back and forth. At 0, the cylinder is at the top, at 180, it is at the bottom, and back to 0 (360) I want the cylinder back at the top.
The closest thing I've found so far that I suppose is on the right track are called barrel cams, but if anyone has any other ideas they are greatly appreciated! I hope I explained it well enough and thanks in advance!