End-point control of a flexible link using acceleration and displacement feedback