Updated 18 May 2021
SINTEF - https://www.sintef.com
Apache License Version 2.0
AutoActive Research Environment Toolbox provides support for writing and reading AutoActive Archives (AAZ) of multiple sensor data and video records. The toolbox also includes support for data import from different sensor types (e.g. Garmin, GaitUp, Catapult) and formats (e.g. gpx, csv).
AAZ archives can be created, viewed and synchronized in ActivityPresenter, and can be read and written in MATLAB and ActivityPresenter as well as Python. The AutoActive Research Environment Toolbox provides the connection between ActivityPresenter used for data exploration/viewing/time synchronization and MATLAB used for data pre- and postprocessing and data analysis.
The toolbox uses ArchiveWriter and ArchiveReader to write and read AAZ archives, respectively. The toolbox supports the transformations necessary for converting between MATLAB formats and the AAZ storage formats, its behavior is like a struct element when using it in a MATLAB script. The toolbox is plugin based which means that the user can easly extend the toolbox to support their own use-cases by adding custom plugins.
AutoActive Research Environment Toolbox requires a Matlab version r2018b or newer.
The ffmpeg toolbox is required for synchromizing multiple videos within an archive, please see "MultipleVideoSync" documentation in the toolbox.
- Import of sensor data from multiple sensor types and formats including videos
- Read and write AAZ archives from/to ActivityPresenter
- Convertion between AAZ formats and MATLAB formats
- Merging of data and video from multiple sensor systems for time synchronziation and data analysis/viewing
Multiple examples are given in the GettingStarted section in the Matlab toolbox.
This repository conatins files needed to make a Matlab toolbox for AutoActive How to update the java jar file There is two java projects that contributes to the toolbox. The main project java-file-interface. Located in the folder Java A renamed version of Apache Commons Compress (org.apache.commons.compress2) to avoid version conflicts in Matlab installation. Located in the folder Compress2
- Open the maven projects in NetBeans, Eclipse or similar
- Build the Compress2 project without running the tests. Select Tools->Options->Java->Maven : Check "Skip tests for any build executors not directly releated to testing" Avoid doing changes to source code. This should be a clean renamed copy.
- Open the project in the java folder ('java-file-interface')
- Update the version information in file 'Version.java' and 'pom.xml' if any update.
- Build the java-file-interface project
- Remove any old jar file in 'MatlabToolbox/jar' directory
- Copy the new jar file 'Java/target/java-file-interface....jar-with-dependencies.jar' to 'MatlabToolbox/jar' directory
- Code to be included is located in the 'MatlabToolbox' folder
- Download Gaitup Matlab ToolKit for Physilog®5 from https://research.gaitup.com/support/ and uncompress and copy the folder Physilog5MatlabToolKit_vx_y_z with all files to MatlabToolbox\external
- Update the Matlab toolkit source code with any changes
- Update the version information in 'MatlabToolbox/+autoactive/MatlabVersion.m'
- Start Matlab R2018b and make autoactive-matlab-toolbox active folder
- Right-click on folder MatlabToolbox and select 'Add to Path => Selected Folders and Subfolders'
- Open the 'Package toolbox app' by double click on project file 'AutoActive.prj'
- Update version information
- Check that MATLAB path has eight entries + examples, (remove .../help_p_files if any)
- Check that Java Class Path has one correct jar entry
- Create package in menu 'Package => Package'
- Save project in meny 'Save => Save'
- Rename and copy release package for distribution
- Update ChangeLog file
- Commit changes in autoactive-matlab-toolbox repository
- Tag project with version number in git
- Open Matlab
- Locate the folder with the file 'AutoActive.mltbx' and make it current folder in Matlab
- Double click the file to install it.
- Open Matlab
- Find the location of the .mltbx file
- Put the path into a string tboxFile = 'C:\Users......\autoactive-matlab\AutoActive.mltbx'
- Install the toolbox matlab.addons.toolbox.installToolbox(tboxFile)