Skip to content

Commit

Permalink
Correct the string being searched for to find the header stamp field (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
kartikmohta authored and facontidavide committed Jun 6, 2017
1 parent 50d3d1c commit 3e40b0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/ROS/dialog_select_ros_topics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ void DialogSelectRosTopics::closeEvent(QCloseEvent *event)

nonstd::optional<double> FlatContainedContainHeaderStamp(const RosIntrospection::ROSTypeFlat &flat_container)
{
const char* ID = ".header.stamp";
const char* ID = "/header/stamp";
const int renamed_count = flat_container.renamed_value.size();
const int OFF = strlen(ID);

Expand Down

0 comments on commit 3e40b0c

Please sign in to comment.