added null check before printing data in manual drive fragment
added null check for locator data in manual api fragment
aded explicit default 0 values to previousX and previousY