Skip to content

Conversation

arsh09
Copy link
Contributor

@arsh09 arsh09 commented Apr 29, 2025

…safe laoders using yaml

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update

Description

This PR is an extension of #199 and use the consistent yaml package instead of a mix of yaml and json to load the topolological_map_2 from topic subscription or local map file. It utilises CustomYamlLoader to make sure each x, y, z and w fields are in float instead of int otherwise geometry_msgs complain about it.

Ideally, these loaders can be used to verify the formatting of nodes and edges or overall topological_map.

Related Tickets & Documents

  • Related Issue #
  • Closes #

QA Instructions, Screenshots, Recordings

Please replace this line with instructions on how to test your changes.

[optional] Are there any post deployment tasks we need to perform?

ibrahimhroob and others added 17 commits July 19, 2024 08:43
adding row operation action
setting pd params for planner
* Added toponap edit tool 

This Python script provides a graphical interface for editing a topological map stored in a YAML file. Using `tkinter` and `matplotlib`, users can interactively edit node attributes (position, orientation, properties), scale polygons, and globally update node names. The script allows for quaternion-to-yaw conversions and provides save and scale functionalities for adjusting polygon sizes. Node edges and positions are visually represented, and users can easily edit node details by clicking on them

* Poop topo nodes (#187)

* Add manual population node for topological navigation nodes [ROS2]

* adding launch file

* Update test_navigationcore.py - increase test timeout

---------

Co-authored-by: Marc Hanheide <[email protected]>

* added an initial schema (#196)

* added an initial schema

* changed additional properties

* allow top-level optional elements like transformation

* parameters shouldn't use ~ (#197)

this fixes it.

* Updating the topological map visualization when the map topic gets update. (#199)

* using custom safe loader to load the topo map string. This avoids the float-type error in ROS2 for pose.x|y|z and orientaton.w|x|y|z.

* updating the topological_map_visualisation on the topological_map_2 subscriber callback so rviz2 viz updates properly.

---------

Co-authored-by: Marc Hanheide <[email protected]>
Co-authored-by: Muhammad Arshad Khan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants