This repository serves for simulation environment of the optimization algorithms w.r.t the sensor placement.
In one word, this optimization problem could be defined as how to use the minimal number or cheapest sensor sets to ensure a best safety criteria. In the current version, we define the safety situation, when the black dots near the robot are covered by the sensor set, as the image bellow shows.
In the current version, we defined three different types of sensors: Laser, Mat and Fence.
- Parameters: Position, angle resolution, frame rate, detection range (distance and angle range)
- Function: Detect worker's position when the worker moves in its' range.
- Parameters: Length, width, position
- Function: Reflect the human motion's direction.
- Parameters: Position, length, width
- Function: Detect worker's position when the worker directly on its' surface.
- One industrial robot in the centre of working space, fully extended with maximal range.
- One worker walks randomly in the environment.
- When the worker is inside the sensor's detection range, the detection result will be visualized.
- run simulator_with_factory for randomly generate the sensors in working area and the optimal configuration will be visualized.
- run simulator only for demo
- Combined with cost function to get the optimal solution w.r.t different criteria.
imageio==2.6.1
numpy==1.16.4
matplotlib==3.1.0
shapely==1.6.4
- Use @staticmethod for a clean class structure.
- Use 'raise NotImplementedError' in the Base class.
- Use Factory method for multiple object.
- **dict or *list to get single respondent value.
- Write unit test for stable and convenient test.