-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
Do-It-Yourself (DIY) Robot
cuz why not 🤷♂
Background
Robot enthusiasts and engineers may have a custom robotic platform. It is very unlikely that someone will integrate their own robot into this library ecosystem.
However...
A robot class should be made such that its like a pick and choose system.
Ideas
RobotName(Communication, **kwargs)
Robot(SocketClass, "IP", "Port") # ExampleCan use the __call__ function
def __call__(self, Communication, **kwargs):
# Setup connection handling based on communication__init__ function/class would not come with communication and command inheritance.
Example pseudocode:
from armctl import DIYRobot
from armctl.comms import Serial
Robot = DIYRobot() # "Blank Factory Class"
Robot(Serial, "COM0", "115200") # uses call functionFrom here, the engineer could just use the send_command() built-in function to generate custom calls. No template commands will come with this class as nothing is assumed or known. DIYRobot would only have:
connect() # Internal
disconnect() # Internal
send_command() # ExternalCopilot
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed