[sumo-user] Regarding Velocity profile generation using Taci4Matlab

2019-08-21 Thread Mohsin Memon
HI.. I want to generate velocity profile in matlab using traci4matlab. I have already setup the environment and added traci4matlab to matlab's path. But when i run the script traci_test2.m found in traci4matlab example, sumo is opening but it shows error. I am attaching the pictures of error shown

[sumo-user] traci4matlab error

2019-08-30 Thread Mohsin Memon
Hi.. I am getting this error while running traci_test.m matlab code. I would be very muchobliged if someone help me in this regard. Thanks in advance. -- Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/

Re: [sumo-user] traci4matlab error

2019-08-30 Thread Mohsin Memon
Hi Jakob.. What should I do now to solve this error? On Fri, Aug 30, 2019, 13:28 Jakob Erdmann wrote: > The error indicates that the matlab script crashed (or at least exited > without calling traci.close). > > Am Fr., 30. Aug. 2019 um 13:22 Uhr schrieb Mohsin Memon < > moh

Re: [sumo-user] Import whole route as a .gpx file in SUMO

2019-08-04 Thread Mohsin Memon
Hi Michael, Thankyou for the reply.. I have some doubts regarding this.. Do I need to just add .net file into " optParser.add_option("-n", "--net", help="SUMO network to use (mandatory)", metavar="FILE") " and Trace file into "optParser.add_option("-t", "--trace",

[sumo-user] Adding Slope(Elevation profile) to Routes in SUMO

2019-08-04 Thread Mohsin Memon
Hi.. I want to know how to add slope into a route .. I checked SUMO DLR, but there is no such descriptive information regarding slope.. It would be great help if anyone please reply to my matter. -- Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/

[sumo-user] Import whole route as a .gpx file in SUMO

2019-07-15 Thread Mohsin Memon
Hi.. I want to use .gpx file as my network file so that i don't have to copy paste edges name every time into route file to create a route in SUMO network. Do we have any simple or other ways to create a route other than selecting each edges name or lane name into route for assigning a route in

[sumo-user] KML Conversion failed

2019-11-05 Thread Mohsin Memon
I want to convert my SUMO fcd output into .kml file. I tried traceexporter.py but it shows the following error. I would be very much grateful if someone please help me in this matter. -- Sent from:

[sumo-user] Traffic Lights - geo co-ordinates

2019-11-10 Thread Mohsin Memon
Hi, I want to generate output from SUMO which includes traffic lights data : Traffic light IDs, Geo-Co-ordinates, States. In network file, I saw the traffic lights data but it is in x,y co-ordinate format. I want geo-co-ordinates of Traffic Lights. Does FCD provide such output? or Is there any way

Re: [sumo-user] moveToXY

2019-11-22 Thread Mohsin Memon
Hi Jakob, Thanks for your reply, I have followed the link you sent but getting an error: -- Sent from:

Re: [sumo-user] moveToXY

2019-11-23 Thread Mohsin Memon
Hi Jakob, I have one doubt here : the function moveToXY in matlab will move the existing vehicle in the network OR it will place a new vehicle in network?? Do I need to first insert a vehicle with ID '125' into the network or I can directly place a new vehicle with ID '125' into the sumo network

[sumo-user] moveToXY

2019-11-21 Thread Mohsin Memon
Hi.. I am working on moveToXY to place ego vehicle in SUMO, but unfortunately I am getting error in traci.beginMessage (line 15) message.queue = [message.queue uint8(sscanf(cmdID,'%x'))]; Error in moveToXY (line 39) traci.beginMessage(constants.CMD_SET_VEHICLE_VARIABLE, constants.MOVE_TO_XY,...

[sumo-user] Pedestrain crossing IDs, Pedestrian XY coordinates information using TraCI

2019-12-03 Thread Mohsin Memon
in obtaining the above information(https://sumo.dlr.de/docs/Tutorials/TraCIPedCrossing.html). I am using traci4matlab as my interface with SUMO. I would be grateful if you could please suggest me which functions would be appropriate to be used to solve my problem? Regards, Mohsin Memon -- Sent from: http

Re: [sumo-user] moveToXY

2019-12-03 Thread Mohsin Memon
Hi Jakob, thank you very much for your reply, now it worked perfectly fine. Regarding leader vehicle, now the vehicle is been detected but only when it is in the same lane ID and when it is in different lane , it does not show any value although distance argument is satisfying. When the leader

Re: [sumo-user] moveToXY

2019-12-04 Thread Mohsin Memon
be grateful if you could please suggest me which functions would be appropriate to be used to solve my problem? Regards, Mohsin Memon -- Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/ ___ sumo-user mailing list sumo-user@eclipse.org

Re: [sumo-user] moveToXY

2019-12-03 Thread Mohsin Memon
fferent_lane.jpg> <http://sumo-user-mailing-list.90755.n8.nabble.com/file/t206/leader_same_lane.jpg> Thanks and regards, Mohammed Mohsin Memon -- Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/ ___ sumo-user mailing

Re: [sumo-user] moveToXY

2019-12-04 Thread Mohsin Memon
Hi Jakob, I have defined the vehicle route in advance and now the leader vehicle is detected. Now my task is to generate random traffic in sumo and get the surrounding vehicle IDs,position and velocity and transfer it to IPG Traffic objects. I have already generated random traffic of 1000

Re: [sumo-user] Pedestrain crossing IDs, Pedestrian XY coordinates information using TraCI

2019-12-11 Thread Mohsin Memon
, Mohammed Mohsin Memon -- Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/ ___ sumo-user mailing list sumo-user@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https

Re: [sumo-user] moveToXY

2019-12-05 Thread Mohsin Memon
Hi Jakob, I am eagerly waiting for your reply for above query regarding context subscription. I would be very much grateful if you reply me. -- Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/ ___ sumo-user mailing list

Re: [sumo-user] moveToXY

2019-12-05 Thread Mohsin Memon
Hi Jakob, Thank you very much for your quick response. I want to retrieve the vehicle IDs of the surrounding vehicles and for that my code is as follows: traci.vehicle.subscribeContext('1100', traci.constants.CMD_GET_VEHICLE_VARIABLE,250 {traci.constants.VAR_IDList, traci.constants.VAR_SPEED});

[sumo-user] Export Traffic Objects from SUMO to IPG Carmaker

2019-10-15 Thread Mohsin Memon
if anyone could share some example regarding this. Many thanks in advance, Mohsin Memon -- Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/ ___ sumo-user mailing list sumo-user@eclipse.org To change your delivery options, retrieve you

[sumo-user] moveToVTD

2019-10-17 Thread Mohsin Memon
Hello Everyone.. I want to know about the function moveToVTD in Matlab. Does anyone has any example or code how to use moveToVTD. It would be great help if someone please reply in this matter. Best Regards, Mohammed Mohsin Memon -- Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com

Re: [sumo-user] moveToXY

2019-11-26 Thread Mohsin Memon
Hi Jakob, Thank you very much for your help. I can see the vehicle in sumo network now. I have one doubt here: I want to control my EGO vehicle using moveToXY getting data from IPG Carmaker every timesteps, For edgeID, I want to give input from SUMO itself as there is no such parameter in IPG

[sumo-user] Controlling Vehicle using just position or position plus speed

2019-11-26 Thread Mohsin Memon
Hello everyone... I want to control a vehicle by just giving it's x and y position, Is there any function in traci to control the vehicle by providing just x,x absolute position every timesteps?? I would be very much grateful if someone please guide me regarding this. -- Sent from:

Re: [sumo-user] moveToXY

2019-11-27 Thread Mohsin Memon
Hi Jakob, Thank you very much for your reply. I have one more query regarding angle and x,y position values: I tried angle argument for moveToXY to be left blank("") as EdgeID argument but it didn't work. I think it is mandatory and cannot be left blank. Regarding angle argument, I just want

Re: [sumo-user] moveToXY

2019-12-02 Thread Mohsin Memon
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/ ___ sumo-user mailing list sumo-user@eclipse.org To chang

Re: [sumo-user] moveToXY

2019-11-25 Thread Mohsin Memon
Hi Jakob, I tried adding vehicle with ID '125' but again I am getting an error : Error in traci.vehicle.add (line 44) p.parse(vehID, routeID, varargin{:}) I am just calling traci.vehicle.add(veh_ID); in matlab. veh_ID = '125' I would be very much obliged if you reply me in this matter. And

[sumo-user] #Sumolib #traci Conversion of X, Y co ordinates into Geo Co-ordinates (Longitude and Latitude)

2019-10-07 Thread Mohsin Memon
Hello Everyone.. I want to convert x, y co-ordinates from SUMO into Geo-Co-ordinates : long. and lat. to be used in IPG Carmaker. I am attaching the screenshot I have found to get the co-ordinates. I would be very much obliged if someone please help me in this. Q1. How to use or import Sumolib ?

Re: [sumo-user] #Sumolib #traci Conversion of X, Y co ordinates into Geo Co-ordinates (Longitude and Latitude)

2019-10-07 Thread Mohsin Memon
> The question is, where does your x,y coordinates come from? > fcd-output? > net.xml file? > > Regards, Harald > > Am 07.10.19 um 11:50 schrieb Mohsin Memon: > > Hello Everyone.. I want to convert x, y co-ordinates from SUMO into > > Geo-Co-ordinates : long. an

Re: [sumo-user] #Sumolib #traci Conversion of X, Y co ordinates into Geo Co-ordinates (Longitude and Latitude)

2019-10-07 Thread Mohsin Memon
Hi Harald, I got the file --fcd-output.geo as a output file. But in that also, I just got x,y co-ordinates and not geo co-ordinates(Long. and Lat.). That's why I was asking about the script to be written using Sumolib to get the converted co-ordinates. My question is: where should I write this

Re: [sumo-user] #Sumolib #traci Conversion of X, Y co ordinates into Geo Co-ordinates (Longitude and Latitude)

2019-10-08 Thread Mohsin Memon
Hi Harald, Thank you very much for the reply. Yes my network is geo-referenced. I am attaching here the screenshot of fcd-output.geo file. It shows x,y co-ordinates only. I want the output file which contains the

Re: [sumo-user] #Sumolib #traci Conversion of X, Y co ordinates into Geo Co-ordinates (Longitude and Latitude)

2019-10-08 Thread Mohsin Memon
Hi Harald, thank you very much. I got the geo co-ordinates. One more question is_: Can I get this x,y co-ordinates in format: 7.761556,49.441209,0.00 7.761523,49.441192,0.00 and so on...Actually I want to design road

Re: [sumo-user] #Sumolib #traci Conversion of X, Y co ordinates into Geo Co-ordinates (Longitude and Latitude)

2019-10-08 Thread Mohsin Memon
rds, Harald > > Am 08.10.19 um 15:42 schrieb Mohsin Memon: > > Hi Harald, > > > > thank you very much. I got the geo co-ordinates. > > > > <http://sumo-user-mailing-list.90755.n8.nabble.com/file/t206/results.png> > > > >

Re: [sumo-user] Plot velocity graph of SUMO vehicles

2020-05-06 Thread Mohsin Memon
Hi Jakob, My fcd output contains the speed of all the vehicles in the network. Using the script :""python plot_trajectories.py fcd.xml -t ts -o plot.png -s"" to plot speed, it plots the speed of all the vehicles in the network. Is there any option to filter vehicle ID as I just want to plot the

Re: [sumo-user] KML Conversion failed

2020-03-19 Thread Mohsin Memon
to convert .osm or .net file into KML file to successfully import whole network from SUMO to IPG?? I am eagerly waiting for your reply. Thanking you in advance. Best regards, Mohammed Mohsin Memon -- Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com

Re: [sumo-user] Plot velocity graph of SUMO vehicles

2020-03-19 Thread Mohsin Memon
elp me in this matter. Thanks and regards, Mohammed Mohsin Memon -- Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/ ___ sumo-user mailing list sumo-user@eclipse.org To unsubscribe from this list, visit https://www.eclipse.org/mailman/li

[sumo-user] Plot velocity graph of SUMO vehicles

2020-03-17 Thread Mohsin Memon
vehicles. I am eagerly waiting for the reply. Thanks and regards, Mohammed Mohsin Memon -- Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/ ___ sumo-user mailing list sumo-user@eclipse.org To unsubscribe from this list, visit https

Re: [sumo-user] KML Conversion failed

2020-03-17 Thread Mohsin Memon
206/kml_conversion.jpg> I would be very much obliged if you please help me in this matter. Thanks and Regards, Mohammed Mohsin Memon -- Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/ ___ sumo-user mailing list sumo-user@eclip