MCPcopy
hub / github.com/AtsushiSakai/PythonRobotics / plot

Method plot

Mapping/rectangle_fitting/simulator.py:35–40  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

33 self.v = self.max_v
34
35 def plot(self):
36 plt.plot(self.x, self.y, ".b")
37
38 # convert global coordinate
39 gx, gy = self.calc_global_contour()
40 plt.plot(gx, gy, "--b")
41
42 def calc_global_contour(self):
43 gx = [(ix * np.cos(self.yaw) + iy * np.sin(self.yaw)) +

Callers 15

mainFunction · 0.95
mainFunction · 0.45
potential_field_planningFunction · 0.45
plot_carFunction · 0.45
dp_planningFunction · 0.45
mainFunction · 0.45
hybrid_a_star_planningFunction · 0.45
mainFunction · 0.45
plot_arrowFunction · 0.45
mainFunction · 0.45
main2Function · 0.45

Calls 1

calc_global_contourMethod · 0.95

Tested by

no test coverage detected