remove_side_osim: Remove Side from OpenSim Model

View source: R/remove_side_osim.R

remove_side_osimR Documentation

Remove Side from OpenSim Model

Description

This function removes actuators for a specified side (left or right) in an OpenSim model.

Usage

remove_side_osim(
  model_input_file = "Baseline_markers.osim",
  model_output_file = "Baseline_markers_removed.osim",
  side = "l"
)

Arguments

model_input_file

A string representing the path to the input OpenSim model file. Default is "Baseline_markers.osim".

model_output_file

A string representing the path to the output OpenSim model file. Default is "Baseline_markers_removed.osim".

side

A string indicating which side (left or right) of the body to remove the actuators for. Default is "l" (left).

Value

The function returns nothing, but writes the modified OpenSim model to 'model_output_file'.


Kneerav/biomechanics documentation built on March 30, 2025, 12:56 a.m.