store
This commit is contained in:
@@ -21,7 +21,7 @@ public class FitnessActivity extends RobotActivity implements RobotLifecycleCall
|
|||||||
@Override
|
@Override
|
||||||
protected void onCreate(Bundle savedInstanceState) {
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
setContentView(R.layout.activity_fitness);x
|
setContentView(R.layout.activity_fitness);
|
||||||
|
|
||||||
GesturePath.Builder gesturePathBuilder = new GesturePath.Builder();
|
GesturePath.Builder gesturePathBuilder = new GesturePath.Builder();
|
||||||
|
|
||||||
|
@@ -92,7 +92,7 @@ public class PersonalMotionPreviewElement extends View {
|
|||||||
this.path = path;
|
this.path = path;
|
||||||
this.motionProcessor = new MotionProcessor();
|
this.motionProcessor = new MotionProcessor();
|
||||||
this.motionProcessor.startListening();
|
this.motionProcessor.startListening();
|
||||||
this.motionProcessor.setMotionDataEventHandler((processed, preprocessed, sampleIndex, sampleRate) -> {
|
this.motionProcessor.setMotionDataEventHandler((processed, preprocessed, sampleIndex, sampleRate, deviceId) -> {
|
||||||
// TODO: Implement the calculation of the `performingPath` based on the motion data
|
// TODO: Implement the calculation of the `performingPath` based on the motion data
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user