SuhrudhSarathy / xiron

A light weight 2D robot simulator written in Rust
https://suhrudhsarathy.github.io/xiron/
MIT License
4 stars 0 forks source link

Add support to load environments using an Occupancy Map #2

Closed SuhrudhSarathy closed 1 year ago

SuhrudhSarathy commented 1 year ago

Loading environments with an Occupancy Map (.pgm) is useful to make it compatible with already generated environments.

SuhrudhSarathy commented 1 year ago

Closing this issue as this does not help the use case. Occupancy grid map is a processed state of the world and not the world itself. Hence using an Occupancy grid to model the world will not be the right way a simulator should work.

The support for this feature will be provided in the world editor. An image can be loaded which can then be used as a reference for building the simulation world. Doing this has the following benefits:

  1. Generalised to any diagram of the environment.
  2. No change in the collision checking pipeline.