Avoiding cars and pedestrians using velocity obstacles and motion prediction | Synapse