Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Vehicles in Simulation are moving "shaky"

This is a misunderstanding. The transformation is maintained because the network records the applied offset and uses it when converting between x,y and lon,lat. (when writing fcd output and when using traci or sumolib to convert coordinates).
You do not need to change a config file.
the below call should to the trick (by default offsets are maintained when loading a .net.xml file but the below option forces shifting)
> netconvert -s old.net.xml -o new.net.xml --offset.disable-normalization false

Am Mi., 10. Apr. 2019 um 10:05 Uhr schrieb <ratzenmeier@xxxxxx>:
Ok, thanks. So it‘s important that I retain the x,y coordinates because of the transformation to lat/lon. Which of those options should I use then? And do I have to set it in my config file?

> Gesendet: Mittwoch, 10. April 2019 um 09:39 Uhr
> Von: "Jakob Erdmann" <namdre.sumo@xxxxxxxxx>
> An: "Sumo project User discussions" <sumo-user@xxxxxxxxxxx>
> Betreff: Re: [sumo-user] Vehicles in Simulation are moving "shaky"
>
> Then you may get flickering in the GUI due to numerical (rounding) errors.
> There should even be a warning to this effect when building the network
> with netconvert. The recommended solution is to shift the network
> coordinates so that the lower left corner is at 0,0.
> Netconvert does this by default unless you set option
> --offset.disable-normalization or specify a custom offset.
> You can re-shift an existing network using netconvert options --offset.x
> and --offset.y
>
> regards,
> Jakob
>
> Am Mi., 10. Apr. 2019 um 09:35 Uhr schrieb <ratzenmeier@xxxxxx>:
>
> > Yes, it is using large x,y coordinates .
> >
> > > Gesendet: Mittwoch, 10. April 2019 um 09:20 Uhr
> > > Von: "Jakob Erdmann" <namdre.sumo@xxxxxxxxx>
> > > An: "Sumo project User discussions" <sumo-user@xxxxxxxxxxx>
> > > Betreff: Re: [sumo-user] Vehicles in Simulation are moving "shaky"
> > >
> > > Is your network using very large x,y coordinates?
> > >
> > > Am Mi., 10. Apr. 2019 um 09:07 Uhr schrieb <ratzenmeier@xxxxxx>:
> > >
> > > > Good Morning everyone,
> > > >
> > > > I have a question about the simulation directly. It's working totally
> > fine
> > > > and as expected, but my vehicles are moving, like "shaky/tremulous",
> > not
> > > > smoothly following the lane.
> > > > I have implemented the sublane model with 4 sublanes. But not using it
> > > > doesn't solve the probleme either. Is it a specific paramter in the
> > config
> > > > or type definition of the vehicle?
> > > >
> > > > Thanks in advance!
> > > > _______________________________________________
> > > > sumo-user mailing list
> > > > sumo-user@xxxxxxxxxxx
> > > > 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@xxxxxxxxxxx
> > > 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@xxxxxxxxxxx
> > 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@xxxxxxxxxxx
> 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@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top