Skip to content

Commit 37354aa

Browse files
olivier-stasseOlivier Stasse
authored andcommitted
[unitTest] Fix inversion between q_urdf and q_sot in test_robot_utils
Thx to Francois for writing this unit test.
1 parent ae2e344 commit 37354aa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

unitTesting/test_robot_utils.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ int main( void )
107107

108108
/*Test config_urdf_to_sot and config_sot_to_urdf */
109109
dg::Vector q2_sot(9);
110-
robot_util->config_urdf_to_sot(q2_sot,q2_urdf);
111-
robot_util->config_sot_to_urdf(q2_urdf,q2_sot);
110+
robot_util->config_urdf_to_sot(q2_urdf,q2_sot);
111+
robot_util->config_sot_to_urdf(q2_sot,q2_urdf);
112112
std::cout << "config_urdf_to_sot and config_sot_to_urdf work !" << std::endl;
113113

114114
robot_util->display(std::cout);
@@ -164,4 +164,4 @@ int main( void )
164164
robot_util->m_force_util.display(std::cout);
165165
robot_util->m_foot_util.display(std::cout);
166166
return 0;
167-
}
167+
}

0 commit comments

Comments
 (0)