summaryrefslogtreecommitdiff
path: root/murl/world/__init__.py
blob: 254a0f65fa4733744e7c075c4b8e37d84d906c28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from abc import ABC, abstractmethod

class World(ABC):
    ROBOT_RADIUS = 0.105 / 2.
    @abstractmethod
    def is_valid(self, pose):
        raise NotImplementedError

    @abstractmethod
    def get_dist(self, sources, angles):
        raise NotImplementedError

    @abstractmethod
    def sample(self, particles):
        raise NotImplementedError