Text this: Input shaping with an adaptive scheme for swing control of an underactuated tower crane under payload hoisting and mass variations