robotics_toolbox.render.se2_renderer.SE2Renderer

class robotics_toolbox.render.se2_renderer.SE2Renderer(ax, t, length=0.1, *args, **kwargs)

Bases: object

Parameters:
  • ax (plt.Axes)

  • t (SE2 | SO2)

  • length (float)

__init__(ax, t, length=0.1, *args, **kwargs)
Parameters:
  • ax (Axes)

  • t (SE2 | SO2)

  • length (float)

Return type:

None

Methods

__init__(ax, t[, length])

plot_line_between_points(a, b, *args, **kwargs)

Plot line between two given 2D points a and b.

update()

plot_line_between_points(a, b, *args, **kwargs)

Plot line between two given 2D points a and b. Other arguments passed to ax.plot function.

Parameters:
  • a (_SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes])

  • b (_SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes])