Debt (Details) - USD ($)
Dec. 31, 2019
Dec. 31, 2018
Debt (Details)    
Notes payable $ 3,071,300 $ 1,800,000
Convertible notes payable 381,667 581,950
Test vehicle financing 70,418 56,231
Note payable - related party 21,641 12,897
Note payable - UPT minority owner 80,000 190,000
Total 3,525,026 2,641,078
Debt discount 524,465 (513,245)
Total 3,000,561 2,127,833
Less: current portion 2,971,232 2,091,014
Long-term portion $ 29,329 $ 36,819