Skip to content

Commit

Permalink
Merge pull request #72 from Maximellerbach/fix-conf
Browse files Browse the repository at this point in the history
quick PR for hotfix
  • Loading branch information
Maximellerbach committed Aug 23, 2021
2 parents 532bfee + d3b6def commit cc723d1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gym_donkeycar/envs/donkey_sim.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,9 +256,9 @@ def send_config(self, conf):
self.send_cam_config(**cam_config)
logger.info(f"done sending cam config. {cam_config}")
logger.warning(
f"""This way of passing cam_config is deprecated,
"""This way of passing cam_config is deprecated,
please wrap the parameters in a sub-dictionary with the key 'lidar_config'.
Example: GYM_CONF = {'cam_config':{cam_config}}"""
Example: GYM_CONF = {'cam_config':""" + str(cam_config) + "}"
)

lidar_config = self.extract_keys(
Expand All @@ -280,9 +280,9 @@ def send_config(self, conf):
self.send_lidar_config(**lidar_config)
logger.info(f"done sending lidar config., {lidar_config}")
logger.warning(
f"""This way of passing lidar_config is deprecated,
"""This way of passing lidar_config is deprecated,
please wrap the parameters in a sub-dictionary with the key 'lidar_config'.
Example: GYM_CONF = {'lidar_config':{lidar_config}}"""
Example: GYM_CONF = {'lidar_config':""" + str(lidar_config) + "}"
)

def set_car_config(self, conf):
Expand Down

0 comments on commit cc723d1

Please sign in to comment.