(img, speed_ms, angle_steers, color=(0,0,255))
| 79 | return y_actual, curvature |
| 80 | |
| 81 | def draw_path_on(img, speed_ms, angle_steers, color=(0,0,255)): |
| 82 | path_x = np.arange(0., 50.1, 0.5) |
| 83 | path_y, _ = calc_lookahead_offset(speed_ms, angle_steers, path_x) |
| 84 | draw_path(img, path_x, path_y, color) |
| 85 | |
| 86 | # ***** main loop ***** |
| 87 | if __name__ == "__main__": |
no test coverage detected