Skip to contents

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`.