forked from rosjava/rosjava_core
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from fmessmer/test_noetic
test noetic
- Loading branch information
Showing
8 changed files
with
75 additions
and
75 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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/python | ||
#!/usr/bin/env python | ||
# | ||
# Copyright (C) 2012 Google Inc. | ||
# | ||
|
@@ -23,15 +23,15 @@ | |
|
||
__author__ = '[email protected] (Damon Kohler)' | ||
|
||
import StringIO | ||
import io | ||
|
||
import roslib; roslib.load_manifest('rosjava_test') | ||
import rospy | ||
|
||
import nav_msgs.msg as nav_msgs | ||
|
||
message = nav_msgs.Odometry() | ||
buf = StringIO.StringIO() | ||
buf = io.StringIO() | ||
message.serialize(buf) | ||
print ''.join('0x%02x,' % ord(c) for c in buf.getvalue())[:-1] | ||
print(''.join('0x%02x,' % ord(c) for c in buf.getvalue())[:-1]) | ||
|