Tied together accelerometer and robot classes.