The user interface uses wxPython to create a form and the corresponding canvas to draw data on the form. It can also save maps, for which we use PIL, the Python Imaging Library.
Note
wxPython Website: http://www.wxpython.org/
Note
PIL website: http://www.pythonware.com/products/pil/
The user interface visualizes the sensor data and allows the user to control the robot through the WSAD keys.
The laser components accepts the following commands:
- LASER: Data points from the laser component.
- SONAR: Data points from the sonar component.
- CORNERS: Detected corner points from the position component.
- RANSAC: Lines found by wall detection from the position component.
- MAP: Map bitmap from the map component.
- POS: Estimated position from the position component.
Implements the networking part of the GUI component
GUI implementation in wxWidgets