From 0db7ffeac23f1edb2cb14929ecd43dfe13d0035c Mon Sep 17 00:00:00 2001 From: Tawn Kramer Date: Mon, 31 Aug 2020 22:20:30 -0700 Subject: [PATCH] back to basics --- gym_donkeycar/envs/donkey_sim.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gym_donkeycar/envs/donkey_sim.py b/gym_donkeycar/envs/donkey_sim.py index 9b403e8cd..cc782ccd5 100755 --- a/gym_donkeycar/envs/donkey_sim.py +++ b/gym_donkeycar/envs/donkey_sim.py @@ -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.") @@ -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: