PerceptualSpace¶
- class mobrob_behcon.core.perceptual_space.PerceptualSpace(visu)[source]¶
The class PerceptualSpace
This contains all sensors of the robot. Other parts of the program can refer to this to get sensor data.
Currently following sensors are supported:
Laserscanner
Egopose sensor
Camera
Methods
__init__(visu)constructor
add_camera([ip_address, port])Add camera (TCP) to the configuration.
add_egopose([ros_topic])Add egopose sensor to the configuration.
add_laserscanner([ros_topic])Add laserscanner to the configuration
Details
- add_camera(ip_address='mobrob', port=5001)[source]¶
Add camera (TCP) to the configuration. A camera server needs to be running on the network for that.
e.g. following:
- Parameters
ip_address (string) – ip address of camera server
port (int) – port of camera server
- Returns
returns nothing