class_docstr: ConstantVelocityAgent implements an agent that navigates the scene at a fixed velocity.
  This agent will fail if asked to perform turns that are impossible are the desired speed.
  This includes lane changes. When a collision is detected, the constant velocity will stop,
  wait for a bit, and then start again.
code: def _set_collision_sensor(self):
      blueprint = self._world.get_blueprint_library().find(
          "sensor.other.collision"
      )
      self._collision_sensor = self._world.spawn_actor(
          blueprint, carla.Transform(), attach_to=self._vehicle
      )
      self._collision_sensor.listen(
          lambda event: self.stop_constant_velocity()
      )
  
file_path: carla/PythonAPI/carla/agents/navigation/constant_velocity_agent.py
imports: import carla
  from agents.navigation.basic_agent import BasicAgent
label_desc: Use image node_id 7 for calling the ConstantVelocityAgent obj's underlying member method code with example usage: obj._set_collision_sensor() without return types