import_freemocap_csv: FreeMoCap import 'import_freemocap_csv' takes the filepath...

View source: R/import_functions.R

import_freemocap_csvR Documentation

FreeMoCap import import_freemocap_csv takes the filepath and filename of a .csv file containing motion capture data captured and exported using the FreeMoCap motion capture system. The .csv file is then imported and cleaned and returned as a tibble. All global joint center positions are in abbreviated names (e.g. global Y coordinate of the right hip joint is RHY).
Please see the GitHub README.me for a more detailed description.

Description

FreeMoCap import import_freemocap_csv takes the filepath and filename of a .csv file containing motion capture data captured and exported using the FreeMoCap motion capture system. The .csv file is then imported and cleaned and returned as a tibble. All global joint center positions are in abbreviated names (e.g. global Y coordinate of the right hip joint is RHY).
Please see the GitHub README.me for a more detailed description.

Usage

import_freemocap_csv(
  filename,
  keep_face_coords = FALSE,
  keep_finger_coords = FALSE
)

Arguments

filename

Path and filename to a .csv file with MoCap data from the FreeMoCap software

keep_face_coords

A logical(TRUE/FALSE). Should coordinates from ears, mouth, eyes, and nose be kept if they exist in the dataframe? Defaults to FALSE

keep_finger_coords

A logical(TRUE/FALSE). Should coordinates from fingers be kept if they exist in the dataframe? Defaults to FALSE

Value

A tibble

Examples

path <- system.file("examples", "freemocap_sit_to_stand.csv", package = "mocapr")
import_freemocap_csv(path)

steenharsted/mocapr documentation built on Feb. 1, 2024, 1:49 p.m.