Tesla Motors (NASDAQ: TSLA) is moving past a legal dispute it got into with one of its former engineers. The company settled a lawsuit it brought in 2019 against Cao Guangzhi, accusing him of copying the source code of its Autopilot assisted driving software platform. Tesla had alleged Cao had done so before joining XMotors, the U.S. business of China-based autonomous-driving company Xpeng (NYSE: XPEV). Under the terms of the settlement, Cao will financially compensate Tesla for his actions. The precise amount has not been disclosed. Autopilot is a high-profile feature in Tesla automobiles. Although the name implies an autonomous driving system, Autopilot is actually a set of assisted-driving solutions including next-generation cruise control and parking assist. The company has intimated that, in time, Autopilot will include self-driving functionalities. Image source: Tesla Motors. Tesla has not commented on its settlement with Cao. The former employee's legal representative, in a statement sent to Reuters, claimed that Cao did not provide any Tesla data to Xpeng or any other entity. In addition, said the representative, Cao didn't personally access any of Tesla's information. The news agency added that XMotors "said it respected intellectual property rights and relied on its in-house developed proprietary R&D and intellectual property." XMotors was not a party in the lawsuit brought by Tesla. Cao is no longer employed at the Chinese company. Although this can't be considered a major legal issue -- and therefore big victory -- for Tesla, it is an encouraging sign that the company is ready and able to vigorously defend its business. Autopilot is an attractive feature that helps draw customers, and as such it's worth protecting. 10 stocks we like better than TeslaWhen investing geniuses David and Tom Gardner have a stock tip, it can pay to listen. After all, the newsletter they have run for over a decade, Motley Fool Stock Advisor, has tripled the market.* David and Tom just revealed what they believe are the ten best stocks for investors to buy right now... and Tesla wasn't one of them! That's right -- they think these 10 stocks are even better buys. See the 10 stocks *Stock Advisor returns as of February 24, 2021 Eric Volkman has no position in any of the stocks mentioned. The Motley Fool owns shares of and recommends Tesla. The Motley Fool has a disclosure policy.Source