-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Description
Setup
Describe the setup you are using to run CARLA along with its version:
- CARLA version: 0.9.16
- Platform: windows 10
- Python version: python3.12
- GPU: NVIDIA GeForce RTX 3060 Laptop GPU (6 GB)
- GPU Drivers: None
Describe the bug
Using the follow_stpeed_limits function in BasicAgent actually has no effect and cannot suppress the deceleration of speed limit signs
Steps to reproduce
code:
agent = BasicAgent(world.player, 70) # 直接设置初始目标速度为70km/h
agent.set_target_speed(70) # 目标速度70km/h
agent.ignore_traffic_lights(True)
agent.follow_speed_limits(False) # 关闭地图限速限制(关键:避免被道路限速标志压低速度)
# 额外优化:提高加速灵敏度(默认加速较保守)
Expected behavior
After calling this function, the traffic speed limit sign will no longer be limited, and the speed will be adjusted according to my trigger speed
Logs
Paste the server and client logs. Server ones can be found at:
use python not hava log.
Scripts
agent = BasicAgent(world.player, 70) # 直接设置初始目标速度为70km/h
agent.set_target_speed(70) # 目标速度70km/h
agent.ignore_traffic_lights(True)
agent.follow_speed_limits(False) # 关闭地图限速限制(关键:避免被道路限速标志压低速度)
# 额外优化:提高加速灵敏度(默认加速较保守)
ScreenshotsIf applicable, add screenshots to help explain your problem.
Additional context
None