i wouldnt use dynamics for this, too much going on and setup for what you need out of it.
just create a pedal mesh with a pivot where its bottom meets the foot or floor, and connect its rx or rz to the rotation of the ankle jnt, or even orient constraint may work better (for offset and a crude animatable on/off function) .
should do the trickĀ