
# Desc: Player sample configuration file for controlling Stage devices
# Author:  Richard Vaughan
# Date: 1 December 2004

# CVS: $Id: simple.cfg,v 1.35 2008-01-15 01:25:42 rtv Exp $


# load the Stage plugin simulation driver
driver
(		
  name "stage"
  provides [ "simulation:0" ]
  plugin "libstageplugin"

  # load the named file into the simulator
  worldfile "romaalasersick200.world"	
)

# Create a Stage driver and attach position2d to the model "romaarobot"
driver
( 
  name "stage"
  provides [ "position2d:0" ]
  model "romaarobot" 
)

driver
(
 name "camerav4l"
 provides ["camera:0"]
# source 0
 alwayson 1
# size [640 480]
 size [320 240]
 mode "RGB888"
	alwayson 1
)

# Log data from camera:0 position2d:0 to "/home/data/logs/mydata_YYYY_MM_DD_HH_MM_SS.log"
driver
(
	name "writelog"
	log_directory "/home/gfpp"
	basename "playerlog"
	requires ["camera:0" "position2d:0"]
	provides ["log:0"]
	camera_save_images 1
	camera_log_images 0
	alwayson 1
	autorecord 0
)

