see https://sumo.dlr.de/docs/Networks/Elevation.html#including_elevation_data_in_a_network
Am Di., 6. Okt. 2020 um 08:45 Uhr schrieb Chris Weinhaupl < [email protected]>: > I am just looking at elevation for my tunnel simulation because I would > like to add the concept of ramps. > Where am I adding the z coordinates to a 'junction' or 'edge' ? > I am adding z in netedit? > > Thanks > > On Tue, Oct 6, 2020 at 12:35 AM Jakob Erdmann <[email protected]> > wrote: > >> 1. Yes. All geometries support an optional z-coordinate which will be >> set when the input data provides it. See >> https://sumo.dlr.de/docs/Networks/Elevation.html >> 2. moveToXY currently does not support setting a Z coordinate. If there >> are multiple roads on top of each other, you could specify the target edge >> id (which you could figure out via sumolib.net.getNeighboringEdges ( >> https://sumo.dlr.de/docs/Tools/Sumolib.html#locate_nearby_edges_based_on_the_geo-coordinate) >> and comparing the edge geometry to the target z-coordinate >> >> pitch angle can be retrieved via traci.vehicle.getSlope, yaw via >> traci.vehicle.getAngle and roll-angle is not modelled at all. >> >> regards, >> Jakob >> >> Am Mo., 5. Okt. 2020 um 16:45 Uhr schrieb Hamid Abdolhay < >> [email protected]>: >> >>> Hi all, >>> >>> I had a couple of questions regarding SUMO roads and 3D traffic >>> synchronization using Traci >>> >>> 1. Can we import a 3D opendrive road into SUMO? does SUMO support 3D >>> roads in general? >>> 2. I noticed in TraCI API, you can set a car's position using moveXY >>> function and specify its heading angle. I was wondering can we send 3D >>> car's state to SUMO? (XYZ position and RPY angles). Also how can we get 3D >>> angles from SUMO (e.g pitch angle when car is going up a bridge) >>> >>> Thanks in advance >>> Regards, >>> Hamid >>> _______________________________________________ >>> sumo-user mailing list >>> [email protected] >>> To unsubscribe from this list, visit >>> https://www.eclipse.org/mailman/listinfo/sumo-user >>> >> _______________________________________________ >> sumo-user mailing list >> [email protected] >> To unsubscribe from this list, visit >> https://www.eclipse.org/mailman/listinfo/sumo-user >> > _______________________________________________ > sumo-user mailing list > [email protected] > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
