SHARE
TWEET

Untitled

a guest Jan 21st, 2020 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.    //sensors on device
  2.     private SensorManager mSensorManager;
  3.     private Sensor mSensorAccelerometer;
  4.     private Sensor mSensorGyroscope;
  5.     private Sensor mSensorMagnetometer;
  6.     private Sensor mSensorOrientation;
  7.  
  8.     //values in app
  9.     private TextView mTextSensorAccelerometer;
  10.     private TextView mTextSensorGyroscope;
  11.     private TextView mTextSensorOrientation;
  12.  
  13.     //graph
  14.     private LineChart mChartGyro, mChartAccel, mChartMagneto;
  15.  
  16.     private float xValue, yValue, zValue; // Variables to store data retrieved form sensor
  17.  
  18.     private Thread thread;
  19.     private boolean plotData = true;
  20.  
  21.     //writing data to file
  22.     private File fileDir, file;
  23.     private TextView tv;
  24.     private Context context;
  25.  
  26.     //button to start and stop
  27.     private Button startButton;
  28.     private Button stopButton;
  29.     private boolean record = false;
  30.  
  31.     // Server related
  32.     private FirebaseDatabase mFirebaseDatabase;
  33.     private DatabaseReference mDatabase;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top