Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement getCurrents #127

Open
traversaro opened this issue Mar 19, 2024 · 1 comment
Open

Implement getCurrents #127

traversaro opened this issue Mar 19, 2024 · 1 comment

Comments

@traversaro
Copy link
Member

We already knew about this (see

bool ControlBoardDriver::getCurrent(int m, double* curr)
{
// TODO
return true;
}
bool ControlBoardDriver::getCurrents(double* currs)
{
// TODO
return true;
}
), but I just wanted to open a dedicated issue as this would be useful for @carloscp3009 .

For the implementation, as now getTorque actually return the torque that the output shaft of the transmission is applying to the mechanical structures, it make sense that getCurrents instead returns the "motor torque", divided by the k_tau or similar constant.

@traversaro
Copy link
Member Author

fyi @GiulioRomualdi

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

No branches or pull requests

1 participant