A real-time motion planner with trajectory optimization for autonomous vehicles | Synapse