Neobotics Foundation Inc.
These docs are public and open source.Edit on GitHub

RC.DISPLAY

The display module writes text to the dot matrix on the back of the car and opens image windows on the Jetson desktop.

METHODS

rc.display.show_text(text: str, scroll_speed: float = 2.0)returns None

Shows text on the dot matrix panel on the back of the car. Text wider than the panel scrolls automatically; the firmware ignores scroll_speed.

rc.display.clear()returns None

Returns the dot matrix to its idle frame. To blank the panel instead, call show_text(" ").

rc.display.show_color_image(image)returns None

Opens a window on the Jetson desktop showing the given color image. Needs a display: use it at the car or over Remote desktop, not plain SSH.

rc.display.show_lidar(samples: NDArray, radius: int = 128, max_range: int = 1000, highlighted_samples: list[tuple[float, float]] = [])returns None

Opens a window on the Jetson desktop plotting a LiDAR scan top-down, with the car at the centre. Needs a display, the same as show_color_image.

EXAMPLE USAGE

python
import racecar_core rc = racecar_core.create_racecar() def start(): rc.display.show_text("NEO") def update(): pass rc.set_start_update(start, update) rc.go()

For full documentation, visit the racecar-neo-library documentation.