The rig for a human leg, and switch IK and FK using two different rigs.
For the foot there is also a reverse foot control.
I made this rig following the digital-tutors tutorials and reading “Body Language: Advanced 3D Character Rigging”.
If you download it, a feedback is welcome, thanks! 🙂