GitHub hosted
Public
Sample Nstrumenta public project
Download repository: zip
Nstrumenta project example for code, data and sandbox use, including active commit webhook to GitHub.
Set up the project and link to the code repository
- Fork this repository so you can make edits
- Create a new project on https://nstrumenta.com
- Add the repository you created to your project
Record Data
- Open the Record page in your nstrumenta project
- Configure inputs to record, for this example, open nstrumenta from a mobile phone and select the Device Motion input to record the inertial sensors on your device.
- Click Start Recording, wave the device around to make an interesting log, and then click Stop Recording to finish the log
View Data
- Your recording will be listing in the Data page in your nstrumenta project
- clicking on the name will open a time series plot
Edit your code in VS Code
- clone your repository locally
- open the root folder in VS Code
- install the nstrumenta VS Code extension
- click on the grayed out VS Code logo in nstrumenta and select Init to initialize the connection
- When successfully initialized, the logo will turn blue and you can ping to test the connection
- use the nstrumenta.update command in VS Code to update your project with the latest from your repository
View your output in the Sandbox
- Open the Sandboxes page in your nstrumenta project and click on the viewer-timeseries sandbox
- Select the live-session that was created in the nstrumenta.update step
- Check Use Dataflow, and select the recent-file dataflow and the live-session dataflow version
- Click Run to run your latest recording through your latest algorithm
Develop and Collaborate
- The Sandbox is now configured to live update with new changes from the algorithm or recordings. Even if they are contributed by other users of your project.