Giter VIP home page Giter VIP logo

spatial-topology-teleoperation's People

Contributors

typingcat avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

spatial-topology-teleoperation's Issues

Local topology extraction history

This feature was developed before this package was created and tested on issue #6. There were two issues and LiDAR-Thinning approach was adopted. Let me introduce the history.

Topology node implementation

There are several ways to implement nodes of graph. I can use hash or existing python modules. Hash is fast, and existing python modules have various functions. Searching and testing are needed to make a decision.

Local topology extraction test

I'd like to test how well it extracts topology. LiDAR publish observations at 12Hz, but it is slower in the topology extraction process. The extraction area is limited to 5m x 5m.

Cannot resolve the import of local python file

Vscode debugger and intellisense have different interpretations of import.

I'd like to separate the graph class into a new file. However, there was a problem in importing a new file from an existing file. The followings are error messages according to the import method.

  • from graph import *
    • Pylance: Import "graph" could not be resolved
    • ROS2: No module named 'graph'
  • from .graph import *
    • Debugger: Attempted relative import with no known parent package

How to merge graphs

The robot should be able to create the topology from the observations to guide users in real time. No building plans or maps are given. Therefore graph merging is an essential function for topology construction. Issue #7 mentioned a valid approach to this problem. I have to embody this approach to code level.

extract_topology_thought_1

How to represent spatial structure

There are 2 suggestions what the spatial structure represents. I think the first one is better.

  1. Every nodes
    • Represent spatial structure directly
    • Heavy
  2. Intersection nodes only
    • Has angles of its legs
    • Light

Rviz markers are unstable

I noticed that rviz doesn't print markers on proper position. This bug can be easily reproduced.

  1. Publish a static marker at (1, 0, 0) in base_footprint.
  2. In rviz, make sure the marker is fixed.
  3. Change frame_id to odom.
  4. You can see that the marker is no longer fixed.

It needs to be solved to extend the topology graph to the global coordinate system.

Need a graph structure

Graph structure is needed to improve topology. Until now, nodes and edges are defined as lists. The list is simple but is not efficient for searching neighbors. The new graph structure is as follows:

  • Undirected Graph
    • Nodes
      • ID
      • Position
      • Linked neighbor nodes
    • Functions

Note that markers are not included in the graph class. Only essential members are included such as searching, traversal.

Need graph visualization tool

Better visualization tool is required to do more complex experiments.

Visualization tool for this project should be able to plot graphs over time. Python module plotly supports animation tools, and it requires accumulated data. I tried accumulating data of test #13, but it's too large to fit into the list.

Clustering intersections

Test #13 showed the possibility of the clustering approach. However, the current structure trains a new clustering model every time for the last 30 samples. Even there are no intersection angle. It need to be improved.

Intersection extraction test

This test is a extension of issue #6.

Previous test shows the performance of the topology extraction computation. On the other hand, the concern of this issue is whether to extract intersections well. Following is the dataset to be used for testing. My robot was moving through the hall for a minute to collect the topology. There are 5 intersections.

newplot

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.