Skip to content

Commit 3c00669

Browse files
committed
Unittest - fix getTrajectory function
1 parent 1c95c52 commit 3c00669

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

unittest/joint-spline.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ void addJointAndBody(
3939
model.appendBodyToJoint(idx, Y);
4040
}
4141

42-
std::vector<SE3> getTrajectory(std::vector<SE3> & ctrlFrames)
42+
void getTrajectory(std::vector<SE3> & ctrlFrames)
4343
{
4444
Eigen::Matrix3d rotation;
4545
Eigen::Vector3d translation;
@@ -102,8 +102,6 @@ std::vector<SE3> getTrajectory(std::vector<SE3> & ctrlFrames)
102102
rotation << -0.500004, 0, 0.866023, 0, 1, 0, -0.866023, 0, -0.500004;
103103
translation << -0.00525, -0.396, 0;
104104
ctrlFrames.push_back(pinocchio::SE3(rotation, translation));
105-
106-
return ctrlFrames;
107105
}
108106

109107
BOOST_AUTO_TEST_SUITE(JointSpline)

0 commit comments

Comments
 (0)