Text this: Optimization of time and energy in straight one-sided robotic assembly lines