Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start up error when waypoint's name is pure numbers #462

Open
mbb1234567890 opened this issue Apr 10, 2023 · 0 comments
Open

Start up error when waypoint's name is pure numbers #462

mbb1234567890 opened this issue Apr 10, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@mbb1234567890
Copy link

Bug report

Start up rmf_demo error, because of waypoint's name has pure numbers

Required information:

  • Operating system and version:
    • Ubuntu 20.04
  • OpenRMF installation type:
    • From source
  • OpenRMF version or commit hash
  • ROS distribution and version:
    • rolling
  • ROS installation type:
    • binaries
  • Package or library, if applicable:

Description of the bug

[fleet_adapter-14] 2023-04-10 17:37:24.539 line526 INFO config_path=/home/bing/rmf_galactic/install/rmf_demos/share/rmf_demos/config/fangshan/harixRobot_config.yaml, nav_graph=/home/bing/rmf_galactic/install/rmf_demos_maps/share/rmf_demos_maps/maps/fangshan/nav_graphs/0.yaml, user_sime_time=False, graph_build_file_path=/home/bing/rmf_galactic/install/rmf_demos_maps/share/rmf_demos_maps/fangshan/fangshan.building.yaml
[building_map_server-3] [INFO] [1681119444.562163742] [building_map_server]: loading map path: /home/bing/rmf_galactic/install/rmf_demos_maps/share/rmf_demos_maps/fangshan/fangshan.building.yaml
[building_map_server-3] [INFO] [1681119444.570400415] [building_map_server]: opening: /home/bing/rmf_galactic/install/rmf_demos_maps/share/rmf_demos_maps/fangshan/fangshan.png
[building_map_server-3] [INFO] [1681119444.571744718] [building_map_server]: read 15945 byte image
[building_map_server-3] Traceback (most recent call last):
[building_map_server-3] File "/home/bing/rmf_galactic/install/rmf_building_map_tools/lib/rmf_building_map_tools/building_map_server", line 11, in
[building_map_server-3] load_entry_point('rmf-building-map-tools==1.6.0', 'console_scripts', 'building_map_server')()
[building_map_server-3] File "/home/bing/rmf_galactic/install/rmf_building_map_tools/lib/python3.8/site-packages/building_map_server/building_map_server.py", line 339, in main
[building_map_server-3] n = BuildingMapServer(map_path)
[building_map_server-3] File "/home/bing/rmf_galactic/install/rmf_building_map_tools/lib/python3.8/site-packages/building_map_server/building_map_server.py", line 49, in init
[building_map_server-3] self.load_building_yaml(map_path)
[building_map_server-3] File "/home/bing/rmf_galactic/install/rmf_building_map_tools/lib/python3.8/site-packages/building_map_server/building_map_server.py", line 87, in load_building_yaml
[building_map_server-3] self.create_map_msg(building)
[building_map_server-3] File "/home/bing/rmf_galactic/install/rmf_building_map_tools/lib/python3.8/site-packages/building_map_server/building_map_server.py", line 105, in create_map_msg
[building_map_server-3] self.map_msg.levels.append(self.level_msg(level_data))
[building_map_server-3] File "/home/bing/rmf_galactic/install/rmf_building_map_tools/lib/python3.8/site-packages/building_map_server/building_map_server.py", line 251, in level_msg
[building_map_server-3] gn.name = v[2]['name']
[building_map_server-3] File "/home/bing/rmf_galactic/install/rmf_building_map_msgs/lib/python3.8/site-packages/rmf_building_map_msgs/msg/_graph_node.py", line 173, in name
[building_map_server-3] assert
[building_map_server-3] AssertionError: The 'name' field must be of type 'str'

Steps to reproduce the bug

image

Expected behavior

Actual behavior

Screenshots

image

Additional information

@mbb1234567890 mbb1234567890 added the bug Something isn't working label Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant