var licenseKey = require('./license').Key
module.exports = {
  subdomain: 'system',
  accessTokenCookieKey: 'access_token.robotics',
  licenseKey: licenseKey,
  scheduler: {
    /* Name to be used for setting client's "application" properties when registering a schedule */
    application: 'aidoop-r',
    /* Base endpoint to be used for setting "callback" properties when registering a schedule */
    callbackBase: 'http://localhost:3000',
    /* 
        Scheduler service endpoint
        caution) endpoint for "localhost" has some problem. 
        https://github.com/node-fetch/node-fetch/issues/1624
      */
    endpoint: 'http://127.0.0.1:9902'
  },
  vision: {
    streamingPort: 3001,
    camera: {
      cameraCalibrator: {
        program: ['python3', '/app/object-tracker-python/object_tracker/objtracking_entry.py', 'CAMERACALIB']
      },
      handEyeCalibrator: {
        program: ['python3', '/app/object-tracker-python/object_tracker/objtracking_entry.py', 'HANDEYECALIB']
      },
      ROIDetector: {
        program: ['python3', '/app/object-tracker-python/object_tracker/roi_engine.py']
      }
    },
    robotArm: {
      markerOffsetCalibrator: {
        program: ['python3', '/app/object-tracker-python/object_tracker/objecttracking_engine.py']
      }
    },
    objectTracker: {
      program: ['python3', '/app/object-tracker-python/object_tracker/objtracking_entry.py', 'OBJTRACKING']
    }
  }
}
