Skip to content

Commit

Permalink
Added enum unit test.
Browse files Browse the repository at this point in the history
  • Loading branch information
mattking-smith committed May 24, 2023
1 parent ae35c33 commit b41911e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions matlab/gpmp2_tests/test_parameterization.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import gtsam.*
import gpmp2.*

% Test parameterization
arm = generateArm('KinovaGen3');

% Verify
t = arm.fk_model();
assert(strcmp(t.parameterization,"MODIFIED_DH"),"Wrong parameterization returned");
assert(strcmp(t.parameterizationString,"Modified Denavit-Hartenberg"),"Wrong parameterization returned");

0 comments on commit b41911e

Please sign in to comment.