carla-simulator / carla

Open-source simulator for autonomous driving research.
http://carla.org
MIT License
11.39k stars 3.7k forks source link

Is "set_autopilot" working according to Route Planner? #5523

Open t-toshii opened 2 years ago

t-toshii commented 2 years ago

Hi,

CARLA version: 0.9.11 Platform/OS: Ubuntu18.04

I tryed the following.

  1. I started UnrealEngine and deleted all route planner.
  2. Press the play button in UnrealEngine.
  3. Started a new terminal and run spawn_npc.py.

My guess was that vehicles would stop or go out of control because I removed the route planner. But vehicles ran fine. Is the car following the route planner? Please teach me.

Thank you!!

fangchaooo commented 2 years ago

I guess it was made in blueprint.

 // carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Vehicle/WheeledVehicleAIController.h
  /// Set a fixed route to follow if autopilot is enabled.
  UFUNCTION(Category = "Wheeled Vehicle Controller", BlueprintCallable)
  void SetFixedRoute(const TArray<FVector> &Locations, bool bOverwriteCurrent = true);
stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.