Question: Overview Plotting Sensor Values in Real - Time The goal of this assignment is to plot sensor values, their mean, and their variance over time.

Overview Plotting Sensor Values in Real-Time The goal of this assignment is to plot sensor values, their mean, and their variance over time. The user
will be able to choose which sensor they want to view. Once the sensor type is chosen, the user will be
taken to a second activity that presents sensor data in two formats: (a) raw values, means, and standard
deviations over time, and (b) an animation based on the current sensor reading. The first Activity should show at least two types
of sensors:
o Accelerometer (must)
o Another sensor of your choice.
The app shows the status of these sensors, i.e.,
present or not, and other info, e.g., max range,
resolution, and min delay.
When a user selects a sensor (e.g. by clicking the
button), the user will be taken to the next
Activity. Second Activity Sensor Data Plotting (must use Custom View)
A custom view should plot the sensor values, a running
mean of last few values, and a running standard
deviation of those last few values on the same plot.The X-axis is time. The Y-axis will contain sensor
values, means, and variances. Hence, there will be 3
lines on the plot (of different colors). Label the axes and add legend. Note that: accelerometer values need to be calculated
using 2+2+2 Because the screen width is limited, once a line
reaches the right edge of the plot, values need to be
shifted one step to the left to fit in the new value.
The plot will be updated in real-time, e.g., once every
100 ms. Pick a time-step for which the plot looks nice.
Keep a back button so that we can go back to the first
activity and choose another sensor. can you give me the java code for this projwct in android studio to complete this task successfully.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!