CCGSRobotics / RoboHUD

The RoboHUD GUI stack developed by CCGS Robotics
https://robohud.readthedocs.io
MIT License
10 stars 4 forks source link

Automatic detection of servo characteristics #64

Open Finchiedev opened 4 years ago

Finchiedev commented 4 years ago

To provide a better user experience, the server must be able to detect if a servo exists, and what protocol & model it is. As the model number of a servo is always at control table index 0, the server can determine what protocol the servo is running, then communicate with it to read the model number before relaying that information back to the robot.

To accomplish this, I suggest the following:

This will allow the client to get a list of all connected servos, and match the model to a CSV file, meaning the user does not have to worry about the technical information of the servos.