[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Hi Jakob,
I have one more query regarding moveToXY:
I am now able to control my vehicle successfully using IPG ego vehicle
position.
I am calling function like this every timestep :
traci.vehicle.moveToXY('125','',1,X,Y,angle,2);
The query is : vehicle is running offset to the lane and not on the middle
of the lane. I am hereby attaching the screenshot of sumo gui. I would be
very much obliged if you please let me know the reason behind such kind of
behaviour.
<http://sumo-user-mailing-list.90755.n8.nabble.com/file/t206/offset.jpg>
Another query is regarding leading vehicle position:
I want to get the position of leading vehicle every time step in sumo so
that i can update the traffic data in IPG from sumo.
I am using function in matlab as follows:
[A,B] = traci.vehicle.getLeader('125');
But every timestep, the value of A is always empty(''). There is no error
shown too.
Could you please help me to get the leading vehicle data in sumo?
Thanks and regards,
Mohammed Mohsin Memon
--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/