Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sensor issue when running route-based scenarios with agents on carla 0.9.10.1 #1101

Open
TahaCarla opened this issue Jul 13, 2024 · 1 comment

Comments

@TahaCarla
Copy link

Describe our question or idea
I am trying to run route-based scenarios on scenario_runner with smart agents that require access to some sensors, like specified inside the scenario_runner file

parser.add_argument(
'--route', help='Run a route as a scenario (input: (route_file,scenario_file,[route id]))', nargs='+', type=str)
parser.add_argument(
'--agent', help="Agent used to execute the scenario. Currently only compatible with route-based scenarios.")
parser.add_argument('--agentConfig', type=str, help="Path to Agent's configuration file", default="")

When I try autonomous agent and human agent it works fine, but when it try with agents that require sensors I have the error shown on the screenshot, If you've been through this problem before or have any idea, feel free to comment it down.

Screenshots
image

Desktop (please complete the following information):

  • OS: [Windows 11]
  • CARLA Version [CARLA 0.9.10.1]
  • Python version [3.7.9]
  • Version [0.9.10]
@starrye
Copy link
Contributor

starrye commented Jul 30, 2024

Maybe you could print out which agent you're using now? Then check to see if the sensors method in the corresponding agent file has sensors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants