ethz-asl / rotors_simulator

RotorS is a UAV gazebo simulator
1.2k stars 756 forks source link

No child_frame_id is set for the TransformStamped message published by gazebo odometry plugin #654

Open sayali-purdue opened 3 years ago

sayali-purdue commented 3 years ago

child_frame_id field of the TransformStamped message is not set before publishing the message on a ROS topic at line 828 in gazebo_ros_interface_plugin.cpp. This message is published by odometry plugin which sets only the frame_id field in gazebo_odometry_plugin.cpp. As per the definition of geometry_msgs::TransformStamped, a message of this type contains a transform from frame_id to child_frame_id. Would really appreciate if you can explain why the child frame of the transform is not set?

Thank you!