Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option of not receiving an offset in the checkNewMatrixPerformance function. #49

Open
fjandrad opened this issue Nov 5, 2018 · 0 comments

Comments

@fjandrad
Copy link
Collaborator

fjandrad commented Nov 5, 2018

It might not be ideal but we could add a default behavior for estimating the offset when no offset is known or provided.

The default behavior to include would be :

[reCalibData.(ft),~]=recalibrateData(datasetToUse.rawData.(ft),calibMatrices.(ft),...
        'offset',zeros(6,1),recabInput{:});
    % take out offset in the filtered data for comparison
    offsetInWrenchSpace.(ft)=mean(reCalibData.(ft)-datasetToUse.estimatedFtData.(ft));
    reCalibDataNoOffset.(ft)=reCalibData.(ft) -repmat(offsetInWrenchSpace.(ft),size(reCalibData.(ft),1),1);
        offsetInWrenchSpace.(ft)=offsetInWrenchSpace.(ft)';

Dealing with the option from the varargin point of view needs to be considered

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant