User Tools

Site Tools


code:queues

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
code:queues [2011/01/15 20:36] – more in-depth note about queue modes pkubanekcode:queues [Unknown date] (current) – external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
 ====== Queue modes ====== ====== Queue modes ======
  
-RTS2 uses queue to facilitate both human-in-the-loop and autonomous scheduling. Multiple queues can be created in selector, and single queue is available in executor. New targets can be added to the queue with //queue// or //queue_at// command. //queue_at// allows users to specify time constraints - from when to when can be the target scheduled. The queue mode can be changed by changing _mode variable between:+RTS2 uses queue to facilitate both human-in-the-loop and autonomous scheduling. Multiple queues can be created in selector, and single queue is available in executor. New targets can be added to the queue with //queue// or //queue_at// command. //queue_at// allows users to specify time constraints - from when to when can be the target scheduled. Each queue has variables describing either what is available in the queue or how will the queue behave. There are //_mode// and //_skip_bellow// values. Start and end variables describes specific time constraints. 
 + 
 +The queue mode can be changed by changing _mode variable between:
  
   * **FIFO** //(for First-In-First-Out)// in this mode the first target is removed from the queue, executed and then the next one is selected. Assuming you selected **FIFO** mode and queue targets with IDs 1003, 1002, 1001 and 1000, then 1003 will be once observed, then 1002, then 1001, and then 1000. 1000 will remain as the last target and will be observed until observatory circumstances (weather, sun position) allow observations.   * **FIFO** //(for First-In-First-Out)// in this mode the first target is removed from the queue, executed and then the next one is selected. Assuming you selected **FIFO** mode and queue targets with IDs 1003, 1002, 1001 and 1000, then 1003 will be once observed, then 1002, then 1001, and then 1000. 1000 will remain as the last target and will be observed until observatory circumstances (weather, sun position) allow observations.
Line 8: Line 10:
   * **WESTEAST** in this mode target are selected from west to east, so the one which set early are observed as the first.   * **WESTEAST** in this mode target are selected from west to east, so the one which set early are observed as the first.
  
 +Queue mode describes how the targets will be ordered in the queue, and what will happen if the target is observed.
code/queues.1295120180.txt.gz · Last modified: 2011/01/15 00:00 (external edit)