Decapod 0.7 Cherrypy Server Configuration

Table of Contents

Calibrate server

The config file: decapod-server/calibrate/config/calibrateServer.conf

config

Description

Accepted Values

Default Value

server.socket_port

Declares the TCP port which the calibrate server listens to.

Any TCP port value

8080

server.max_request_body_size

The maximum size of an uploaded file.

A number in byte

0: Unlimited

Capture server

The config file: decapod-server/capture/config/captureServer.conf

config

Description

Accepted Values

Default Value

server.socket_port

Declares the TCP port which the capture server listens to.

Any TCP port values

8081

app_opts.general.testmode

Turn on/off the test mode.

Turning on the test mode enables the capture server to work without the camera(s), in this case, the capture server returns the mock data.

True or False

False: Turn off the test mode

app_opts.general.multiCapture

The method to control multiple cameras.

simultaneousCapture: Cameras take pictures at the same time.

sequentialCapture: Cameras take picture one after another.

simultaneousCapture

app_opts.general.delay

The number of seconds that the capture server waits for the "simultaneousCapture" mode to return the captures. Once the given delay is exceeded, the capture method is automatically switched to sequentialCapture; which will be used for all subsequent captures.

This value should be adjusted based on the camera's response time. Increase this value for cameras that take longer to respond.

A number in seconds

10

app_opts.general.interval

Used in conjunction with app_opts.general.delay at simultaneousCapture mode. The number of interval seconds to check whether the captures are received.

A number in seconds

1

Dewarp server

The config file: decapod-server/dewarp/config/dewarpServer.conf

config

Description

Accepted Values

Default Value

server.socket_port

Declares the TCP port which the dewarp server listens to.

Any TCP port value

8082

server.max_request_body_size

The maximum size of an uploaded file.

A number in byte

0: Unlimited

Export server

The config file: decapod-server/export/config/exportServer.conf

config

Description

Accepted Values

Default Value

server.socket_port

Declares the TCP port which the export server listens to.

Any TCP port value

8083