Trajectory generation with curvature constraint based on energy minimization | Synapse