-
Notifications
You must be signed in to change notification settings - Fork 38
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
Add joint and motor acceleration reading #492
Add joint and motor acceleration reading #492
Conversation
double& jointAcceleration, | ||
OptionalDoubleRef receiveTimeInSeconds = {}) final; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you keep the right indentation?
* @return true/false in case of success/failure | ||
*/ | ||
bool getJointAccelerations(Eigen::Ref<Eigen::VectorXd> jointAccelerations, | ||
OptionalDoubleRef receiveTimeInSeconds = {}) final; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As above
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @isorrentino ! super minor comments only related to the aesthetics.
|
||
/** | ||
* Get all motors' accelerations in rad/s | ||
* @param[out] parameter all motors' accelerations in radians per second squared |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* @param[out] parameter all motors' accelerations in radians per second squared | |
* @param[out] motorAccelerations all motors' accelerations in radians per second squared |
|
||
/** | ||
* Get all joints' accelerations in rad/s^2 | ||
* @param[out] parameter all joints' accelerations in radians per second squared |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* @param[out] parameter all joints' accelerations in radians per second squared | |
* @param[out] jointAccelerations all joints' accelerations in radians per second squared |
bool YarpSensorBridge::getJointAcceleration(const std::string& jointName, | ||
double& jointAcceleration, | ||
OptionalDoubleRef receiveTimeInSeconds) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please correct the indentation.
bool YarpSensorBridge::getJointAccelerations(Eigen::Ref<Eigen::VectorXd> jointAccelerations, | ||
OptionalDoubleRef receiveTimeInSeconds) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please correct the indentation.
bool YarpSensorBridge::getMotorAcceleration(const std::string& jointName, | ||
double& motorAcceleration, | ||
OptionalDoubleRef receiveTimeInSeconds) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please correct the indentation.
bool YarpSensorBridge::getMotorAccelerations(Eigen::Ref<Eigen::VectorXd> motorAccelerations, | ||
OptionalDoubleRef receiveTimeInSeconds) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please correct the indentation.
|
||
/** | ||
* Get all motors' accelerations in rad/s^2 | ||
* @param[out] parameter all motors' accelerations in radians per second squared |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* @param[out] parameter all motors' accelerations in radians per second squared | |
* @param[out] motorAccelerations all motors' accelerations in radians per second squared |
|
||
/** | ||
* Get all joints' accelerations in rad/s^2 | ||
* @param[out] parameter all joints' accelerations in radians per second squared |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* @param[out] parameter all joints' accelerations in radians per second squared | |
* @param[out] jointAccelerations all joints' accelerations in radians per second squared |
fb45b7c
to
bd5918a
Compare
Suggested changes pushed! |
bd5918a
to
e704a9f
Compare
The failure is not related to this PR 😄
As you can notice, the action is failing while compiling the following line
I think that in the nearest future we will have a similar issue also for the conda installation (cc @traversaro) A possible solution is to implement what explained here (but I don't know if this approach is back-compatible with the old fmt version installed by ubuntu 20.04 Another possibility's to modify directly this line:
|
@isorrentino could you try to handle it in another PR? If you don't have time I can do it |
#495 should fix the problem |
e704a9f
to
c27ff1d
Compare
Waiting for CI and then I will merge it |
Related issue: robotology/robotology-superbuild#991 . |
No description provided.