-
Notifications
You must be signed in to change notification settings - Fork 338
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
Incorrect frame_id values for Temperature messages? #315
Comments
I'll use the link names of the frames that actually sit inside the joints. |
Thinking about this, I'm not sure if using link names just because I personally prefer to misuse the Alternatively, a new message type could be introduced. |
We discussed this here as well: the idea is that the We don't know where the temperature sensors are located exactly, but a good assumption would be the joints. With this in mind it would seem acceptable to use the names of the links for A completely proper solution would be to introduce new |
Fixed with the merge of #320. |
The current implementation (
kinetic-devel
) uses the joint names as values for theheader.frame_id
when publishingTemperature
messages for the joint (motor) temperatures:https://github.com/ros-industrial/ur_modern_driver/blob/6b818fa149bcd070131d6b04e5d97e2f67d28684/src/ros/rt_publisher.cpp#L94-L107
joint_names_
is populated here:https://github.com/ros-industrial/ur_modern_driver/blob/6b818fa149bcd070131d6b04e5d97e2f67d28684/include/ur_modern_driver/ros/rt_publisher.h#L72-L75
with the defaults coming from here:
https://github.com/ros-industrial/ur_modern_driver/blob/6b818fa149bcd070131d6b04e5d97e2f67d28684/include/ur_modern_driver/ros/rt_publisher.h#L37-L38
frame_id
s can never be set to names ofjoint
s, only tolink
names, as only the latter will correspond to TF frames.The intent of the publisher is of course to publish joint temperatures, so using
joint_names_
seems like the logical thing to do, butheader.frame_id
just cannot be used that way, as it violates convention and thus potentially breaks applications.The text was updated successfully, but these errors were encountered: