Genetic Algorithm-Based Trajectory Optimization for Digital Twin Robots