add method to collect linear acceleration data