Skip to content

Feature Inquiry: Motion Mode Control Command  #9

@TheIndoorDad

Description

@TheIndoorDad

Hi Tobit,

I'm looking into ways to implement Motion Mode Control (i.e., send desired position and velocity with kp and kd and feedforward torque - 0x400 + ID in the control protocol). I've installed your repo as a python package and used it for position and velocity closed loop control, but unless I'm missing something the motion mode control command is not yet implemented. I've tried to puzzle out how I might modify your source to add the feature, but I'm a C++ novice so I haven't been able to figure it out (yet). Do you have any interest in developing this feature, or do you have any advice as to how I might get started doing so?

I'm aware this would at least require:

  • Allowing a set of CAN addresses with a 0x400 offset (i.e., 0x400 + ID);
  • Encoding inputs into the required data frame and transmitting to the CAN socket;
  • Receiving and decoding reply data;
  • Creating a python binding.

Thank you,
Stefan

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions