Skip to content

Commit

Permalink
back to basics
Browse files Browse the repository at this point in the history
  • Loading branch information
tawnkramer committed Sep 1, 2020
1 parent 004b8b4 commit 0db7ffe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gym_donkeycar/envs/donkey_sim.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def extract_keys(self, dct, lst):
def send_config(self, conf):
logger.info("sending car config.")
self.set_car_config(conf)
self.set_racer_bio(conf)
# self.set_racer_bio(conf)
cam_config = self.extract_keys(conf, ["img_w", "img_h", "img_d", "img_enc", "fov", "fish_eye_x", "fish_eye_y", "offset_x", "offset_y", "offset_z", "rot_x"])
self.send_cam_config(**cam_config)
logger.info("done sending car config.")
Expand Down Expand Up @@ -314,6 +314,7 @@ def on_scene_selection_ready(self, data):
def on_car_loaded(self, data):
logger.debug("car loaded")
self.loaded = True
self.on_need_car_config("")

def on_recv_scene_names(self, data):
if data:
Expand Down

0 comments on commit 0db7ffe

Please sign in to comment.