2 #include "microstrain_mips/SetSoftIronMatrix.h" 6 int main(
int argc,
char **argv){
8 ros::init(argc, argv,
"set_soft_iron_matrix_client");
12 microstrain_mips::SetSoftIronMatrix srv;
14 srv.request.soft_iron_1.x = atoll(argv[1]);
15 srv.request.soft_iron_1.y = atoll(argv[2]);
16 srv.request.soft_iron_1.z = atoll(argv[3]);
17 srv.request.soft_iron_2.x = atoll(argv[4]);
18 srv.request.soft_iron_2.y = atoll(argv[5]);
19 srv.request.soft_iron_2.z = atoll(argv[6]);
20 srv.request.soft_iron_3.x = atoll(argv[7]);
21 srv.request.soft_iron_3.y = atoll(argv[8]);
22 srv.request.soft_iron_3.z = atoll(argv[9]);
27 if (srv.response.success)
ServiceClient serviceClient(const std::string &service_name, bool persistent=false, const M_string &header_values=M_string())
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
bool call(MReq &req, MRes &res)
int main(int argc, char **argv)