forked from ros-tooling/libstatistics_collector
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check if message has a "header" field with a stamp subfield of type b…
…uiltin_interfaces::msg::Time (ros-tooling#54) * Fix for Issue 51. Adds check to HasHeader template to check that the message in question has a field called 'header' with a subfield 'stamp' of type builtin_interfaces::msg::Time. Added unit test case and DummyCustomHeaderMessage for use with tests. Signed-off-by: scott.mende@sslmda.com <scott.mende@sslmda.com> Signed-off-by: Devin Bonnie <dbbonnie@amazon.com> Signed-off-by: Emerson Knapp <emerson.b.knapp@gmail.com> Signed-off-by: Chris Lalancette <clalancette@openrobotics.org> Signed-off-by: Tim Clephas <tim.clephas@nobleo.nl>
- Loading branch information
1 parent
15ec42e
commit 0271aeb
Showing
5 changed files
with
31 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# This is a dummy message type with a custom header field that is not type `Header`. | ||
# It is intended for use in topic statistics tests. | ||
|
||
std_msgs/ColorRGBA header |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters