Skip to content

RangeBearingSensor: line_style and poly_style are accepted but unused; animate the sensing beam and region #753

Open

Description

@petercorke

RangeBearingSensor.__init__ accepts line_style and poly_style and stores them as _line_style and _poly_style, but nothing reads them. They were meant to style the sensor beam and the sensing region polygon, which should be drawn and updated every time reading() is called, based on the robot's current configuration (the toolbox's MATLAB ancestor did this).

At present plot=True only displays the map and draws a line from the robot to the landmark observed (sensors.py, plot()); the range limit and the angular field of view are never shown.

Deliberately left as is for now; this is the planned future work on animating the beam.

🤖 Generated with Claude Code

Activity

  1. added
    tech-debtKnown technical debt / deferred cleanup, not a live bug
    on Oct 13, 2026
  2. added a commit that references this issue on Oct 17, 2026
    07bab37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    tech-debtKnown technical debt / deferred cleanup, not a live bug

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions