Skip to content

Commit

Permalink
Merge pull request #984 from iory/robo2robot
Browse files Browse the repository at this point in the history
Renamed robo to robot
  • Loading branch information
fkanehiro committed Apr 20, 2016
2 parents 60f2a5f + 763cd41 commit ef41672
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion python/hrpsys_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -943,6 +943,11 @@ def checkSimulationMode(self):
print(self.configurator_name + "simulation_mode : %s" % self.simulation_mode)

def waitForRTCManagerAndRoboHardware(self, robotname="Robot", managerhost=nshost):
print("\033[93m%s waitForRTCManagerAndRoboHardware has renamed to \
waitForRTCManagerAndRoboHardware: Please update your code\033[0m" % self.configurator_name)
return self.waitForRTCManagerAndRobotHardware(robotname=robotname, managerhost=nshost)

def waitForRTCManagerAndRobotHardware(self, robotname="Robot", managerhost=nshost):
'''!@brief
Wait for both RTC Manager (waitForRTCManager()) and RobotHardware (waitForRobotHardware())
Expand Down Expand Up @@ -2094,7 +2099,7 @@ def init(self, robotname="Robot", url=""):
print(self.configurator_name + "start hrpsys")

print(self.configurator_name + "finding RTCManager and RobotHardware")
self.waitForRTCManagerAndRoboHardware(robotname)
self.waitForRTCManagerAndRobotHardware(robotname)
self.sensors = self.getSensors(url)

print(self.configurator_name + "creating components")
Expand Down

0 comments on commit ef41672

Please sign in to comment.