-
Notifications
You must be signed in to change notification settings - Fork 39
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 motor temperature sensor support to SensorBridge and YarpSensorBridge and logger #946
Conversation
|
||
if (jointVelocties.size() != m_pimpl->controlBoardRemapperMeasures.jointVelocities.size()) | ||
{ | ||
log()->error("[YarpSensorBridge::getJointVelocities] Joint velocities and positions have " |
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.
Is the message correct?
Aren't you checking if the input velocity has the right dimension?
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.
Fixed in 8e5957e
if (jointAccelerations.size() | ||
!= m_pimpl->controlBoardRemapperMeasures.jointAccelerations.size()) | ||
{ | ||
log()->error("{} Joint accelerations and positions have different sizes.", logPrefix); |
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.
Same here
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.
Fixed in 8e5957e
= m_pimpl->controlBoardRemapperMeasures.receivedTimeInSeconds; | ||
|
||
return true; | ||
} |
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.
} | |
} | |
8c7ce23
to
8e5957e
Compare
…rBridge and YarpRobotLoggerDevice
This PR mitigates #819 in the case of motor temperature. Thanks to robotology/yarp#3188, the motor temperature will now be streamed in
stateExt
, eliminating the need for RPC calls betweencontrolboard_nws
andRemoteControlBoard
.