Dependencies: ros_lib_kinetic
Diff: HLComms.cpp
- Revision:
- 13:a373dfc57b89
- Parent:
- 12:595ed862e52f
- Child:
- 14:54c3759e76ed
diff -r 595ed862e52f -r a373dfc57b89 HLComms.cpp --- a/HLComms.cpp Mon Aug 13 09:16:29 2018 +0000 +++ b/HLComms.cpp Wed Aug 29 10:47:02 2018 +0000 @@ -13,7 +13,7 @@ int error_code; if(IS_PRINT_OUTPUT) printf("Starting TCP server...\n\r"); if( !IS_DHCP ) { - const char* ip = "10.101.81.135"; //"10.101.79.125"; // Get first 3 parts from "ifconfig" on PC + const char* ip = "192.168.1.125"; //"10.101.81.135"; //"10.101.79.125"; // Get first 3 parts from "ifconfig" on PC const char* mask = "255.255.255.0"; // Get from "ifconfig" on PC const char* gateway = "10.101.81.1"; //"10.101.79.1"; // Get from "route -n" on PC error_code = interfaces.eth.set_network(ip, mask, gateway); // Dont use DHCP