1919#include < utility>
2020#include < vector>
2121
22- #include " test_communication /srv/empty.hpp"
23- #include " test_communication /srv/primitives.hpp"
22+ #include " test_msgs /srv/empty.hpp"
23+ #include " test_msgs /srv/primitives.hpp"
2424
2525
2626std::vector<
2727 std::pair<
28- test_communication ::srv::Empty::Request::SharedPtr,
29- test_communication ::srv::Empty::Response::SharedPtr
28+ test_msgs ::srv::Empty::Request::SharedPtr,
29+ test_msgs ::srv::Empty::Response::SharedPtr
3030 >
3131>
3232get_services_empty ()
3333{
3434 std::vector<
3535 std::pair<
36- test_communication ::srv::Empty::Request::SharedPtr,
37- test_communication ::srv::Empty::Response::SharedPtr
36+ test_msgs ::srv::Empty::Request::SharedPtr,
37+ test_msgs ::srv::Empty::Response::SharedPtr
3838 >
3939 > services;
4040 auto request = std::make_shared<
41- test_communication ::srv::Empty::Request>();
41+ test_msgs ::srv::Empty::Request>();
4242 auto reply = std::make_shared<
43- test_communication ::srv::Empty::Response>();
43+ test_msgs ::srv::Empty::Response>();
4444 services.emplace_back (request, reply);
4545 return services;
4646}
4747
4848std::vector<
4949 std::pair<
50- test_communication ::srv::Primitives::Request::SharedPtr,
51- test_communication ::srv::Primitives::Response::SharedPtr
50+ test_msgs ::srv::Primitives::Request::SharedPtr,
51+ test_msgs ::srv::Primitives::Response::SharedPtr
5252 >
5353>
5454get_services_primitives ()
5555{
5656 std::vector<
5757 std::pair<
58- test_communication ::srv::Primitives::Request::SharedPtr,
59- test_communication ::srv::Primitives::Response::SharedPtr
58+ test_msgs ::srv::Primitives::Request::SharedPtr,
59+ test_msgs ::srv::Primitives::Response::SharedPtr
6060 >
6161 > services;
6262 {
63- auto request = std::make_shared<test_communication ::srv::Primitives::Request>();
63+ auto request = std::make_shared<test_msgs ::srv::Primitives::Request>();
6464 request->bool_value = false ;
6565 request->byte_value = 0 ;
6666 request->char_value = ' \0 ' ;
@@ -75,7 +75,7 @@ get_services_primitives()
7575 request->int64_value = 0 ;
7676 request->uint64_value = 0 ;
7777 request->string_value = " request" ;
78- auto reply = std::make_shared<test_communication ::srv::Primitives::Response>();
78+ auto reply = std::make_shared<test_msgs ::srv::Primitives::Response>();
7979 reply->bool_value = false ;
8080 reply->byte_value = 0 ;
8181 reply->char_value = ' \0 ' ;
@@ -93,7 +93,7 @@ get_services_primitives()
9393 services.emplace_back (request, reply);
9494 }
9595 {
96- auto request = std::make_shared<test_communication ::srv::Primitives::Request>();
96+ auto request = std::make_shared<test_msgs ::srv::Primitives::Request>();
9797 request->bool_value = true ;
9898 request->byte_value = 1 ;
9999 request->char_value = 0x1 ;
@@ -112,7 +112,7 @@ get_services_primitives()
112112 for (size_t i = 0 ; i < 20000 ; ++i) {
113113 request->string_value += std::to_string (i % 10 );
114114 }
115- auto reply = std::make_shared<test_communication ::srv::Primitives::Response>();
115+ auto reply = std::make_shared<test_msgs ::srv::Primitives::Response>();
116116 reply->bool_value = true ;
117117 reply->byte_value = 11 ;
118118 reply->char_value = 0x11 ;
0 commit comments