carla-simulator / carla

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

velocity of nonplayer vehicle #802

Closed nberinpa closed 5 years ago

nberinpa commented 6 years ago

Hi,

is it possible to set the velocity of a non-player vehicle? Is it possible to change the acceleration of a non-player vehicle? Currently, I set the max speed in WheeledVehicleAIController to 100 and compiled it. However, the non-player vehicle still drives around 25 km/h even though I changed all the speed signs to 100 km/h (see image: at the start point the vehicle is in standstill and at the end point it has a velocity around 25 km/h. The player agent is at marked coordinate position and it is not in movement).

screenshot from 2018-09-23 10-05-14

Best wishes, Niji

SoumiDas commented 6 years ago

Hi, even though I don't have an answer to your query but it'll be really interesting to know how do you get this view of the town. I'm new to it and this way of representation of the agent and the town looks great!

Hoping to get some information..

nsubiron commented 6 years ago

@nberinpa, I think by default the vehicles start with a speed limit of 30km/h, but the moment they enter the trigger box of a 100 speed limit they should start increasing the speed. Isn't that working?

@SoumiDas, this is the view from the Unreal Editor, you need to compile Carla from source to start the editor.

stale[bot] commented 5 years 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.