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()