Giter VIP home page Giter VIP logo

Comments (7)

RicardoTrindade avatar RicardoTrindade commented on August 14, 2024 1

Hey there dbonsu I suggest that you create a listener for all the sensors and keep storing values in arraylists and then write them to csv files. You can take a look at my code in https://github.com/RicardoTrindade/NightRecording/tree/master/NightRecording and see how I do it. The code is really similar to this app

from sensordashboard.

thebino avatar thebino commented on August 14, 2024

This code was the result of a hackathon. I suggest you to create an enum for datasources and iterate through it. Consider that the data visualisation has to fit for every datatype.
While a line-graph is excellent for most graphs, it isn't useful for heartbeat or steps.

from sensordashboard.

AttilioCapocchiani avatar AttilioCapocchiani commented on August 14, 2024

I discovered that the class who saves data in the database in SensorFragment.java. How can I take data from other sensors? I understood that it saves data in onSensorUpdatedEvent(SensorUpdatedEvent event) when event.getSensor().getId() == this.sensor.getId(). I don't understand how to save data taken by all sensors. Where should I write the code?

from sensordashboard.

dbonsu7 avatar dbonsu7 commented on August 14, 2024

"When I export data in csv it only exports accelerometer (I suppose it's accelerometer because I can read "acc" in the line). How can I export other sensors data?"Same issue as Attilio.(i didn't really understand your response to him). Furthermore is there any documentation to tell you what the data values(columns in a csv file) and correspond to? Thanks

from sensordashboard.

ruthot avatar ruthot commented on August 14, 2024

Have you solved this issue? I have the same problem.

from sensordashboard.

RicardoTrindade avatar RicardoTrindade commented on August 14, 2024

Take a look at my previous comment ruthot

from sensordashboard.

thebino avatar thebino commented on August 14, 2024

@AttilioCapocchiani in SensorFragment only the currently selected sensor (viewpager page) is recorded. To record all sensor data you should write them to database inside the SensorReceiverService.

from sensordashboard.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.