Thank you so much Jakob.
I reviewed the code and understood the reason why SUMO doesn't look at the
my weight file (defined in config file as <w v="samp5.weight.xml" />) is
that in the MsRoutungEngine function, when it want to initialize weight (in
initEdgeWeights() function), because myEdgeSpeeds.empty() is false and
there is already speed for each edge, it doesnt look at weight file. Now
my question is, how can I make the myEdgeSpeeds empty? I tried to remove
the default speed from network in NetEdit, but it's still there.
Do I have a correct understanding on this and if yes, how can I change it
and make the SUMO to read my weight file?
Another problem that I have is, I use to see the effect of weight file when
I set  <device.rerouting.init-with-loaded-weights value="true" /> in config
file, it doesn't work anymore. Can you please help me with this?
SUMO version: 1.3.0

Best,
Raheleh

On Fri, Aug 30, 2019 at 1:48 AM Jakob Erdmann <namdre.s...@gmail.com> wrote:

> see
> https://github.com/eclipse/sumo/blob/fe6e05ad39e6f4c54bd38c4a02b7c464eedcef1f/src/microsim/devices/MSRoutingEngine.cpp#L160
>
> Am Do., 29. Aug. 2019 um 17:13 Uhr schrieb Raheleh Zarei <
> raheleh.za...@gmail.com>:
>
>> Thanks for your reply.
>> Now I am able to make a breakpoints and debug my code. I need to know how
>> sumo calculate route in Automatic Routing in the code then I can customize
>> it based on my need. Would you please let me know in which code and where
>> should I put breakpoints, so when I run sumo, I can see how routing and
>> travel time is calculated in Automatic Routing mode. I need to access the
>> code and follow the information that pass through the code, while
>> simulation is running.
>>
>> Regards,
>> Rahele
>>
>> On Tue, Aug 27, 2019 at 2:10 AM <pablo.alvarezlo...@dlr.de> wrote:
>>
>>> Hello,
>>>
>>>
>>>
>>> You need to build the project CMake/install_dll (only once).
>>>
>>>
>>>
>>> Regards
>>>
>>>
>>>
>>> *Von:* sumo-user-boun...@eclipse.org [mailto:
>>> sumo-user-boun...@eclipse.org] *Im Auftrag von *Raheleh Zarei
>>> *Gesendet:* Dienstag, 27. August 2019 00:04
>>> *An:* Sumo project User discussions
>>> *Betreff:* Re: [sumo-user] Sumo build error
>>>
>>>
>>>
>>> Thanks for checking.
>>>
>>> I followed the steps and now I have the error message in the attached
>>> file.Would you please help me with this?
>>>
>>>
>>>
>>> Thank you,
>>>
>>> Raheleh
>>>
>>>
>>>
>>> On Mon, Aug 26, 2019 at 2:29 AM <pablo.alvarezlo...@dlr.de> wrote:
>>>
>>> Hello,
>>>
>>>
>>>
>>> you need to select a „start project“ in the list of solution’s project
>>> (see projects.png). In your case, select “sumo” or “sumo-gui”.
>>>
>>>
>>>
>>> Regards
>>>
>>>
>>>
>>> *Von:* sumo-user-boun...@eclipse.org [mailto:
>>> sumo-user-boun...@eclipse.org] *Im Auftrag von *Raheleh Zarei
>>> *Gesendet:* Samstag, 24. August 2019 20:18
>>> *An:* Sumo project User discussions
>>> *Betreff:* [sumo-user] Sumo build error
>>>
>>>
>>>
>>> Hello
>>>
>>>
>>>
>>> I'am trying to access the SUMO source code and apply my changes, I am
>>> following the instruction in this page:
>>> https://sumo.dlr.de/wiki/Installing/Windows_Build  and did all the step.
>>>
>>> In Cmake-gui, when I configure and generate and then open the solution,
>>> I build the solution and run guisim_main.cpp but it gives me the error in
>>> the screenshot. Can you please help me to solve this problem?
>>>
>>>
>>>
>>> Thank you,
>>>
>>> Raheleh
>>>
>>>
>>>
>>> --
>>>
>>> *RAZ*
>>>
>>> _______________________________________________
>>> sumo-user mailing list
>>> sumo-user@eclipse.org
>>> To change your delivery options, retrieve your password, or unsubscribe
>>> from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>>>
>>>
>>>
>>> --
>>>
>>> *RAZ*
>>> _______________________________________________
>>> sumo-user mailing list
>>> sumo-user@eclipse.org
>>> To change your delivery options, retrieve your password, or unsubscribe
>>> from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>>
>>
>> --
>> *RAZ*
>> _______________________________________________
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To change your delivery options, retrieve your password, or unsubscribe
>> from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> _______________________________________________
> sumo-user mailing list
> sumo-user@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>


-- 
*RAZ*
_______________________________________________
sumo-user mailing list
sumo-user@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to