C
C#2mo ago
GODEATER

Visualization of obstacles

I have a robot position and obstacles detected by it, these are generated in logfile every second like this
2024/10/31 18:08:20.971==>TopModule[13584]/57_SpeedControl.cs[742,ObstacleDistanceUpdate]_Now Position x[-21.1411003632192], y[13.2018284811866]

2024/10/31 18:08:20.972==>TopModule[13584]/57_SpeedControl.cs[749,ObstacleDistanceUpdate]_map obs x1[-22.3777363307458], x2[-21.9942424720673], y1[10.0105095383388], y2[10.2344709057256]

...more obstacle position
2024/10/31 18:08:20.971==>TopModule[13584]/57_SpeedControl.cs[742,ObstacleDistanceUpdate]_Now Position x[-21.1411003632192], y[13.2018284811866]

2024/10/31 18:08:20.972==>TopModule[13584]/57_SpeedControl.cs[749,ObstacleDistanceUpdate]_map obs x1[-22.3777363307458], x2[-21.9942424720673], y1[10.0105095383388], y2[10.2344709057256]

...more obstacle position
whats a good way to visualize it like I wanna show moving xy of robot with obstacle surrounding it. as I am on mac I cannot use wpf what are the options here?
2 Replies
HtmlCompiler
HtmlCompiler2mo ago
i am tempted to say matlab it's a bit unclear what you mean by visualization is this 2d? you want like a canvas where to draw the environment?
GODEATER
GODEATEROP2mo ago
yes in 2d
Want results from more Discord servers?
Add your server