Create an abstract controller class

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

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
cpp
Domain
robotics

Research direction

The issue does not name any files, tests, or existing entry points. Start by locating the current Kermit control code and determine how controller loading and lifecycle methods are represented. Done means agreeing on and implementing an abstract controller design that supports Wii and keyboard controllers without requiring front-end Sentinet knowledge.

Written by the indexing model from the issue text.

Description

enhancement

This is in progress right now, but I need a class that has simple methods such as start, update and stop, that do their respective functions to Kermit. this class will NOT use any sentinet in the front end (i.e. the interface uses sentinet and thats something I (Theo) will do, otherwise, the developer doesn't need to even think about sentinet). I would prefer and abstract class that allows different types of controllers to plug into the system (i.e. wii control, keyboard control, etc). I'll create a seperate repository for these, but I'll keep all these in this repository for now. The class would look like this

KermitControlModule kermit;
kermit->start();

WiiController wii = WiiController(parameters);

kermit->load_controller(wii);
kermit->drop_controller(wii);

KeyboardController key = KeyboardController(parameters);

kermit->load_controller(key);
kermit->drop_controller(key);

kermit->stop();
Dominant language
C++
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

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.

More from lincketheo/sentinet_cpp

All issues in lincketheo/sentinet_cpp

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.