From 4b7f1f34e2da686ec12f0faedaf47ec0ee273a19 Mon Sep 17 00:00:00 2001 From: Binit Shah Date: Thu, 2 Sep 2021 21:56:13 -0700 Subject: [PATCH] Improve ROS args for FUNMAP mapping.launch --- stretch_funmap/launch/mapping.launch | 14 +++++++------- stretch_funmap/nodes/funmap | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/stretch_funmap/launch/mapping.launch b/stretch_funmap/launch/mapping.launch index 3d2dd44..cf560f0 100644 --- a/stretch_funmap/launch/mapping.launch +++ b/stretch_funmap/launch/mapping.launch @@ -1,6 +1,8 @@ - + + + @@ -20,10 +22,8 @@ - - - - + + @@ -37,11 +37,11 @@ - + - + diff --git a/stretch_funmap/nodes/funmap b/stretch_funmap/nodes/funmap index 025fce6..89d5b9d 100755 --- a/stretch_funmap/nodes/funmap +++ b/stretch_funmap/nodes/funmap @@ -1381,7 +1381,7 @@ if __name__ == '__main__': parser.add_argument('--load_map', default=None, help='Provide directory from which to load a map.') args, unknown = parser.parse_known_args() - map_filename = args.load_map + map_filename = args.load_map if args.load_map else None node = FunmapNode(map_filename) node.main() rospy.spin()