Closed dantenoguera closed 2 years ago
Hello @dantenoguera, thank you for pointing this out. For the pose, we can usually visualize the location with RVIS despite not having a frame_id. However, the conversion to Odometry messages does require a child frame id (see for ref.):
static inline nav_msgs::Odometry EigenVec3dToOdomMsg(const double& t, const Eigen::Vector3d& position)
{
nav_msgs::Odometry odom_msg;
odom_msg.header.stamp.fromSec(t);
odom_msg.header.frame_id = "map";
odom_msg.child_frame_id = "map";
However, if this does not work correctly on your side, we'll add the reference to the conversion soon.
The update is prepared from @mascheiber and will be online soon.
Added in b0642a04, feel free to check out the addition of rviz and tf2 publishing done by @mascheiber in a2fe758
Here is a
geometry_msgs/PoseStamped
message I get running an instance of agps_node
:(Notice the empty
frame_id
)Without
frame_id
we can't visualize poses, for example.