TypingCat / spatial-topology-teleoperation

Teleoperation for Mobile Robot using Semantics
GNU General Public License v3.0
4 stars 0 forks source link

Need graph visualization tool #16

Closed TypingCat closed 3 years ago

TypingCat commented 3 years ago

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.

TypingCat commented 3 years ago

The limit of the data type list is to accumulate 24 samples. It's difficult to show all(=312) samples at once in plotly animation. Therefore, the goal was changed to show the last 30 samples. Use queue instead of accumulating samples.

TypingCat commented 3 years ago

Succeeded in drawing the animation graph. See the graph below. The blue lines show the last 30 local topologies, and the red circle shows the position of the robot. It can adjust the time by moving the slide, and can check the coordinates by hovering the mouse.

show_graph_animation

TypingCat commented 3 years ago

Visualization process was modularized in commit a1c295b4a722fece6683719ea66eb1c8d5ba8cfc.