Carma-platform v4.2.0
CARMA Platform is built on robot operating system (ROS) and utilizes open source software (OSS) that enables Cooperative Driving Automation (CDA) features to allow Automated Driving Systems to interact and cooperate with infrastructure and other vehicles through communication.
visualize_xodr.py File Reference

Go to the source code of this file.

Namespaces

namespace  visualize_xodr
 

Variables

string visualize_xodr.xodr_file_path = "xodr_map.xodr"
 
 visualize_xodr.tree = ET.parse(xodr_file_path)
 
 visualize_xodr.root = tree.getroot()
 
 visualize_xodr.fig
 
 visualize_xodr.ax
 
 visualize_xodr.figsize
 
 visualize_xodr.road_name = road.get("name", "")
 
 visualize_xodr.x = float(geometry.get("x"))
 
 visualize_xodr.y = float(geometry.get("y"))
 
 visualize_xodr.hdg = float(geometry.get("hdg"))
 
 visualize_xodr.length = float(geometry.get("length"))
 
 visualize_xodr.dx = length * np.cos(hdg)
 
 visualize_xodr.dy = length * np.sin(hdg)
 
 visualize_xodr.head_width
 
 visualize_xodr.length_includes_head
 
 visualize_xodr.fontsize