On the boundary control of a flexible robot arm