diff --git a/py-scripts/lf_webpage.py b/py-scripts/lf_webpage.py index b5227afe4..60387f7ce 100755 --- a/py-scripts/lf_webpage.py +++ b/py-scripts/lf_webpage.py @@ -236,8 +236,10 @@ def __init__(self, lfclient_host, lfclient_port, upstream, num_sta, security, ss self.coordinate = coordinate self.rotation = rotation self.rotation_enabled = False - self.coordinate_list = coordinate.split(',') - self.rotation_list = rotation.split(',') + if self.robot_test: + # To consider coordinates list and rotation list when running with robot + self.coordinate_list = coordinate.split(',') + self.rotation_list = rotation.split(',') self.current_coordinate = "" self.current_angle = 0 self.robot_data = {}