pending commands cleared on launch and sensor sending now working.