OpenSim filter

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Kaiwen Yang
Posts: 45
Joined: Mon Sep 03, 2018 11:25 am

OpenSim filter

Post by Kaiwen Yang » Mon Mar 30, 2020 6:18 pm

Hello all,

What type of filter is opensim using when doing RRA or CMC? I am trying to filter the kinematics myself in Matlab and give OpenSim Matlab-filtered kinematics for CMC. How can I design this filter in Matlab?

I am aware that matlab has the "butter" function, is this the type of filter implemented in Opensim? What is the order of the filter?

Kaiwen

Tags:

User avatar
Dimitar Stanev
Posts: 1096
Joined: Fri Jan 31, 2014 5:14 am

Re: OpenSim filter

Post by Dimitar Stanev » Wed Apr 01, 2020 1:25 am

The dynamics tool perform the following:

https://github.com/opensim-org/opensim- ... l.cpp#L284
https://github.com/opensim-org/opensim- ... l.cpp#L160

The filter of order 3 Butterworth low pass filter implemented as IIR.

User avatar
Kaiwen Yang
Posts: 45
Joined: Mon Sep 03, 2018 11:25 am

Re: OpenSim filter

Post by Kaiwen Yang » Sat Apr 04, 2020 5:41 pm

This is what I need. Thank you!

Kaiwen

POST REPLY