Text this: Optimization Control of Cooperative Trajectory towards Dual Arms Based on Time-Varying Constrained Output State