loading

Default Variables

Several default variables are added once the pipeline begins execution that hold information valid for the current instance of RoboRealm running.

CAMERA_NAME - the name of the usb/VFW/DirectX camera that you are currently connected to
CAMERA_PATH - the usb device path of the camera that you are currently connected to
CLOCK_TIME - the current time in seconds
CLOCK_MILLI - the current time in milli-seconds for higher resolution timing
CLOCK_DATETIME - the current date and time
RUN_TIME - the number of fractional seconds since the pipeline started executing
IMAGE_PATH - the current path/name of the currently loaded image (assumes webcam is not active)
IMAGE_FILENAME - the current image filename loaded
IMAGE_LABEL - the current image filename loaded without the extension
IMAGE_COUNT - the captured image count or number of frames before being processed
IMAGE_WIDTH - the current image width (note some modules like Scale will change this)
IMAGE_HEIGHT - the current height of the image
IMAGE_PROCESSED - the captured image count or number of frames after being processed
IMAGE_TIME - the time that the image was captured
IMAGE_DATETIME - the date and time that the image was captured
FPS - the current Frames Per Second being processed
POWER_DEVICE - either "AC" or "BATTERY" which indicates if your laptop is on AC or Battery
  power
POWER_CHARGE - either "HIGH", "LOW", "CRITICAL", or "CHARGING"
POWER_LIFE_PERCENT - 0 to 100 value that indicates how charged your battery is
POWER_LIFE_TIME - estimated number of seconds of battery life left
PROCESS_TIME - number of milliseconds the last image frame took to be
  processed (in increments of 16 milliseconds).
ROBO_PATH - the current path/name of the currently loaded robofile (RoboRealm configuration)
ROBO_FILENAME - the current robofile loaded (label with extension)
ROBO_LABEL - the current robofile loaded minus the .robo extension
SYSTEM_ERROR - present when an error has just occured in the system. This variable is
	cleared on each pipeline cycle.
LAST_MODULE_TIME - number of milliseconds the last module took to be
  processed (in increments of 16 milliseconds).
LAST_SYSTEM_ERROR - the last error that was recorded by the system and is NOT cleared
	as SYSTEM_ERROR is.
LAST_SYSTEM_ERROR_TIME - the last time the system error was set in seconds.
LAST_SYSTEM_ERROR_COUNT - the error count that is incremented on each error
LAST_SYSTEM_ERROR_MODULE - the module that caused the error (if appropriate)
LAST_SYSTEM_ERROR_LINE - the line number of the module that caused the error (if appropriate)
LAST_SYSTEM_ERROR_TAB - the tab that contains the module that caused the error (if appropriate)
MOUSE_CLICK - "1" when the mouse is clicked otherwise "0". Note this only happens when the mouse
	is initially clicked and will become zero even if the mouse is still pressed. It can be
	directly used in a If Statement to activate something only when the users clicks.
MOUSE_CLICK_X - the X coordinate of where the user mouse last clicked on main image preview
MOUSE_CLICK_Y - the Y coordinate of where the user mouse last clicked on main image preview
MOUSE_CLICK_TIME - the time (seconds) of the last user click
VERSION - the current version of RoboRealm running
WIRELESS_STRENGTH - the strength of your current wireless connection. Ranges from 0 to 100.
WEBSERVER_ACTIVE_CONNECTIONS - the number of active webserver connections