Hi Jakob,
Thanks for the response. There's quite a bit to digest in that.

I think I get it now. I thought you had implemented the 'leave road'
functionality with #2033, but that is something different.
I will need keepRoute=2 in #2258

When we discussed this a while back, you thought this could be achieved by
the end of June? Do you think is this is still a possibility? Is there
anything I could do to help?

Cheers,
Erik






-- 
Erik Newton
Model Integration Engineer
rFactor Pro

e: [email protected]
w: http://www.rfpro.com
m: +44 (0) 7967 270693

This e-mail and any files transmitted with it are private and confidential.
If you have received this email in error please notify the sender
immediately and delete this e-mail from your system. The recipient should
check this email and any attachments for the presence of viruses. rFactor
Pro accepts no liability for any damage caused by any virus transmitted by
this email. rFactor Pro is the trading name of Kangaloosh Limited,
registered in England No. 06427019.

On 6 June 2016 at 14:41, Jakob Erdmann <[email protected]> wrote:

> Hello,
> - the issue in line 1396 has been addressed in revision 20892. The warning
> is now issued in all cases. Thanks for pointing it out
> - unless you can provide evidence against it, I would assume that the
> vehicle is not removed due to failure of moveToXY but due to reaching the
> end of its route. Once you move a vehicle onto an edge that is not on it's
> route, the vehicle gets a new route that consists only of that edge. It's
> easy for the vehicle to reach the end of that edge and be removed
> (currently, the only work-around is to set the vehicle speed to 0, which
> isn't always desirable).
> - If you want to move the vehicle off the road, you can do any of the
> following things:
>    a) add a stop with parking=true (can be done via TraCI)
>    b) enable the sublane-model (if you add the sumo option
> --lateral-resolution 3.2 everything will behave as before but moveToXY can
> move vehicles to the side of the road)
>    c) wait until the implementation of
> http://sumo.dlr.de/trac.wsgi/ticket/2258
>
> regards,
> Jakob
>
>
>
> 2016-06-06 9:53 GMT+02:00 Erik Newton <[email protected]>:
>
>> Using C++ TraCI, I've been looking at the new moveToXY functionality such
>> that our VTD_EGO vehicle can leave the road. I may be misunderstanding
>> what
>> it is meant to do, but I'm struggling to get it to do what I would like it
>> to do.
>>
>> Firstly I think there is an error on line 1396 of
>> TraCIServerAPI_Vehicle.cpp. I think it should be:
>> if (keepRoute) {
>> So it only generates the error if keepRoute was true.
>>
>> Assuming I have understood that correctly, then it appears that the logic
>> for the rest of it is:
>> When I say don't keepRoute, move to the required position, then if within
>> 100 metres of a road snap back onto it. If >100 meters from a road then it
>> appears to remove the vehicle from the sim altogether, which means I lose
>> the subscription to all the other vehicle positions.
>>
>> What I would like to be able to do, is pull to the side of the road, and
>> allow traffic to proceed. I can see that I could reduce the 100m
>> (maxRouteDistance) but then I still have the issue of the ego vehicle
>> being
>> removed, which is beyond my current understanding of the code.
>>
>> Am I understanding everything correctly?
>>
>> Cheers,
>> Erik
>>
>> ------------------------------------------------------------------------------
>> What NetFlow Analyzer can do for you? Monitors network bandwidth and
>> traffic
>> patterns at an interface-level. Reveals which users, apps, and protocols
>> are
>> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
>> J-Flow, sFlow and other flows. Make informed decisions using capacity
>> planning reports.
>> https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
>> _______________________________________________
>> sumo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/sumo-devel
>>
>
>
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
sumo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-devel

Reply via email to