Skip to content

Deep refactoring to allow for different motor models in one DynamixelMotors object#1

Open
HanaeRateau wants to merge 26 commits intomainfrom
dev_motorsgeneralization
Open

Deep refactoring to allow for different motor models in one DynamixelMotors object#1
HanaeRateau wants to merge 26 commits intomainfrom
dev_motorsgeneralization

Conversation

@HanaeRateau
Copy link
Copy Markdown
Contributor

@HanaeRateau HanaeRateau commented Mar 18, 2026

This PR breaks the previous version of the API.

  • Cleans the way the motor parameters are fetched using a catalog of all Dynamixel motors to load into ModelConfig class
  • Introduces MotorConfig class to better manage motor configurations
  • Introduces a flexible syntax to configure the gourp of motors with a dict or json file

Example of MotorConfig:

# Example of a motor description dictionary for 4 XM430-W210 motors, note that the IDs must be unique for each motor, but the other parameters can be shared among motors of the same model.
{
    "id": [0, 1, 2, 3],
    "model": "XM430-W210",
    "pulley_radius": 20,
    "pulse_center": 2048,
    "max_vel": 1000,
    "baud_rate": 57600
}

To do:

  • Check the config with Alex
  • Should we be able to have per-motor operating mode?
  • Integrate the torque estimation functions

@HanaeRateau HanaeRateau marked this pull request as draft March 30, 2026 08:55
@HanaeRateau HanaeRateau marked this pull request as ready for review April 10, 2026 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant