Washington, DC (CNN) Uber is laying the groundwork to bring its self-driving cars to the nation's capital.

The ridesharing company said Thursday that it will begin mapping the streets of Washington DC. Three mapping vehicles equipped with cameras and sensors will spend a few weeks driving around the city and collecting data. High-definition maps are considered essential to operating self-driving vehicles . They help the cars know where they are and safely navigate their surroundings.

Uber UBER plans to test its autonomous vehicles in the city later this year, but hasn't committed to an exact timeline. Until then, Uber said the mapping data will enable it to capture scenarios unique to the city and virtually test how its vehicles would handle them in a simulated environment.

Uber said it selected DC because of the city's history of developing technologies to solve mobility issues. DC was quicker than most cities to embrace ridesharing, bikesharing and shared scooters.

Uber has completed mapping Dallas, San Francisco and Toronto. However, its vehicles currently only operate autonomously in Pittsburgh, where its self-driving team is based.

Read More