13 #include <gtest/gtest.h> 15 #include "../../include/ecl/manipulators/waypoint.hpp" 29 TEST(WayPointTests,allEggsInOneBasket) {
37 int main(
int argc,
char **argv) {
39 std::cout << std::endl;
40 std::cout <<
"***********************************************************" << std::endl;
41 std::cout <<
" Constructor" << std::endl;
42 std::cout <<
"***********************************************************" << std::endl;
43 std::cout << std::endl;
45 std::cout <<
"Manual Construction: " << std::endl;
47 waypoint2.name(
"Raised Position");
48 waypoint2.angles() << 1.57, 1.57, 0.00, 0.00;
49 waypoint2.rates() << 1.0, 1.0, 0.8, 0.8;
50 waypoint2.accelerations() << 0.9, 0.9, 0.6, 0.6;
51 waypoint2.nominalRates(1.0);
52 waypoint2.nominalRates() << 1.0, 1.0, 0.8, 0.8;
53 std::cout << waypoint2 << std::endl;
55 std::cout <<
"Copy construction" << std::endl;
57 std::cout << waypoint3 << std::endl;
59 std::cout << std::endl;
60 std::cout <<
"***********************************************************" << std::endl;
61 std::cout <<
" Passed" << std::endl;
62 std::cout <<
"***********************************************************" << std::endl;
63 std::cout << std::endl;
65 testing::InitGoogleTest(&argc,argv);
66 return RUN_ALL_TESTS();
TEST(WayPointTests, allEggsInOneBasket)
Primary template for waypoints.
int main(int argc, char **argv)
Joint angle representations are being used.