13 #include <gtest/gtest.h> 16 #include <ecl/geometry/pose2d.hpp> 18 #include "../../include/ecl/mobile_robot/differential_drive.hpp" 29 using ecl::linear_algebra::Vector2d;
30 using ecl::linear_algebra::Vector3d;
36 TEST(DifferentialDriveTests,allEggsInOneBasket) {
44 int main(
int argc,
char **argv) {
46 Format<double> format; format.width(8); format.precision(2); format.align(RightAlign);
49 cout <<
"***********************************************************" << endl;
50 cout <<
" Partial Inverse" << endl;
51 cout <<
"***********************************************************" << endl;
59 Vector2d partial_inverse;
62 partial_inverse = ecl::DifferentialDrive::Kinematics::PartialInverse(a, b);
63 std::cout << partial_inverse << std::endl;
66 cout <<
"***********************************************************" << endl;
67 cout <<
" Passed" << endl;
68 cout <<
"***********************************************************" << endl;
71 testing::InitGoogleTest(&argc,argv);
72 return RUN_ALL_TESTS();
int main(int argc, char **argv)
TEST(DifferentialDriveTests, allEggsInOneBasket)