MCPcopy Create free account
hub / github.com/AdaCompNUS/summit / draw_waypoint_union

Function draw_waypoint_union

PythonAPI/util/lane_explorer.py:50–55  ·  view source on GitHub ↗
(debug, w0, w1, color=carla.Color(255, 0, 0), lt=5)

Source from the content-addressed store, hash-verified

48
49
50def draw_waypoint_union(debug, w0, w1, color=carla.Color(255, 0, 0), lt=5):
51 debug.draw_line(
52 w0.transform.location + carla.Location(z=0.25),
53 w1.transform.location + carla.Location(z=0.25),
54 thickness=0.1, color=color, life_time=lt, persistent_lines=False)
55 debug.draw_point(w1.transform.location + carla.Location(z=0.25), 0.1, color, lt, False)
56
57
58def draw_waypoint_info(debug, w, lt=5):

Callers 1

mainFunction · 0.85

Calls 2

ColorMethod · 0.45
LocationMethod · 0.45

Tested by

no test coverage detected