File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ int main(int argc, char * argv[])
35
35
{
36
36
auto args = rclcpp::init_and_remove_ros_arguments (argc, argv);
37
37
38
- std::string port_name = " /dev/serial/by-id/usb-Seeed_Seeed_XIAO_M0_E8D70AB55154305147202020FF050926-if00 " ;
38
+ std::string port_name = " /dev/ttyUSB1 " ;
39
39
std::string path = " " ;
40
40
kansei::fallen::DeterminantType determinant_type;
41
41
@@ -48,7 +48,7 @@ int main(int argc, char * argv[])
48
48
49
49
if (args.size () > 1 ) {
50
50
for (int i = 1 ; i < args.size (); i++) {
51
- std::string arg = args[i];
51
+ const std::string& arg = args[i];
52
52
if (arg == " -h" || arg == " --help" ) {
53
53
std::cout << help_message << std::endl;
54
54
return 1 ;
@@ -62,7 +62,7 @@ int main(int argc, char * argv[])
62
62
}
63
63
} else if (arg == " --type" ) {
64
64
if (i + 1 < args.size ()) {
65
- std::string fallen_type = args[i + 1 ];
65
+ const std::string& fallen_type = args[i + 1 ];
66
66
if (fallen_type == " orientation" ) {
67
67
determinant_type = kansei::fallen::DeterminantType::ORIENTATION;
68
68
} else if (fallen_type == " accelero" ) {
You can’t perform that action at this time.
0 commit comments