Even when you are remote-controlling the vehicle, it still tries to compute it's movements like a normal vehicle in order to interact with measurement locations and simulation outputs. When it reaches the end of it's route but is not allowed to exit the network it has to stop quickly. There are plans to allow for automatic extension of the route ( https://github.com/eclipse/sumo/issues/4250) but the current work-around is to update the route from traci to avoid reaching the end.
The snapping-to-lane should only happen when you are using keepRoute != 2. Can you describe what is happening in more detail? Am Mo., 10. Feb. 2020 um 17:35 Uhr schrieb Jaeger Bomb < jaegerbom...@gmail.com>: > What seems to be happening is that if I'm manual driving the vehicle and > it gets near the end of the given route, it will emergency stop for an > unknown reason. If I drive completely randomly, off road, it works > perfectly. It also tends to 'snap' to a lane as I'm driving anywhere near > the road. Am I missing a setting or something? > > Thanks, > JB > > On Fri, Feb 7, 2020 at 6:41 PM Jakob Erdmann <namdre.s...@gmail.com> > wrote: > >> 1) this should be working out of the box. As soon as the car is on the >> road (even partially) other vehicles will interact with it. >> 2) your car has a route when entering the simulation. When it drives of >> the road, that will still be it's route and when it moves back onto the >> road at an edge that is on it's route it will continue using that route. >> Only if you enter the network at an edge not on it's route, a new route >> will be set that consists of that edge (only a single edge). >> >> regards, >> Jakob >> >> Am Do., 6. Feb. 2020 um 21:22 Uhr schrieb Jaeger Bomb < >> jaegerbom...@gmail.com>: >> >>> Ok - after playing with it for a little bit, I have the ability to take >>> control of a car and drive them manually. However, I'm not sure the best >>> way to accomplish the following. >>> >>> 1) The user can drive the car anywhere now. Which means if it's near a >>> road, I would like it to be in the sumo network, else it's on it's own. >>> 2) Normally when I am driving autonomously, I would grab a new route >>> when I was getting close to the end of my current one. I can't do that >>> now, because I have no more definition of a "route". I'm just driving >>> around lol. >>> >>> Do you know the best way to setup my car so it can switch between >>> autonomou / manual driving, and handle the routing issues that come with >>> driving off roads (or even turning around going in the wrong direction)? >>> >>> Thanks, >>> JB >>> _______________________________________________ >>> sumo-dev mailing list >>> firstname.lastname@example.org >>> To change your delivery options, retrieve your password, or unsubscribe >>> from this list, visit >>> https://www.eclipse.org/mailman/listinfo/sumo-dev >>> >> _______________________________________________ >> sumo-dev mailing list >> email@example.com >> To change your delivery options, retrieve your password, or unsubscribe >> from this list, visit >> https://www.eclipse.org/mailman/listinfo/sumo-dev >> > _______________________________________________ > sumo-dev mailing list > firstname.lastname@example.org > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-dev >
_______________________________________________ sumo-dev mailing list email@example.com To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-dev