Imagine David's set up, but continuously rotating anticlockwise at an angular velocity of w radians per second instead of oscillating. Define a point on the circumference of the cylinder (radius r) which, when the pendulum rod is vertical, is directly opposite the point of contact with the flat plane, call it P. The cylinder centre moves to the right at a velocity of w*R. Relative to the cylinder centre, point P has a horizontal velocity of w*r*cos(wt) where t is the time since the rod was vertical. The combined horizontal velocity relative to ground of point P is thus
w*r*(1+cos(wt)). This is =0 when wt=180 and a maximum when wt=0, and point P moves in a cycloid.
Now consider the motion of the bob, which is at a distance L from the centre of the cylinder. The velocity of the centre of the cylinder is as before, but the velocity of the bob relative to the cylinder centre is +w*L*cos(wt) so the combined motion is wr+wLcos(wt). This is clearly not =0 at wt=180, so no cycloid and no coconut.
However, if instead of the 2p pieces, the top of the pendulum was a curve (a sort of tee with a very long upright), this curve being equal to L. I think this then gives cycloidal motion to the bob.
Have I just repeated what has been said before? Probably, but it kept the grey cells working whilst waiting for SWMBO.
How do you stop it walking? Opposed tapes like the end of a Newcimen engine beam? Fine gear teeth? Neither appeals to me, but then I'm not a pendulista.