Skip to content

[FEAT]: Topological Map Structure #203

@Iranaphor

Description

@Iranaphor

Description

I have opened this as a forum on redefining the exlicit structure of the topological map.

This is to encompass both the method of defining the map (json schema, ros2 msg), and the content to be contained within. Below is a short sample of the currently active topological map.

meta:
  last_updated: 2022-06-23_13-10-11
metric_map: riseholme
name: strawberry_polytunnel
nodes:
- meta:
    map: riseholme
    node: WayPoint140
    pointset: riseholme_restrict
  node:
    edges:
    - action: NavigateToPose
      action_type: geometry_msgs/PoseStamped
      config: []
      edge_id: WayPoint140_WayPoint74
      fail_policy: fail
      fluid_navigation: true
      goal:
        target_pose:
          header:
            frame_id: $node.parent_frame
          pose: $node.pose
      node: WayPoint74
      recovery_behaviours_config: ''
      restrictions_planning: 'True'
      restrictions_runtime: obstacleFree_1
    - action: NavigateToPose
      action_type: geometry_msgs/PoseStamped
      config: []
      edge_id: WayPoint140_WayPoint141
      fail_policy: fail
      fluid_navigation: true
      goal:
        target_pose:
          header:
            frame_id: $node.parent_frame
          pose: $node.pose
      node: WayPoint141
      recovery_behaviours_config: ''
      restrictions_planning: 'True'
      restrictions_runtime: obstacleFree_1
    - action: NavigateToPose
      action_type: geometry_msgs/PoseStamped
      config: []
      edge_id: WayPoint140_WayPoint142
      fail_policy: fail
      fluid_navigation: true
      goal:
        target_pose:
          header:
            frame_id: $node.parent_frame
          pose: $node.pose
      node: WayPoint142
      recovery_behaviours_config: ''
      restrictions_planning: 'True'
      restrictions_runtime: obstacleFree_1
    localise_by_topic: ''
    name: WayPoint140
    parent_frame: map
    pose:
      orientation:
        w: 0.7897749049165983
        x: 0.0
        y: 0.0
        z: -0.6133967717260812
      position:
        x: 20.7508434296
        y: -4.37950954437
        z: 0.0
    properties:
      xy_goal_tolerance: 0.3
      yaw_goal_tolerance: 0.1
    restrictions_planning: 'True'
    restrictions_runtime: obstacleFree_1
    verts:
    - x: -0.389276951551
      y: 0.63791257143
    - x: -0.725811064243
      y: 0.177953019738
    - x: -0.63791257143
      y: -0.389276951551
    - x: -0.177953019738
      y: -0.725811064243
    - x: 0.389276951551
      y: -0.63791257143
    - x: 0.725811064243
      y: -0.177953019738
    - x: 0.63791257143
      y: 0.389276951551
    - x: 0.177953019738
      y: 0.725811064243
- meta:
    map: riseholme
    node: WayPoint141
    pointset: riseholme_restrict
  node:
    edges:
    - action: NavigateToPose
      action_type: geometry_msgs/PoseStamped
      config: []
      edge_id: WayPoint141_WayPoint73
      fail_policy: fail
      fluid_navigation: true
      goal:
        target_pose:
          header:
            frame_id: $node.parent_frame
          pose: $node.pose
      node: WayPoint73
      recovery_behaviours_config: ''
      restrictions_planning: 'True'
      restrictions_runtime: obstacleFree_1
    - action: NavigateToPose
      action_type: geometry_msgs/PoseStamped
      config: []
      edge_id: WayPoint141_WayPoint140
      fail_policy: fail
      fluid_navigation: true
      goal:
        target_pose:
          header:
            frame_id: $node.parent_frame
          pose: $node.pose
      node: WayPoint140
      recovery_behaviours_config: ''
      restrictions_planning: 'True'
      restrictions_runtime: obstacleFree_1
    - action: NavigateToPose
      action_type: geometry_msgs/PoseStamped
      config: []
      edge_id: WayPoint141_WayPoint144
      fail_policy: fail
      fluid_navigation: true
      goal:
        target_pose:
          header:
            frame_id: $node.parent_frame
          pose: $node.pose
      node: WayPoint144
      recovery_behaviours_config: ''
      restrictions_planning: 'True'
      restrictions_runtime: 'True'
    localise_by_topic: ''
    name: WayPoint141
    parent_frame: map
    pose:
      orientation:
        w: 0.8029703158157347
        x: 0.0
        y: 0.0
        z: -0.5960190197626072
      position:
        x: 23.3039474487
        y: -3.95409524918
        z: 0.0
    properties:
      xy_goal_tolerance: 0.3
      yaw_goal_tolerance: 0.1
    restrictions_planning: 'True'
    restrictions_runtime: obstacleFree_1
    verts:
    - x: -0.389276951551
      y: 0.63791257143
    - x: -0.725811064243
      y: 0.177953019738
    - x: -0.63791257143
      y: -0.389276951551
    - x: -0.177953019738
      y: -0.725811064243
    - x: 0.389276951551
      y: -0.63791257143
    - x: 0.725811064243
      y: -0.177953019738
    - x: 0.63791257143
      y: 0.389276951551
    - x: 0.177953019738
      y: 0.725811064243

Additional Information

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions