Skip to content

Commit

Permalink
fix issue #904: wring ROS odometry parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
facontidavide committed Jan 9, 2024
1 parent 730172e commit cf91493
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plotjuggler_plugins/ParserROS/ros_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,9 @@ void ParserROS::parseImu(const std::string& prefix, double& timestamp)
void ParserROS::parseOdometry(const std::string& prefix, double& timestamp)
{
parseHeader(prefix + "/header", timestamp);
std::string child_frame_id;
_deserializer->deserializeString(child_frame_id);
getStringSeries(prefix + "/child_frame_id").pushBack({ timestamp, child_frame_id });
parsePoseWithCovariance(prefix + "/pose", timestamp);
parseTwistWithCovariance(prefix + "/twist", timestamp);
}
Expand Down

0 comments on commit cf91493

Please sign in to comment.