-
Notifications
You must be signed in to change notification settings - Fork 77
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 and child_frame_id #302
Comments
@martfra Thank you very much for your feedback. I think there are two seperate issues here. /ekf/velocityThe /*/odometry_earthWhen initially determining how we would output these messages, we looked at the noetic definition of the Odometry message and as it states there:
And that holds true for these messages since the twist component is populated with ECEF velocity. However, after looking at the more recent message definition you sent and thinking about the use cases that most consumers of the odometry message would have, I agree that the |
@robbiefish, thank you for the explanation. No, I am not using the Thank you for considering to implement changes for the |
This issue is stale because it has been open for 2 weeks with no activity. If the issue is still not resolved, please leave a comment describing what is still not working |
The changes to I looked around to see if there were any other nodes which published NED or ECEF velocity so that we could behave the same as them. I ended up finding that the ublox also uses the |
Thanks for the update. Let's close this issue. |
Describe the bug
The
frame_id
of the/ekf/velocity
topic and thechild_frame_id
of the odometry earth topics (/ekf/odometry_earth
,/gnss_1/odometry_earth
, and/gnss_2/odometry_earth
) topic are incorrect.According to the ROS wiki page, the twist message published on the
/ekf/velocity
topic is in NED frame. Thus, theframe_id
of the ROS message should be the map frame, whose name is configured by means of the themap_frame_id
parameter. However, the publisher uses theframe_id
parameter (i.e. the sensor frame), see line 139 of publishers.cpp.For the three odometry earth topics (
/ekf/odometry_earth
,/gnss_1/odometry_earth
, and/gnss_2/odometry_earth
) , the odometry messages have both fields,frame_id
as well aschild_frame_id
, set to theearth_frame_id
parameter, see lines 132-133 and lines 141-142 in publishers.cpp. Thechild_frame_id
of the messages should be set to theframe_id
parameter instead of theearth_frame_id
parameter. Otherwise the reported poses make no sense. See the odometry message definition.To Reproduce
Clone the
ros2
branch of the repository and activate the mentioned topics in the configuration by setting their rate >0. Then doExpected behavior
The messages on
/ekf/velocity
topic use themap_frame_id
parameter for theframe_id
in the header. The messages on the odometry earth topics use theframe_id
parameter for thechild_frame_id
message field.Environment
Modifications
No modifications have been performed.
The text was updated successfully, but these errors were encountered: