Setup the agent parameters
(self, path_to_conf_file)
| 98 | agent_engaged = False |
| 99 | |
| 100 | def setup(self, path_to_conf_file): |
| 101 | """ |
| 102 | Setup the agent parameters |
| 103 | """ |
| 104 | |
| 105 | self.agent_engaged = False |
| 106 | self.current_control = carla.VehicleControl() |
| 107 | self.current_control.steer = 0.0 |
| 108 | self.current_control.throttle = 1.0 |
| 109 | self.current_control.brake = 0.0 |
| 110 | self.current_control.hand_brake = False |
| 111 | self._hic = HumanInterface(self) |
| 112 | self._thread = Thread(target=self._hic.run) |
| 113 | self._thread.start() |
| 114 | |
| 115 | def sensors(self): |
| 116 | """ |
nothing calls this directly
no test coverage detected