Skip to content

Commit

Permalink
Allow transform to be used with ros arguments and in a launch file #644
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasw authored and dirk-thomas committed Aug 26, 2015
1 parent 32edfbf commit 61d987d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/topic_tools/scripts/transform
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ class TopicOp:
help='Wait for input messages.'
)

args = parser.parse_args()
# get and strip out ros args first
argv = rospy.myargv()
args = parser.parse_args(argv[1:])

self.modules = {}
for module in args.modules:
Expand Down

0 comments on commit 61d987d

Please sign in to comment.