> Hi ,
>
>
>
> If a set a couple of MeMe detectors in the network .I am able to retrieve
> them using traci4j however how can I make the association between detector
> value and the  concerned edge ?
>
> i mean is it possible to get
>
> egdge.querydetector.querymeanSpeedWithin.
>
> Normally the value meanSpeedWithin is an aggragation over an interval of
> time and should reflect congestion situation in the given edge isn't it ?
> Thus it would be different for edge.querylaststepMeanSpeed?
>
>
>
> regards
>
>
>
>
>
>
> On 7 November 2013 13:31, Enrico Gueli <[email protected]> wrote:
>
>> Try this:
>> ChangeMaxSpeedQuery q = VehRef.queryChangeMaxSpeed();
>> q.setValue((double) -1);
>> q.run();
>>
>> Best regards,
>> Enrico
>>
>> 2013/11/7 hanene <[email protected]>:
>> > Hi Enrico,
>> >
>> > Thanks a lot for your response.
>> > In fact I simulate emergency vehicle service. thus the vehicle has to
>> stop
>> > for some duration in the road side ( ie parking state)
>> > I m not sure  how to do this! . there is no Junittest done using this
>> > commande.So I tried this way
>> > VehRef.queryChangeMaxSpeed().setValue((double) -1);
>> > VehRef.queryChangeMaxSpeed().setValue((double) 0);
>> >
>> > but the vehcile keep moving and continue its road in both case
>> >
>> > is there any error ?
>> >
>> >
>> > On 7 November 2013 04:42, Enrico Gueli <[email protected]> wrote:
>> >>
>> >> Hi,
>> >> did you try to set max speed to zero, then back to a reasonable value?
>> >>
>> >> Best regards,
>> >> Enrico
>> >>
>> >>
>> >> 2013/11/6 hanene <[email protected]>:
>> >> > Hi
>> >> >
>> >> > I would like to change the state of vehicle by asking them to stop
>> in a
>> >> > given edge then resuming after a period of time
>> >> > I do not see any implementation of these Traci query in Traci4j
>> >> > had any one implemented  them before?
>> >> > Is it possible to get hints how to add these two query
>> >> >
>> >> >
>> >> > Thanks a lot
>> >> >
>> >> > regards
>> >>
>> >>
>> >>
>> >> --
>> >> Enrico
>> >
>> >
>>
>>
>>
>> --
>> Enrico
>>
>
>
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to