Commit 627fb5a5 authored by Martin Eisenmann's avatar Martin Eisenmann

Fixed config parameter name of camera

Signed-off-by: Martin Eisenmann's avatarEisenmann <eisenmann@fortiss.org>
parent 6cf759c1
......@@ -5,7 +5,7 @@ CameraDetectionStateLeftGeneratorExtension.java 1e16e08fbaf5174d6c72e370a05ebe61
CameraDetectionStateRightGeneratorExtension.java 51c7a9ac1b32957ba8ff95d40cd6c47ae8658ec0 YELLOW
CameraDistanceLeftGeneratorExtension.java 717d1b1a242ea3d3b770d82713d8bf6b7ebdf938 YELLOW
CameraDistanceRightGeneratorExtension.java 240fab2e83c0879be35def0347f260f6e98d7310 YELLOW
CameraGeneratorExtensionBase.java 2e4941ac3222d043cf1060d2287cfd42ba3721fd YELLOW
CameraGeneratorExtensionBase.java 4be0b1ba61c65a47c030c2f6320c55c0c07b825b YELLOW
CameraLastUpdateGeneratorExtension.java 256cc4883dab48247a5a094f16268a75e06f2042 YELLOW
CameraRoverDistanceGeneratorExtension.java d77c275bd2b74ed0cba3e00c33ed5738ccc2db47 YELLOW
CameraRoverIDGeneratorExtension.java f03bf8ebe9ae77ebcd42d5c8534437171a7532b2 YELLOW
......
......@@ -58,8 +58,8 @@ abstract class CameraGeneratorExtensionBase<T extends EObject>
StringBuilder sb = new StringBuilder();
sb.append("char camera_host[64];\n");
sb.append("char camera_port[64];\n");
sb.append("conf_query(\"//ff1/network/cam_pi/host\", camera_host);\n");
sb.append("conf_query(\"//ff1/network/cam_pi/port\", camera_port);\n");
sb.append("conf_query(\"//ff1/peripheral/network/cam_pi/host\", camera_host);\n");
sb.append("conf_query(\"//ff1/peripheral/network/cam_pi/port\", camera_port);\n");
sb.append("camera_client_initialize(camera_host, camera_port);\n");
return sb.toString();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment