petercorke / petercorke/robotics-toolbox-python

Connector/backend API polish: addable-object superclass, teach-panel promotion, getframe()

Open
#676 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted
Dominant language
C++
Stars
3.5k
Forks
624
Avg merge
2d 4h
Merged PRs (30d)
53

Description

Small cluster of backend-API cleanup ideas, migrated from the wiki's Backends page TODO section.

  • Objects addable to a backend (robots, shapes, etc.) don't share a common superclass with the abstract methods they need — tidy this up
  • teach is still effectively a private/underscore-prefixed panel feature — promote it to a proper public API
  • Add a getframe() method to Connector to return the current frame as a PIL image, for saving/embedding — needs a design that works across backends (PyPlot, Swift, ...) since none currently implement it

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the Connector entry point, the addable backend objects, and the current underscore-prefixed teach panel feature. Compare the PyPlot and Swift backends before deciding how getframe() can return a PIL image across implementations. Done means the shared object API, public teach API, and cross-backend frame API are defined and implemented.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
backend-api-design
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.